@aceplus/smartace-api 2.7.0-alpha.1 → 2.8.0-mateusz-adminActivation.1

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.
@@ -31,7 +31,9 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
31
31
  goog.object.extend(proto, google_protobuf_empty_pb);
32
32
  goog.exportSymbol('proto.Auth.AccountProto', null, global);
33
33
  goog.exportSymbol('proto.Auth.AccountProto.AccountClusterRoleRequest', null, global);
34
+ goog.exportSymbol('proto.Auth.AccountProto.AccountsActivationStatuses', null, global);
34
35
  goog.exportSymbol('proto.Auth.AccountProto.ActivateAccountRequest', null, global);
36
+ goog.exportSymbol('proto.Auth.AccountProto.ActivationStatuses', null, global);
35
37
  goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordReply', null, global);
36
38
  goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordRequest', null, global);
37
39
  goog.exportSymbol('proto.Auth.AccountProto.CreateAdminRequest', null, global);
@@ -39,6 +41,9 @@ goog.exportSymbol('proto.Auth.AccountProto.CreateAppRequest', null, global);
39
41
  goog.exportSymbol('proto.Auth.AccountProto.DeleteReply', null, global);
40
42
  goog.exportSymbol('proto.Auth.AccountProto.DeleteRequest', null, global);
41
43
  goog.exportSymbol('proto.Auth.AccountProto.ForgotPasswordRequest', null, global);
44
+ goog.exportSymbol('proto.Auth.AccountProto.ResendInvitationRequest', null, global);
45
+ goog.exportSymbol('proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply', null, global);
46
+ goog.exportSymbol('proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest', null, global);
42
47
  goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoReply', null, global);
43
48
  goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoRequest', null, global);
44
49
  goog.exportSymbol('proto.Auth.AccountProto.RetrieveRequest', null, global);
@@ -470,6 +475,90 @@ if (goog.DEBUG && !COMPILED) {
470
475
  */
471
476
  proto.Auth.AccountProto.AccountClusterRoleRequest.displayName = 'proto.Auth.AccountProto.AccountClusterRoleRequest';
472
477
  }
478
+ /**
479
+ * Generated by JsPbCodeGenerator.
480
+ * @param {Array=} opt_data Optional initial data array, typically from a
481
+ * server response, or constructed directly in Javascript. The array is used
482
+ * in place and becomes part of the constructed object. It is not cloned.
483
+ * If no data is provided, the constructed object will be empty, but still
484
+ * valid.
485
+ * @extends {jspb.Message}
486
+ * @constructor
487
+ */
488
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest = function(opt_data) {
489
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.repeatedFields_, null);
490
+ };
491
+ goog.inherits(proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest, jspb.Message);
492
+ if (goog.DEBUG && !COMPILED) {
493
+ /**
494
+ * @public
495
+ * @override
496
+ */
497
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.displayName = 'proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest';
498
+ }
499
+ /**
500
+ * Generated by JsPbCodeGenerator.
501
+ * @param {Array=} opt_data Optional initial data array, typically from a
502
+ * server response, or constructed directly in Javascript. The array is used
503
+ * in place and becomes part of the constructed object. It is not cloned.
504
+ * If no data is provided, the constructed object will be empty, but still
505
+ * valid.
506
+ * @extends {jspb.Message}
507
+ * @constructor
508
+ */
509
+ proto.Auth.AccountProto.AccountsActivationStatuses = function(opt_data) {
510
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
511
+ };
512
+ goog.inherits(proto.Auth.AccountProto.AccountsActivationStatuses, jspb.Message);
513
+ if (goog.DEBUG && !COMPILED) {
514
+ /**
515
+ * @public
516
+ * @override
517
+ */
518
+ proto.Auth.AccountProto.AccountsActivationStatuses.displayName = 'proto.Auth.AccountProto.AccountsActivationStatuses';
519
+ }
520
+ /**
521
+ * Generated by JsPbCodeGenerator.
522
+ * @param {Array=} opt_data Optional initial data array, typically from a
523
+ * server response, or constructed directly in Javascript. The array is used
524
+ * in place and becomes part of the constructed object. It is not cloned.
525
+ * If no data is provided, the constructed object will be empty, but still
526
+ * valid.
527
+ * @extends {jspb.Message}
528
+ * @constructor
529
+ */
530
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply = function(opt_data) {
531
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.repeatedFields_, null);
532
+ };
533
+ goog.inherits(proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply, jspb.Message);
534
+ if (goog.DEBUG && !COMPILED) {
535
+ /**
536
+ * @public
537
+ * @override
538
+ */
539
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.displayName = 'proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply';
540
+ }
541
+ /**
542
+ * Generated by JsPbCodeGenerator.
543
+ * @param {Array=} opt_data Optional initial data array, typically from a
544
+ * server response, or constructed directly in Javascript. The array is used
545
+ * in place and becomes part of the constructed object. It is not cloned.
546
+ * If no data is provided, the constructed object will be empty, but still
547
+ * valid.
548
+ * @extends {jspb.Message}
549
+ * @constructor
550
+ */
551
+ proto.Auth.AccountProto.ResendInvitationRequest = function(opt_data) {
552
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
553
+ };
554
+ goog.inherits(proto.Auth.AccountProto.ResendInvitationRequest, jspb.Message);
555
+ if (goog.DEBUG && !COMPILED) {
556
+ /**
557
+ * @public
558
+ * @override
559
+ */
560
+ proto.Auth.AccountProto.ResendInvitationRequest.displayName = 'proto.Auth.AccountProto.ResendInvitationRequest';
561
+ }
473
562
 
474
563
 
475
564
 
@@ -508,7 +597,8 @@ proto.Auth.AccountProto.toObject = function(includeInstance, msg) {
508
597
  firstName: jspb.Message.getFieldWithDefault(msg, 4, ""),
509
598
  lastName: jspb.Message.getFieldWithDefault(msg, 5, ""),
510
599
  locale: jspb.Message.getFieldWithDefault(msg, 6, ""),
511
- company: jspb.Message.getFieldWithDefault(msg, 7, "")
600
+ company: jspb.Message.getFieldWithDefault(msg, 7, ""),
601
+ active: jspb.Message.getFieldWithDefault(msg, 8, "")
512
602
  };
513
603
 
514
604
  if (includeInstance) {
@@ -573,6 +663,10 @@ proto.Auth.AccountProto.deserializeBinaryFromReader = function(msg, reader) {
573
663
  var value = /** @type {string} */ (reader.readString());
574
664
  msg.setCompany(value);
575
665
  break;
666
+ case 8:
667
+ var value = /** @type {string} */ (reader.readString());
668
+ msg.setActive(value);
669
+ break;
576
670
  default:
577
671
  reader.skipField();
578
672
  break;
@@ -651,6 +745,13 @@ proto.Auth.AccountProto.serializeBinaryToWriter = function(message, writer) {
651
745
  f
652
746
  );
653
747
  }
748
+ f = message.getActive();
749
+ if (f.length > 0) {
750
+ writer.writeString(
751
+ 8,
752
+ f
753
+ );
754
+ }
654
755
  };
655
756
 
656
757
 
@@ -667,6 +768,15 @@ proto.Auth.AccountProto.Roles = {
667
768
  DRUM_TRACKER_VIEW_ALL: 6
668
769
  };
669
770
 
771
+ /**
772
+ * @enum {number}
773
+ */
774
+ proto.Auth.AccountProto.ActivationStatuses = {
775
+ ACTIVATED: 0,
776
+ PENDING: 1,
777
+ EXPIRED: 2
778
+ };
779
+
670
780
 
671
781
 
672
782
 
@@ -4101,129 +4211,755 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setRole = function(v
4101
4211
  };
4102
4212
 
4103
4213
 
4214
+
4104
4215
  /**
4105
- * optional int64 id = 1;
4106
- * @return {number}
4216
+ * List of repeated fields within this message type.
4217
+ * @private {!Array<number>}
4218
+ * @const
4107
4219
  */
4108
- proto.Auth.AccountProto.prototype.getId = function() {
4109
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4220
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.repeatedFields_ = [1];
4221
+
4222
+
4223
+
4224
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4225
+ /**
4226
+ * Creates an object representation of this proto.
4227
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4228
+ * Optional fields that are not set will be set to undefined.
4229
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4230
+ * For the list of reserved names please see:
4231
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4232
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4233
+ * JSPB instance for transitional soy proto support:
4234
+ * http://goto/soy-param-migration
4235
+ * @return {!Object}
4236
+ */
4237
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.toObject = function(opt_includeInstance) {
4238
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.toObject(opt_includeInstance, this);
4110
4239
  };
4111
4240
 
4112
4241
 
4113
4242
  /**
4114
- * @param {number} value
4115
- * @return {!proto.Auth.AccountProto} returns this
4243
+ * Static version of the {@see toObject} method.
4244
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4245
+ * the JSPB instance for transitional soy proto support:
4246
+ * http://goto/soy-param-migration
4247
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} msg The msg instance to transform.
4248
+ * @return {!Object}
4249
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4116
4250
  */
4117
- proto.Auth.AccountProto.prototype.setId = function(value) {
4118
- return jspb.Message.setProto3IntField(this, 1, value);
4251
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.toObject = function(includeInstance, msg) {
4252
+ var f, obj = {
4253
+ idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
4254
+ };
4255
+
4256
+ if (includeInstance) {
4257
+ obj.$jspbMessageInstance = msg;
4258
+ }
4259
+ return obj;
4119
4260
  };
4261
+ }
4120
4262
 
4121
4263
 
4122
4264
  /**
4123
- * optional string email = 2;
4124
- * @return {string}
4265
+ * Deserializes binary data (in protobuf wire format).
4266
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4267
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest}
4125
4268
  */
4126
- proto.Auth.AccountProto.prototype.getEmail = function() {
4127
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4269
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinary = function(bytes) {
4270
+ var reader = new jspb.BinaryReader(bytes);
4271
+ var msg = new proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest;
4272
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinaryFromReader(msg, reader);
4128
4273
  };
4129
4274
 
4130
4275
 
4131
4276
  /**
4132
- * @param {string} value
4133
- * @return {!proto.Auth.AccountProto} returns this
4277
+ * Deserializes binary data (in protobuf wire format) from the
4278
+ * given reader into the given message object.
4279
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} msg The message object to deserialize into.
4280
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4281
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest}
4134
4282
  */
4135
- proto.Auth.AccountProto.prototype.setEmail = function(value) {
4136
- return jspb.Message.setProto3StringField(this, 2, value);
4283
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.deserializeBinaryFromReader = function(msg, reader) {
4284
+ while (reader.nextField()) {
4285
+ if (reader.isEndGroup()) {
4286
+ break;
4287
+ }
4288
+ var field = reader.getFieldNumber();
4289
+ switch (field) {
4290
+ case 1:
4291
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
4292
+ for (var i = 0; i < values.length; i++) {
4293
+ msg.addIds(values[i]);
4294
+ }
4295
+ break;
4296
+ default:
4297
+ reader.skipField();
4298
+ break;
4299
+ }
4300
+ }
4301
+ return msg;
4137
4302
  };
4138
4303
 
4139
4304
 
4140
4305
  /**
4141
- * optional string phone = 3;
4142
- * @return {string}
4306
+ * Serializes the message to binary data (in protobuf wire format).
4307
+ * @return {!Uint8Array}
4143
4308
  */
4144
- proto.Auth.AccountProto.prototype.getPhone = function() {
4145
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4309
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.serializeBinary = function() {
4310
+ var writer = new jspb.BinaryWriter();
4311
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.serializeBinaryToWriter(this, writer);
4312
+ return writer.getResultBuffer();
4146
4313
  };
4147
4314
 
4148
4315
 
4149
4316
  /**
4150
- * @param {string} value
4151
- * @return {!proto.Auth.AccountProto} returns this
4317
+ * Serializes the given message to binary data (in protobuf wire
4318
+ * format), writing to the given BinaryWriter.
4319
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} message
4320
+ * @param {!jspb.BinaryWriter} writer
4321
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4152
4322
  */
4153
- proto.Auth.AccountProto.prototype.setPhone = function(value) {
4154
- return jspb.Message.setProto3StringField(this, 3, value);
4323
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.serializeBinaryToWriter = function(message, writer) {
4324
+ var f = undefined;
4325
+ f = message.getIdsList();
4326
+ if (f.length > 0) {
4327
+ writer.writePackedInt64(
4328
+ 1,
4329
+ f
4330
+ );
4331
+ }
4155
4332
  };
4156
4333
 
4157
4334
 
4158
4335
  /**
4159
- * optional string first_name = 4;
4160
- * @return {string}
4336
+ * repeated int64 ids = 1;
4337
+ * @return {!Array<number>}
4161
4338
  */
4162
- proto.Auth.AccountProto.prototype.getFirstName = function() {
4163
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4339
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.getIdsList = function() {
4340
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
4164
4341
  };
4165
4342
 
4166
4343
 
4167
4344
  /**
4168
- * @param {string} value
4169
- * @return {!proto.Auth.AccountProto} returns this
4345
+ * @param {!Array<number>} value
4346
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
4170
4347
  */
4171
- proto.Auth.AccountProto.prototype.setFirstName = function(value) {
4172
- return jspb.Message.setProto3StringField(this, 4, value);
4348
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.setIdsList = function(value) {
4349
+ return jspb.Message.setField(this, 1, value || []);
4173
4350
  };
4174
4351
 
4175
4352
 
4176
4353
  /**
4177
- * optional string last_name = 5;
4178
- * @return {string}
4354
+ * @param {number} value
4355
+ * @param {number=} opt_index
4356
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
4179
4357
  */
4180
- proto.Auth.AccountProto.prototype.getLastName = function() {
4181
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4358
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.addIds = function(value, opt_index) {
4359
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4182
4360
  };
4183
4361
 
4184
4362
 
4185
4363
  /**
4186
- * @param {string} value
4187
- * @return {!proto.Auth.AccountProto} returns this
4364
+ * Clears the list making it empty but non-null.
4365
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest} returns this
4188
4366
  */
4189
- proto.Auth.AccountProto.prototype.setLastName = function(value) {
4190
- return jspb.Message.setProto3StringField(this, 5, value);
4367
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesRequest.prototype.clearIdsList = function() {
4368
+ return this.setIdsList([]);
4191
4369
  };
4192
4370
 
4193
4371
 
4372
+
4373
+
4374
+
4375
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4194
4376
  /**
4195
- * optional string locale = 6;
4196
- * @return {string}
4377
+ * Creates an object representation of this proto.
4378
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4379
+ * Optional fields that are not set will be set to undefined.
4380
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4381
+ * For the list of reserved names please see:
4382
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4383
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4384
+ * JSPB instance for transitional soy proto support:
4385
+ * http://goto/soy-param-migration
4386
+ * @return {!Object}
4197
4387
  */
4198
- proto.Auth.AccountProto.prototype.getLocale = function() {
4199
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4388
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.toObject = function(opt_includeInstance) {
4389
+ return proto.Auth.AccountProto.AccountsActivationStatuses.toObject(opt_includeInstance, this);
4200
4390
  };
4201
4391
 
4202
4392
 
4203
4393
  /**
4204
- * @param {string} value
4205
- * @return {!proto.Auth.AccountProto} returns this
4394
+ * Static version of the {@see toObject} method.
4395
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4396
+ * the JSPB instance for transitional soy proto support:
4397
+ * http://goto/soy-param-migration
4398
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} msg The msg instance to transform.
4399
+ * @return {!Object}
4400
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4206
4401
  */
4207
- proto.Auth.AccountProto.prototype.setLocale = function(value) {
4208
- return jspb.Message.setProto3StringField(this, 6, value);
4402
+ proto.Auth.AccountProto.AccountsActivationStatuses.toObject = function(includeInstance, msg) {
4403
+ var f, obj = {
4404
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
4405
+ status: jspb.Message.getFieldWithDefault(msg, 2, 0)
4406
+ };
4407
+
4408
+ if (includeInstance) {
4409
+ obj.$jspbMessageInstance = msg;
4410
+ }
4411
+ return obj;
4209
4412
  };
4413
+ }
4210
4414
 
4211
4415
 
4212
4416
  /**
4213
- * optional string company = 7;
4214
- * @return {string}
4417
+ * Deserializes binary data (in protobuf wire format).
4418
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4419
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
4215
4420
  */
4216
- proto.Auth.AccountProto.prototype.getCompany = function() {
4217
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4421
+ proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinary = function(bytes) {
4422
+ var reader = new jspb.BinaryReader(bytes);
4423
+ var msg = new proto.Auth.AccountProto.AccountsActivationStatuses;
4424
+ return proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader(msg, reader);
4218
4425
  };
4219
4426
 
4220
4427
 
4221
4428
  /**
4222
- * @param {string} value
4223
- * @return {!proto.Auth.AccountProto} returns this
4429
+ * Deserializes binary data (in protobuf wire format) from the
4430
+ * given reader into the given message object.
4431
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} msg The message object to deserialize into.
4432
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4433
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
4224
4434
  */
4225
- proto.Auth.AccountProto.prototype.setCompany = function(value) {
4226
- return jspb.Message.setProto3StringField(this, 7, value);
4435
+ proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader = function(msg, reader) {
4436
+ while (reader.nextField()) {
4437
+ if (reader.isEndGroup()) {
4438
+ break;
4439
+ }
4440
+ var field = reader.getFieldNumber();
4441
+ switch (field) {
4442
+ case 1:
4443
+ var value = /** @type {number} */ (reader.readInt64());
4444
+ msg.setId(value);
4445
+ break;
4446
+ case 2:
4447
+ var value = /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (reader.readEnum());
4448
+ msg.setStatus(value);
4449
+ break;
4450
+ default:
4451
+ reader.skipField();
4452
+ break;
4453
+ }
4454
+ }
4455
+ return msg;
4456
+ };
4457
+
4458
+
4459
+ /**
4460
+ * Serializes the message to binary data (in protobuf wire format).
4461
+ * @return {!Uint8Array}
4462
+ */
4463
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.serializeBinary = function() {
4464
+ var writer = new jspb.BinaryWriter();
4465
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter(this, writer);
4466
+ return writer.getResultBuffer();
4467
+ };
4468
+
4469
+
4470
+ /**
4471
+ * Serializes the given message to binary data (in protobuf wire
4472
+ * format), writing to the given BinaryWriter.
4473
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses} message
4474
+ * @param {!jspb.BinaryWriter} writer
4475
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4476
+ */
4477
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter = function(message, writer) {
4478
+ var f = undefined;
4479
+ f = message.getId();
4480
+ if (f !== 0) {
4481
+ writer.writeInt64(
4482
+ 1,
4483
+ f
4484
+ );
4485
+ }
4486
+ f = message.getStatus();
4487
+ if (f !== 0.0) {
4488
+ writer.writeEnum(
4489
+ 2,
4490
+ f
4491
+ );
4492
+ }
4493
+ };
4494
+
4495
+
4496
+ /**
4497
+ * optional int64 id = 1;
4498
+ * @return {number}
4499
+ */
4500
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.getId = function() {
4501
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4502
+ };
4503
+
4504
+
4505
+ /**
4506
+ * @param {number} value
4507
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses} returns this
4508
+ */
4509
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.setId = function(value) {
4510
+ return jspb.Message.setProto3IntField(this, 1, value);
4511
+ };
4512
+
4513
+
4514
+ /**
4515
+ * optional ActivationStatuses status = 2;
4516
+ * @return {!proto.Auth.AccountProto.ActivationStatuses}
4517
+ */
4518
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.getStatus = function() {
4519
+ return /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4520
+ };
4521
+
4522
+
4523
+ /**
4524
+ * @param {!proto.Auth.AccountProto.ActivationStatuses} value
4525
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses} returns this
4526
+ */
4527
+ proto.Auth.AccountProto.AccountsActivationStatuses.prototype.setStatus = function(value) {
4528
+ return jspb.Message.setProto3EnumField(this, 2, value);
4529
+ };
4530
+
4531
+
4532
+
4533
+ /**
4534
+ * List of repeated fields within this message type.
4535
+ * @private {!Array<number>}
4536
+ * @const
4537
+ */
4538
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.repeatedFields_ = [1];
4539
+
4540
+
4541
+
4542
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4543
+ /**
4544
+ * Creates an object representation of this proto.
4545
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4546
+ * Optional fields that are not set will be set to undefined.
4547
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4548
+ * For the list of reserved names please see:
4549
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4550
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4551
+ * JSPB instance for transitional soy proto support:
4552
+ * http://goto/soy-param-migration
4553
+ * @return {!Object}
4554
+ */
4555
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.toObject = function(opt_includeInstance) {
4556
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.toObject(opt_includeInstance, this);
4557
+ };
4558
+
4559
+
4560
+ /**
4561
+ * Static version of the {@see toObject} method.
4562
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4563
+ * the JSPB instance for transitional soy proto support:
4564
+ * http://goto/soy-param-migration
4565
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} msg The msg instance to transform.
4566
+ * @return {!Object}
4567
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4568
+ */
4569
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.toObject = function(includeInstance, msg) {
4570
+ var f, obj = {
4571
+ activationStatusesList: jspb.Message.toObjectList(msg.getActivationStatusesList(),
4572
+ proto.Auth.AccountProto.AccountsActivationStatuses.toObject, includeInstance)
4573
+ };
4574
+
4575
+ if (includeInstance) {
4576
+ obj.$jspbMessageInstance = msg;
4577
+ }
4578
+ return obj;
4579
+ };
4580
+ }
4581
+
4582
+
4583
+ /**
4584
+ * Deserializes binary data (in protobuf wire format).
4585
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4586
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply}
4587
+ */
4588
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinary = function(bytes) {
4589
+ var reader = new jspb.BinaryReader(bytes);
4590
+ var msg = new proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply;
4591
+ return proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinaryFromReader(msg, reader);
4592
+ };
4593
+
4594
+
4595
+ /**
4596
+ * Deserializes binary data (in protobuf wire format) from the
4597
+ * given reader into the given message object.
4598
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} msg The message object to deserialize into.
4599
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4600
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply}
4601
+ */
4602
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.deserializeBinaryFromReader = function(msg, reader) {
4603
+ while (reader.nextField()) {
4604
+ if (reader.isEndGroup()) {
4605
+ break;
4606
+ }
4607
+ var field = reader.getFieldNumber();
4608
+ switch (field) {
4609
+ case 1:
4610
+ var value = new proto.Auth.AccountProto.AccountsActivationStatuses;
4611
+ reader.readMessage(value,proto.Auth.AccountProto.AccountsActivationStatuses.deserializeBinaryFromReader);
4612
+ msg.addActivationStatuses(value);
4613
+ break;
4614
+ default:
4615
+ reader.skipField();
4616
+ break;
4617
+ }
4618
+ }
4619
+ return msg;
4620
+ };
4621
+
4622
+
4623
+ /**
4624
+ * Serializes the message to binary data (in protobuf wire format).
4625
+ * @return {!Uint8Array}
4626
+ */
4627
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.serializeBinary = function() {
4628
+ var writer = new jspb.BinaryWriter();
4629
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.serializeBinaryToWriter(this, writer);
4630
+ return writer.getResultBuffer();
4631
+ };
4632
+
4633
+
4634
+ /**
4635
+ * Serializes the given message to binary data (in protobuf wire
4636
+ * format), writing to the given BinaryWriter.
4637
+ * @param {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} message
4638
+ * @param {!jspb.BinaryWriter} writer
4639
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4640
+ */
4641
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.serializeBinaryToWriter = function(message, writer) {
4642
+ var f = undefined;
4643
+ f = message.getActivationStatusesList();
4644
+ if (f.length > 0) {
4645
+ writer.writeRepeatedMessage(
4646
+ 1,
4647
+ f,
4648
+ proto.Auth.AccountProto.AccountsActivationStatuses.serializeBinaryToWriter
4649
+ );
4650
+ }
4651
+ };
4652
+
4653
+
4654
+ /**
4655
+ * repeated AccountsActivationStatuses activation_statuses = 1;
4656
+ * @return {!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>}
4657
+ */
4658
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.getActivationStatusesList = function() {
4659
+ return /** @type{!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>} */ (
4660
+ jspb.Message.getRepeatedWrapperField(this, proto.Auth.AccountProto.AccountsActivationStatuses, 1));
4661
+ };
4662
+
4663
+
4664
+ /**
4665
+ * @param {!Array<!proto.Auth.AccountProto.AccountsActivationStatuses>} value
4666
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} returns this
4667
+ */
4668
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.setActivationStatusesList = function(value) {
4669
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
4670
+ };
4671
+
4672
+
4673
+ /**
4674
+ * @param {!proto.Auth.AccountProto.AccountsActivationStatuses=} opt_value
4675
+ * @param {number=} opt_index
4676
+ * @return {!proto.Auth.AccountProto.AccountsActivationStatuses}
4677
+ */
4678
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.addActivationStatuses = function(opt_value, opt_index) {
4679
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.AccountProto.AccountsActivationStatuses, opt_index);
4680
+ };
4681
+
4682
+
4683
+ /**
4684
+ * Clears the list making it empty but non-null.
4685
+ * @return {!proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply} returns this
4686
+ */
4687
+ proto.Auth.AccountProto.RetrieveAccountActivationStatusesReply.prototype.clearActivationStatusesList = function() {
4688
+ return this.setActivationStatusesList([]);
4689
+ };
4690
+
4691
+
4692
+
4693
+
4694
+
4695
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4696
+ /**
4697
+ * Creates an object representation of this proto.
4698
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4699
+ * Optional fields that are not set will be set to undefined.
4700
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4701
+ * For the list of reserved names please see:
4702
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4703
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4704
+ * JSPB instance for transitional soy proto support:
4705
+ * http://goto/soy-param-migration
4706
+ * @return {!Object}
4707
+ */
4708
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.toObject = function(opt_includeInstance) {
4709
+ return proto.Auth.AccountProto.ResendInvitationRequest.toObject(opt_includeInstance, this);
4710
+ };
4711
+
4712
+
4713
+ /**
4714
+ * Static version of the {@see toObject} method.
4715
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4716
+ * the JSPB instance for transitional soy proto support:
4717
+ * http://goto/soy-param-migration
4718
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} msg The msg instance to transform.
4719
+ * @return {!Object}
4720
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4721
+ */
4722
+ proto.Auth.AccountProto.ResendInvitationRequest.toObject = function(includeInstance, msg) {
4723
+ var f, obj = {
4724
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
4725
+ };
4726
+
4727
+ if (includeInstance) {
4728
+ obj.$jspbMessageInstance = msg;
4729
+ }
4730
+ return obj;
4731
+ };
4732
+ }
4733
+
4734
+
4735
+ /**
4736
+ * Deserializes binary data (in protobuf wire format).
4737
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4738
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest}
4739
+ */
4740
+ proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinary = function(bytes) {
4741
+ var reader = new jspb.BinaryReader(bytes);
4742
+ var msg = new proto.Auth.AccountProto.ResendInvitationRequest;
4743
+ return proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinaryFromReader(msg, reader);
4744
+ };
4745
+
4746
+
4747
+ /**
4748
+ * Deserializes binary data (in protobuf wire format) from the
4749
+ * given reader into the given message object.
4750
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} msg The message object to deserialize into.
4751
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4752
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest}
4753
+ */
4754
+ proto.Auth.AccountProto.ResendInvitationRequest.deserializeBinaryFromReader = function(msg, reader) {
4755
+ while (reader.nextField()) {
4756
+ if (reader.isEndGroup()) {
4757
+ break;
4758
+ }
4759
+ var field = reader.getFieldNumber();
4760
+ switch (field) {
4761
+ case 1:
4762
+ var value = /** @type {number} */ (reader.readInt64());
4763
+ msg.setId(value);
4764
+ break;
4765
+ default:
4766
+ reader.skipField();
4767
+ break;
4768
+ }
4769
+ }
4770
+ return msg;
4771
+ };
4772
+
4773
+
4774
+ /**
4775
+ * Serializes the message to binary data (in protobuf wire format).
4776
+ * @return {!Uint8Array}
4777
+ */
4778
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.serializeBinary = function() {
4779
+ var writer = new jspb.BinaryWriter();
4780
+ proto.Auth.AccountProto.ResendInvitationRequest.serializeBinaryToWriter(this, writer);
4781
+ return writer.getResultBuffer();
4782
+ };
4783
+
4784
+
4785
+ /**
4786
+ * Serializes the given message to binary data (in protobuf wire
4787
+ * format), writing to the given BinaryWriter.
4788
+ * @param {!proto.Auth.AccountProto.ResendInvitationRequest} message
4789
+ * @param {!jspb.BinaryWriter} writer
4790
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4791
+ */
4792
+ proto.Auth.AccountProto.ResendInvitationRequest.serializeBinaryToWriter = function(message, writer) {
4793
+ var f = undefined;
4794
+ f = message.getId();
4795
+ if (f !== 0) {
4796
+ writer.writeInt64(
4797
+ 1,
4798
+ f
4799
+ );
4800
+ }
4801
+ };
4802
+
4803
+
4804
+ /**
4805
+ * optional int64 id = 1;
4806
+ * @return {number}
4807
+ */
4808
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.getId = function() {
4809
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4810
+ };
4811
+
4812
+
4813
+ /**
4814
+ * @param {number} value
4815
+ * @return {!proto.Auth.AccountProto.ResendInvitationRequest} returns this
4816
+ */
4817
+ proto.Auth.AccountProto.ResendInvitationRequest.prototype.setId = function(value) {
4818
+ return jspb.Message.setProto3IntField(this, 1, value);
4819
+ };
4820
+
4821
+
4822
+ /**
4823
+ * optional int64 id = 1;
4824
+ * @return {number}
4825
+ */
4826
+ proto.Auth.AccountProto.prototype.getId = function() {
4827
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4828
+ };
4829
+
4830
+
4831
+ /**
4832
+ * @param {number} value
4833
+ * @return {!proto.Auth.AccountProto} returns this
4834
+ */
4835
+ proto.Auth.AccountProto.prototype.setId = function(value) {
4836
+ return jspb.Message.setProto3IntField(this, 1, value);
4837
+ };
4838
+
4839
+
4840
+ /**
4841
+ * optional string email = 2;
4842
+ * @return {string}
4843
+ */
4844
+ proto.Auth.AccountProto.prototype.getEmail = function() {
4845
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4846
+ };
4847
+
4848
+
4849
+ /**
4850
+ * @param {string} value
4851
+ * @return {!proto.Auth.AccountProto} returns this
4852
+ */
4853
+ proto.Auth.AccountProto.prototype.setEmail = function(value) {
4854
+ return jspb.Message.setProto3StringField(this, 2, value);
4855
+ };
4856
+
4857
+
4858
+ /**
4859
+ * optional string phone = 3;
4860
+ * @return {string}
4861
+ */
4862
+ proto.Auth.AccountProto.prototype.getPhone = function() {
4863
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4864
+ };
4865
+
4866
+
4867
+ /**
4868
+ * @param {string} value
4869
+ * @return {!proto.Auth.AccountProto} returns this
4870
+ */
4871
+ proto.Auth.AccountProto.prototype.setPhone = function(value) {
4872
+ return jspb.Message.setProto3StringField(this, 3, value);
4873
+ };
4874
+
4875
+
4876
+ /**
4877
+ * optional string first_name = 4;
4878
+ * @return {string}
4879
+ */
4880
+ proto.Auth.AccountProto.prototype.getFirstName = function() {
4881
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4882
+ };
4883
+
4884
+
4885
+ /**
4886
+ * @param {string} value
4887
+ * @return {!proto.Auth.AccountProto} returns this
4888
+ */
4889
+ proto.Auth.AccountProto.prototype.setFirstName = function(value) {
4890
+ return jspb.Message.setProto3StringField(this, 4, value);
4891
+ };
4892
+
4893
+
4894
+ /**
4895
+ * optional string last_name = 5;
4896
+ * @return {string}
4897
+ */
4898
+ proto.Auth.AccountProto.prototype.getLastName = function() {
4899
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4900
+ };
4901
+
4902
+
4903
+ /**
4904
+ * @param {string} value
4905
+ * @return {!proto.Auth.AccountProto} returns this
4906
+ */
4907
+ proto.Auth.AccountProto.prototype.setLastName = function(value) {
4908
+ return jspb.Message.setProto3StringField(this, 5, value);
4909
+ };
4910
+
4911
+
4912
+ /**
4913
+ * optional string locale = 6;
4914
+ * @return {string}
4915
+ */
4916
+ proto.Auth.AccountProto.prototype.getLocale = function() {
4917
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4918
+ };
4919
+
4920
+
4921
+ /**
4922
+ * @param {string} value
4923
+ * @return {!proto.Auth.AccountProto} returns this
4924
+ */
4925
+ proto.Auth.AccountProto.prototype.setLocale = function(value) {
4926
+ return jspb.Message.setProto3StringField(this, 6, value);
4927
+ };
4928
+
4929
+
4930
+ /**
4931
+ * optional string company = 7;
4932
+ * @return {string}
4933
+ */
4934
+ proto.Auth.AccountProto.prototype.getCompany = function() {
4935
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4936
+ };
4937
+
4938
+
4939
+ /**
4940
+ * @param {string} value
4941
+ * @return {!proto.Auth.AccountProto} returns this
4942
+ */
4943
+ proto.Auth.AccountProto.prototype.setCompany = function(value) {
4944
+ return jspb.Message.setProto3StringField(this, 7, value);
4945
+ };
4946
+
4947
+
4948
+ /**
4949
+ * optional string active = 8;
4950
+ * @return {string}
4951
+ */
4952
+ proto.Auth.AccountProto.prototype.getActive = function() {
4953
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4954
+ };
4955
+
4956
+
4957
+ /**
4958
+ * @param {string} value
4959
+ * @return {!proto.Auth.AccountProto} returns this
4960
+ */
4961
+ proto.Auth.AccountProto.prototype.setActive = function(value) {
4962
+ return jspb.Message.setProto3StringField(this, 8, value);
4227
4963
  };
4228
4964
 
4229
4965