@lansweeper/multitenant-api-grpc 0.4.20 → 0.4.22
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/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_grpc_pb.d.ts +17 -0
- package/gen-proto/multitenant_grpc_pb.js +33 -0
- package/gen-proto/multitenant_pb.d.ts +82 -0
- package/gen-proto/multitenant_pb.js +608 -1
- package/package.json +2 -2
- package/proto/multitenant.proto +19 -1
|
@@ -15,6 +15,8 @@ var jspb = require('google-protobuf');
|
|
|
15
15
|
var goog = jspb;
|
|
16
16
|
var global = Function('return this')();
|
|
17
17
|
|
|
18
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.AllProfileExistsRequest', null, global);
|
|
19
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.AllProfileExistsResponse', null, global);
|
|
18
20
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.AuthorizedSitesRequest', null, global);
|
|
19
21
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.AuthorizedSitesResponse', null, global);
|
|
20
22
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdRequest', null, global);
|
|
@@ -64,6 +66,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.ListAuthorizedLinkProfilesReq
|
|
|
64
66
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.ListAuthorizedLinkProfilesResponse', null, global);
|
|
65
67
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.ListProfilesByAccountIdRequest', null, global);
|
|
66
68
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.ListProfilesByAccountIdResponse', null, global);
|
|
69
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.NullableInstallType', null, global);
|
|
70
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.NullableInstallType.KindCase', null, global);
|
|
67
71
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.PatchSiteModeRequest', null, global);
|
|
68
72
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.PatchSiteModeResponse', null, global);
|
|
69
73
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.PreviewAccount', null, global);
|
|
@@ -528,6 +532,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
528
532
|
*/
|
|
529
533
|
proto.lansweeper.multitenant.v1.GetInstallsByIdResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallsByIdResponse';
|
|
530
534
|
}
|
|
535
|
+
/**
|
|
536
|
+
* Generated by JsPbCodeGenerator.
|
|
537
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
538
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
539
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
540
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
541
|
+
* valid.
|
|
542
|
+
* @extends {jspb.Message}
|
|
543
|
+
* @constructor
|
|
544
|
+
*/
|
|
545
|
+
proto.lansweeper.multitenant.v1.NullableInstallType = function(opt_data) {
|
|
546
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.lansweeper.multitenant.v1.NullableInstallType.oneofGroups_);
|
|
547
|
+
};
|
|
548
|
+
goog.inherits(proto.lansweeper.multitenant.v1.NullableInstallType, jspb.Message);
|
|
549
|
+
if (goog.DEBUG && !COMPILED) {
|
|
550
|
+
/**
|
|
551
|
+
* @public
|
|
552
|
+
* @override
|
|
553
|
+
*/
|
|
554
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.displayName = 'proto.lansweeper.multitenant.v1.NullableInstallType';
|
|
555
|
+
}
|
|
531
556
|
/**
|
|
532
557
|
* Generated by JsPbCodeGenerator.
|
|
533
558
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1515,6 +1540,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1515
1540
|
*/
|
|
1516
1541
|
proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdResponse';
|
|
1517
1542
|
}
|
|
1543
|
+
/**
|
|
1544
|
+
* Generated by JsPbCodeGenerator.
|
|
1545
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1546
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1547
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1548
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1549
|
+
* valid.
|
|
1550
|
+
* @extends {jspb.Message}
|
|
1551
|
+
* @constructor
|
|
1552
|
+
*/
|
|
1553
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest = function(opt_data) {
|
|
1554
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.AllProfileExistsRequest.repeatedFields_, null);
|
|
1555
|
+
};
|
|
1556
|
+
goog.inherits(proto.lansweeper.multitenant.v1.AllProfileExistsRequest, jspb.Message);
|
|
1557
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1558
|
+
/**
|
|
1559
|
+
* @public
|
|
1560
|
+
* @override
|
|
1561
|
+
*/
|
|
1562
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.displayName = 'proto.lansweeper.multitenant.v1.AllProfileExistsRequest';
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* Generated by JsPbCodeGenerator.
|
|
1566
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1567
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1568
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1569
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1570
|
+
* valid.
|
|
1571
|
+
* @extends {jspb.Message}
|
|
1572
|
+
* @constructor
|
|
1573
|
+
*/
|
|
1574
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse = function(opt_data) {
|
|
1575
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1576
|
+
};
|
|
1577
|
+
goog.inherits(proto.lansweeper.multitenant.v1.AllProfileExistsResponse, jspb.Message);
|
|
1578
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1579
|
+
/**
|
|
1580
|
+
* @public
|
|
1581
|
+
* @override
|
|
1582
|
+
*/
|
|
1583
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.displayName = 'proto.lansweeper.multitenant.v1.AllProfileExistsResponse';
|
|
1584
|
+
}
|
|
1518
1585
|
|
|
1519
1586
|
|
|
1520
1587
|
|
|
@@ -5376,6 +5443,179 @@ proto.lansweeper.multitenant.v1.GetInstallsByIdResponse.prototype.clearInstallLi
|
|
|
5376
5443
|
|
|
5377
5444
|
|
|
5378
5445
|
|
|
5446
|
+
/**
|
|
5447
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
5448
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
5449
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
5450
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
5451
|
+
* @private {!Array<!Array<number>>}
|
|
5452
|
+
* @const
|
|
5453
|
+
*/
|
|
5454
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.oneofGroups_ = [[1]];
|
|
5455
|
+
|
|
5456
|
+
/**
|
|
5457
|
+
* @enum {number}
|
|
5458
|
+
*/
|
|
5459
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.KindCase = {
|
|
5460
|
+
KIND_NOT_SET: 0,
|
|
5461
|
+
DATA: 1
|
|
5462
|
+
};
|
|
5463
|
+
|
|
5464
|
+
/**
|
|
5465
|
+
* @return {proto.lansweeper.multitenant.v1.NullableInstallType.KindCase}
|
|
5466
|
+
*/
|
|
5467
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.prototype.getKindCase = function() {
|
|
5468
|
+
return /** @type {proto.lansweeper.multitenant.v1.NullableInstallType.KindCase} */(jspb.Message.computeOneofCase(this, proto.lansweeper.multitenant.v1.NullableInstallType.oneofGroups_[0]));
|
|
5469
|
+
};
|
|
5470
|
+
|
|
5471
|
+
|
|
5472
|
+
|
|
5473
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5474
|
+
/**
|
|
5475
|
+
* Creates an object representation of this proto.
|
|
5476
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5477
|
+
* Optional fields that are not set will be set to undefined.
|
|
5478
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5479
|
+
* For the list of reserved names please see:
|
|
5480
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5481
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5482
|
+
* JSPB instance for transitional soy proto support:
|
|
5483
|
+
* http://goto/soy-param-migration
|
|
5484
|
+
* @return {!Object}
|
|
5485
|
+
*/
|
|
5486
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.prototype.toObject = function(opt_includeInstance) {
|
|
5487
|
+
return proto.lansweeper.multitenant.v1.NullableInstallType.toObject(opt_includeInstance, this);
|
|
5488
|
+
};
|
|
5489
|
+
|
|
5490
|
+
|
|
5491
|
+
/**
|
|
5492
|
+
* Static version of the {@see toObject} method.
|
|
5493
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5494
|
+
* the JSPB instance for transitional soy proto support:
|
|
5495
|
+
* http://goto/soy-param-migration
|
|
5496
|
+
* @param {!proto.lansweeper.multitenant.v1.NullableInstallType} msg The msg instance to transform.
|
|
5497
|
+
* @return {!Object}
|
|
5498
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5499
|
+
*/
|
|
5500
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.toObject = function(includeInstance, msg) {
|
|
5501
|
+
var f, obj = {
|
|
5502
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
5503
|
+
};
|
|
5504
|
+
|
|
5505
|
+
if (includeInstance) {
|
|
5506
|
+
obj.$jspbMessageInstance = msg;
|
|
5507
|
+
}
|
|
5508
|
+
return obj;
|
|
5509
|
+
};
|
|
5510
|
+
}
|
|
5511
|
+
|
|
5512
|
+
|
|
5513
|
+
/**
|
|
5514
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5515
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5516
|
+
* @return {!proto.lansweeper.multitenant.v1.NullableInstallType}
|
|
5517
|
+
*/
|
|
5518
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.deserializeBinary = function(bytes) {
|
|
5519
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5520
|
+
var msg = new proto.lansweeper.multitenant.v1.NullableInstallType;
|
|
5521
|
+
return proto.lansweeper.multitenant.v1.NullableInstallType.deserializeBinaryFromReader(msg, reader);
|
|
5522
|
+
};
|
|
5523
|
+
|
|
5524
|
+
|
|
5525
|
+
/**
|
|
5526
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5527
|
+
* given reader into the given message object.
|
|
5528
|
+
* @param {!proto.lansweeper.multitenant.v1.NullableInstallType} msg The message object to deserialize into.
|
|
5529
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5530
|
+
* @return {!proto.lansweeper.multitenant.v1.NullableInstallType}
|
|
5531
|
+
*/
|
|
5532
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.deserializeBinaryFromReader = function(msg, reader) {
|
|
5533
|
+
while (reader.nextField()) {
|
|
5534
|
+
if (reader.isEndGroup()) {
|
|
5535
|
+
break;
|
|
5536
|
+
}
|
|
5537
|
+
var field = reader.getFieldNumber();
|
|
5538
|
+
switch (field) {
|
|
5539
|
+
case 1:
|
|
5540
|
+
var value = /** @type {!proto.lansweeper.multitenant.v1.InstallType} */ (reader.readEnum());
|
|
5541
|
+
msg.setData(value);
|
|
5542
|
+
break;
|
|
5543
|
+
default:
|
|
5544
|
+
reader.skipField();
|
|
5545
|
+
break;
|
|
5546
|
+
}
|
|
5547
|
+
}
|
|
5548
|
+
return msg;
|
|
5549
|
+
};
|
|
5550
|
+
|
|
5551
|
+
|
|
5552
|
+
/**
|
|
5553
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5554
|
+
* @return {!Uint8Array}
|
|
5555
|
+
*/
|
|
5556
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.prototype.serializeBinary = function() {
|
|
5557
|
+
var writer = new jspb.BinaryWriter();
|
|
5558
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.serializeBinaryToWriter(this, writer);
|
|
5559
|
+
return writer.getResultBuffer();
|
|
5560
|
+
};
|
|
5561
|
+
|
|
5562
|
+
|
|
5563
|
+
/**
|
|
5564
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5565
|
+
* format), writing to the given BinaryWriter.
|
|
5566
|
+
* @param {!proto.lansweeper.multitenant.v1.NullableInstallType} message
|
|
5567
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5568
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5569
|
+
*/
|
|
5570
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.serializeBinaryToWriter = function(message, writer) {
|
|
5571
|
+
var f = undefined;
|
|
5572
|
+
f = /** @type {!proto.lansweeper.multitenant.v1.InstallType} */ (jspb.Message.getField(message, 1));
|
|
5573
|
+
if (f != null) {
|
|
5574
|
+
writer.writeEnum(
|
|
5575
|
+
1,
|
|
5576
|
+
f
|
|
5577
|
+
);
|
|
5578
|
+
}
|
|
5579
|
+
};
|
|
5580
|
+
|
|
5581
|
+
|
|
5582
|
+
/**
|
|
5583
|
+
* optional InstallType data = 1;
|
|
5584
|
+
* @return {!proto.lansweeper.multitenant.v1.InstallType}
|
|
5585
|
+
*/
|
|
5586
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.prototype.getData = function() {
|
|
5587
|
+
return /** @type {!proto.lansweeper.multitenant.v1.InstallType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5588
|
+
};
|
|
5589
|
+
|
|
5590
|
+
|
|
5591
|
+
/**
|
|
5592
|
+
* @param {!proto.lansweeper.multitenant.v1.InstallType} value
|
|
5593
|
+
* @return {!proto.lansweeper.multitenant.v1.NullableInstallType} returns this
|
|
5594
|
+
*/
|
|
5595
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.prototype.setData = function(value) {
|
|
5596
|
+
return jspb.Message.setOneofField(this, 1, proto.lansweeper.multitenant.v1.NullableInstallType.oneofGroups_[0], value);
|
|
5597
|
+
};
|
|
5598
|
+
|
|
5599
|
+
|
|
5600
|
+
/**
|
|
5601
|
+
* Clears the field making it undefined.
|
|
5602
|
+
* @return {!proto.lansweeper.multitenant.v1.NullableInstallType} returns this
|
|
5603
|
+
*/
|
|
5604
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.prototype.clearData = function() {
|
|
5605
|
+
return jspb.Message.setOneofField(this, 1, proto.lansweeper.multitenant.v1.NullableInstallType.oneofGroups_[0], undefined);
|
|
5606
|
+
};
|
|
5607
|
+
|
|
5608
|
+
|
|
5609
|
+
/**
|
|
5610
|
+
* Returns whether this field is set.
|
|
5611
|
+
* @return {boolean}
|
|
5612
|
+
*/
|
|
5613
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.prototype.hasData = function() {
|
|
5614
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5615
|
+
};
|
|
5616
|
+
|
|
5617
|
+
|
|
5618
|
+
|
|
5379
5619
|
|
|
5380
5620
|
|
|
5381
5621
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5534,7 +5774,8 @@ proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.prototype.toObje
|
|
|
5534
5774
|
proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.toObject = function(includeInstance, msg) {
|
|
5535
5775
|
var f, obj = {
|
|
5536
5776
|
state: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5537
|
-
type: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
5777
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5778
|
+
installType: (f = msg.getInstallType()) && proto.lansweeper.multitenant.v1.NullableInstallType.toObject(includeInstance, f)
|
|
5538
5779
|
};
|
|
5539
5780
|
|
|
5540
5781
|
if (includeInstance) {
|
|
@@ -5579,6 +5820,11 @@ proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.deserializeBinar
|
|
|
5579
5820
|
var value = /** @type {!proto.lansweeper.multitenant.v1.InstallType} */ (reader.readEnum());
|
|
5580
5821
|
msg.setType(value);
|
|
5581
5822
|
break;
|
|
5823
|
+
case 3:
|
|
5824
|
+
var value = new proto.lansweeper.multitenant.v1.NullableInstallType;
|
|
5825
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.NullableInstallType.deserializeBinaryFromReader);
|
|
5826
|
+
msg.setInstallType(value);
|
|
5827
|
+
break;
|
|
5582
5828
|
default:
|
|
5583
5829
|
reader.skipField();
|
|
5584
5830
|
break;
|
|
@@ -5622,6 +5868,14 @@ proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.serializeBinaryT
|
|
|
5622
5868
|
f
|
|
5623
5869
|
);
|
|
5624
5870
|
}
|
|
5871
|
+
f = message.getInstallType();
|
|
5872
|
+
if (f != null) {
|
|
5873
|
+
writer.writeMessage(
|
|
5874
|
+
3,
|
|
5875
|
+
f,
|
|
5876
|
+
proto.lansweeper.multitenant.v1.NullableInstallType.serializeBinaryToWriter
|
|
5877
|
+
);
|
|
5878
|
+
}
|
|
5625
5879
|
};
|
|
5626
5880
|
|
|
5627
5881
|
|
|
@@ -5661,6 +5915,43 @@ proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.prototype.setTyp
|
|
|
5661
5915
|
};
|
|
5662
5916
|
|
|
5663
5917
|
|
|
5918
|
+
/**
|
|
5919
|
+
* optional NullableInstallType install_type = 3;
|
|
5920
|
+
* @return {?proto.lansweeper.multitenant.v1.NullableInstallType}
|
|
5921
|
+
*/
|
|
5922
|
+
proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.prototype.getInstallType = function() {
|
|
5923
|
+
return /** @type{?proto.lansweeper.multitenant.v1.NullableInstallType} */ (
|
|
5924
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.NullableInstallType, 3));
|
|
5925
|
+
};
|
|
5926
|
+
|
|
5927
|
+
|
|
5928
|
+
/**
|
|
5929
|
+
* @param {?proto.lansweeper.multitenant.v1.NullableInstallType|undefined} value
|
|
5930
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter} returns this
|
|
5931
|
+
*/
|
|
5932
|
+
proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.prototype.setInstallType = function(value) {
|
|
5933
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
5934
|
+
};
|
|
5935
|
+
|
|
5936
|
+
|
|
5937
|
+
/**
|
|
5938
|
+
* Clears the message field making it undefined.
|
|
5939
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter} returns this
|
|
5940
|
+
*/
|
|
5941
|
+
proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.prototype.clearInstallType = function() {
|
|
5942
|
+
return this.setInstallType(undefined);
|
|
5943
|
+
};
|
|
5944
|
+
|
|
5945
|
+
|
|
5946
|
+
/**
|
|
5947
|
+
* Returns whether this field is set.
|
|
5948
|
+
* @return {boolean}
|
|
5949
|
+
*/
|
|
5950
|
+
proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filter.prototype.hasInstallType = function() {
|
|
5951
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5952
|
+
};
|
|
5953
|
+
|
|
5954
|
+
|
|
5664
5955
|
/**
|
|
5665
5956
|
* optional string site_id = 1;
|
|
5666
5957
|
* @return {string}
|
|
@@ -14229,6 +14520,322 @@ proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdResponse.prototy
|
|
|
14229
14520
|
};
|
|
14230
14521
|
|
|
14231
14522
|
|
|
14523
|
+
|
|
14524
|
+
/**
|
|
14525
|
+
* List of repeated fields within this message type.
|
|
14526
|
+
* @private {!Array<number>}
|
|
14527
|
+
* @const
|
|
14528
|
+
*/
|
|
14529
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.repeatedFields_ = [2];
|
|
14530
|
+
|
|
14531
|
+
|
|
14532
|
+
|
|
14533
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14534
|
+
/**
|
|
14535
|
+
* Creates an object representation of this proto.
|
|
14536
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14537
|
+
* Optional fields that are not set will be set to undefined.
|
|
14538
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14539
|
+
* For the list of reserved names please see:
|
|
14540
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14541
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14542
|
+
* JSPB instance for transitional soy proto support:
|
|
14543
|
+
* http://goto/soy-param-migration
|
|
14544
|
+
* @return {!Object}
|
|
14545
|
+
*/
|
|
14546
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14547
|
+
return proto.lansweeper.multitenant.v1.AllProfileExistsRequest.toObject(opt_includeInstance, this);
|
|
14548
|
+
};
|
|
14549
|
+
|
|
14550
|
+
|
|
14551
|
+
/**
|
|
14552
|
+
* Static version of the {@see toObject} method.
|
|
14553
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14554
|
+
* the JSPB instance for transitional soy proto support:
|
|
14555
|
+
* http://goto/soy-param-migration
|
|
14556
|
+
* @param {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} msg The msg instance to transform.
|
|
14557
|
+
* @return {!Object}
|
|
14558
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14559
|
+
*/
|
|
14560
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.toObject = function(includeInstance, msg) {
|
|
14561
|
+
var f, obj = {
|
|
14562
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14563
|
+
emailsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
14564
|
+
};
|
|
14565
|
+
|
|
14566
|
+
if (includeInstance) {
|
|
14567
|
+
obj.$jspbMessageInstance = msg;
|
|
14568
|
+
}
|
|
14569
|
+
return obj;
|
|
14570
|
+
};
|
|
14571
|
+
}
|
|
14572
|
+
|
|
14573
|
+
|
|
14574
|
+
/**
|
|
14575
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14576
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14577
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest}
|
|
14578
|
+
*/
|
|
14579
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.deserializeBinary = function(bytes) {
|
|
14580
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14581
|
+
var msg = new proto.lansweeper.multitenant.v1.AllProfileExistsRequest;
|
|
14582
|
+
return proto.lansweeper.multitenant.v1.AllProfileExistsRequest.deserializeBinaryFromReader(msg, reader);
|
|
14583
|
+
};
|
|
14584
|
+
|
|
14585
|
+
|
|
14586
|
+
/**
|
|
14587
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14588
|
+
* given reader into the given message object.
|
|
14589
|
+
* @param {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} msg The message object to deserialize into.
|
|
14590
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14591
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest}
|
|
14592
|
+
*/
|
|
14593
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14594
|
+
while (reader.nextField()) {
|
|
14595
|
+
if (reader.isEndGroup()) {
|
|
14596
|
+
break;
|
|
14597
|
+
}
|
|
14598
|
+
var field = reader.getFieldNumber();
|
|
14599
|
+
switch (field) {
|
|
14600
|
+
case 1:
|
|
14601
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14602
|
+
msg.setSiteId(value);
|
|
14603
|
+
break;
|
|
14604
|
+
case 2:
|
|
14605
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14606
|
+
msg.addEmails(value);
|
|
14607
|
+
break;
|
|
14608
|
+
default:
|
|
14609
|
+
reader.skipField();
|
|
14610
|
+
break;
|
|
14611
|
+
}
|
|
14612
|
+
}
|
|
14613
|
+
return msg;
|
|
14614
|
+
};
|
|
14615
|
+
|
|
14616
|
+
|
|
14617
|
+
/**
|
|
14618
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14619
|
+
* @return {!Uint8Array}
|
|
14620
|
+
*/
|
|
14621
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.serializeBinary = function() {
|
|
14622
|
+
var writer = new jspb.BinaryWriter();
|
|
14623
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.serializeBinaryToWriter(this, writer);
|
|
14624
|
+
return writer.getResultBuffer();
|
|
14625
|
+
};
|
|
14626
|
+
|
|
14627
|
+
|
|
14628
|
+
/**
|
|
14629
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14630
|
+
* format), writing to the given BinaryWriter.
|
|
14631
|
+
* @param {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} message
|
|
14632
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14633
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14634
|
+
*/
|
|
14635
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14636
|
+
var f = undefined;
|
|
14637
|
+
f = message.getSiteId();
|
|
14638
|
+
if (f.length > 0) {
|
|
14639
|
+
writer.writeString(
|
|
14640
|
+
1,
|
|
14641
|
+
f
|
|
14642
|
+
);
|
|
14643
|
+
}
|
|
14644
|
+
f = message.getEmailsList();
|
|
14645
|
+
if (f.length > 0) {
|
|
14646
|
+
writer.writeRepeatedString(
|
|
14647
|
+
2,
|
|
14648
|
+
f
|
|
14649
|
+
);
|
|
14650
|
+
}
|
|
14651
|
+
};
|
|
14652
|
+
|
|
14653
|
+
|
|
14654
|
+
/**
|
|
14655
|
+
* optional string site_id = 1;
|
|
14656
|
+
* @return {string}
|
|
14657
|
+
*/
|
|
14658
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.getSiteId = function() {
|
|
14659
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14660
|
+
};
|
|
14661
|
+
|
|
14662
|
+
|
|
14663
|
+
/**
|
|
14664
|
+
* @param {string} value
|
|
14665
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} returns this
|
|
14666
|
+
*/
|
|
14667
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.setSiteId = function(value) {
|
|
14668
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14669
|
+
};
|
|
14670
|
+
|
|
14671
|
+
|
|
14672
|
+
/**
|
|
14673
|
+
* repeated string emails = 2;
|
|
14674
|
+
* @return {!Array<string>}
|
|
14675
|
+
*/
|
|
14676
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.getEmailsList = function() {
|
|
14677
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
14678
|
+
};
|
|
14679
|
+
|
|
14680
|
+
|
|
14681
|
+
/**
|
|
14682
|
+
* @param {!Array<string>} value
|
|
14683
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} returns this
|
|
14684
|
+
*/
|
|
14685
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.setEmailsList = function(value) {
|
|
14686
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
14687
|
+
};
|
|
14688
|
+
|
|
14689
|
+
|
|
14690
|
+
/**
|
|
14691
|
+
* @param {string} value
|
|
14692
|
+
* @param {number=} opt_index
|
|
14693
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} returns this
|
|
14694
|
+
*/
|
|
14695
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.addEmails = function(value, opt_index) {
|
|
14696
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
14697
|
+
};
|
|
14698
|
+
|
|
14699
|
+
|
|
14700
|
+
/**
|
|
14701
|
+
* Clears the list making it empty but non-null.
|
|
14702
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} returns this
|
|
14703
|
+
*/
|
|
14704
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.clearEmailsList = function() {
|
|
14705
|
+
return this.setEmailsList([]);
|
|
14706
|
+
};
|
|
14707
|
+
|
|
14708
|
+
|
|
14709
|
+
|
|
14710
|
+
|
|
14711
|
+
|
|
14712
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14713
|
+
/**
|
|
14714
|
+
* Creates an object representation of this proto.
|
|
14715
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14716
|
+
* Optional fields that are not set will be set to undefined.
|
|
14717
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14718
|
+
* For the list of reserved names please see:
|
|
14719
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14720
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14721
|
+
* JSPB instance for transitional soy proto support:
|
|
14722
|
+
* http://goto/soy-param-migration
|
|
14723
|
+
* @return {!Object}
|
|
14724
|
+
*/
|
|
14725
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14726
|
+
return proto.lansweeper.multitenant.v1.AllProfileExistsResponse.toObject(opt_includeInstance, this);
|
|
14727
|
+
};
|
|
14728
|
+
|
|
14729
|
+
|
|
14730
|
+
/**
|
|
14731
|
+
* Static version of the {@see toObject} method.
|
|
14732
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14733
|
+
* the JSPB instance for transitional soy proto support:
|
|
14734
|
+
* http://goto/soy-param-migration
|
|
14735
|
+
* @param {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse} msg The msg instance to transform.
|
|
14736
|
+
* @return {!Object}
|
|
14737
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14738
|
+
*/
|
|
14739
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.toObject = function(includeInstance, msg) {
|
|
14740
|
+
var f, obj = {
|
|
14741
|
+
all: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
14742
|
+
};
|
|
14743
|
+
|
|
14744
|
+
if (includeInstance) {
|
|
14745
|
+
obj.$jspbMessageInstance = msg;
|
|
14746
|
+
}
|
|
14747
|
+
return obj;
|
|
14748
|
+
};
|
|
14749
|
+
}
|
|
14750
|
+
|
|
14751
|
+
|
|
14752
|
+
/**
|
|
14753
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14754
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14755
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse}
|
|
14756
|
+
*/
|
|
14757
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.deserializeBinary = function(bytes) {
|
|
14758
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14759
|
+
var msg = new proto.lansweeper.multitenant.v1.AllProfileExistsResponse;
|
|
14760
|
+
return proto.lansweeper.multitenant.v1.AllProfileExistsResponse.deserializeBinaryFromReader(msg, reader);
|
|
14761
|
+
};
|
|
14762
|
+
|
|
14763
|
+
|
|
14764
|
+
/**
|
|
14765
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14766
|
+
* given reader into the given message object.
|
|
14767
|
+
* @param {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse} msg The message object to deserialize into.
|
|
14768
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14769
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse}
|
|
14770
|
+
*/
|
|
14771
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
14772
|
+
while (reader.nextField()) {
|
|
14773
|
+
if (reader.isEndGroup()) {
|
|
14774
|
+
break;
|
|
14775
|
+
}
|
|
14776
|
+
var field = reader.getFieldNumber();
|
|
14777
|
+
switch (field) {
|
|
14778
|
+
case 1:
|
|
14779
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14780
|
+
msg.setAll(value);
|
|
14781
|
+
break;
|
|
14782
|
+
default:
|
|
14783
|
+
reader.skipField();
|
|
14784
|
+
break;
|
|
14785
|
+
}
|
|
14786
|
+
}
|
|
14787
|
+
return msg;
|
|
14788
|
+
};
|
|
14789
|
+
|
|
14790
|
+
|
|
14791
|
+
/**
|
|
14792
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14793
|
+
* @return {!Uint8Array}
|
|
14794
|
+
*/
|
|
14795
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.prototype.serializeBinary = function() {
|
|
14796
|
+
var writer = new jspb.BinaryWriter();
|
|
14797
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.serializeBinaryToWriter(this, writer);
|
|
14798
|
+
return writer.getResultBuffer();
|
|
14799
|
+
};
|
|
14800
|
+
|
|
14801
|
+
|
|
14802
|
+
/**
|
|
14803
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14804
|
+
* format), writing to the given BinaryWriter.
|
|
14805
|
+
* @param {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse} message
|
|
14806
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14807
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14808
|
+
*/
|
|
14809
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
14810
|
+
var f = undefined;
|
|
14811
|
+
f = message.getAll();
|
|
14812
|
+
if (f) {
|
|
14813
|
+
writer.writeBool(
|
|
14814
|
+
1,
|
|
14815
|
+
f
|
|
14816
|
+
);
|
|
14817
|
+
}
|
|
14818
|
+
};
|
|
14819
|
+
|
|
14820
|
+
|
|
14821
|
+
/**
|
|
14822
|
+
* optional bool all = 1;
|
|
14823
|
+
* @return {boolean}
|
|
14824
|
+
*/
|
|
14825
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.prototype.getAll = function() {
|
|
14826
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
14827
|
+
};
|
|
14828
|
+
|
|
14829
|
+
|
|
14830
|
+
/**
|
|
14831
|
+
* @param {boolean} value
|
|
14832
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse} returns this
|
|
14833
|
+
*/
|
|
14834
|
+
proto.lansweeper.multitenant.v1.AllProfileExistsResponse.prototype.setAll = function(value) {
|
|
14835
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
14836
|
+
};
|
|
14837
|
+
|
|
14838
|
+
|
|
14232
14839
|
/**
|
|
14233
14840
|
* @enum {number}
|
|
14234
14841
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/multitenant-api-grpc",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.22",
|
|
4
4
|
"description": "Multitenant grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@grpc/grpc-js": "^1.6.2"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "887bcba7540511fa6fe88e314cea6fb9833ee53f"
|
|
19
19
|
}
|