@lansweeper/multitenant-api-grpc 0.4.23 → 0.4.25
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 +34 -0
- package/gen-proto/multitenant_grpc_pb.js +66 -0
- package/gen-proto/multitenant_pb.d.ts +80 -0
- package/gen-proto/multitenant_pb.js +608 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +20 -0
|
@@ -52,6 +52,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest
|
|
|
52
52
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountResponse', null, global);
|
|
53
53
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdRequest', null, global);
|
|
54
54
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdResponse', null, global);
|
|
55
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest', null, global);
|
|
56
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse', null, global);
|
|
55
57
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsRequest', null, global);
|
|
56
58
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsResponse', null, global);
|
|
57
59
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsResponse.AuthorizationAction', null, global);
|
|
@@ -80,6 +82,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResp
|
|
|
80
82
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result', null, global);
|
|
81
83
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest', null, global);
|
|
82
84
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse', null, global);
|
|
85
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest', null, global);
|
|
86
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse', null, global);
|
|
83
87
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.Site', null, global);
|
|
84
88
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteMode', null, global);
|
|
85
89
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.Subscription', null, global);
|
|
@@ -1626,6 +1630,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1626
1630
|
*/
|
|
1627
1631
|
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.displayName = 'proto.lansweeper.multitenant.v1.AllProfilesExistResponse';
|
|
1628
1632
|
}
|
|
1633
|
+
/**
|
|
1634
|
+
* Generated by JsPbCodeGenerator.
|
|
1635
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1636
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1637
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1638
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1639
|
+
* valid.
|
|
1640
|
+
* @extends {jspb.Message}
|
|
1641
|
+
* @constructor
|
|
1642
|
+
*/
|
|
1643
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest = function(opt_data) {
|
|
1644
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1645
|
+
};
|
|
1646
|
+
goog.inherits(proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest, jspb.Message);
|
|
1647
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1648
|
+
/**
|
|
1649
|
+
* @public
|
|
1650
|
+
* @override
|
|
1651
|
+
*/
|
|
1652
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.displayName = 'proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest';
|
|
1653
|
+
}
|
|
1654
|
+
/**
|
|
1655
|
+
* Generated by JsPbCodeGenerator.
|
|
1656
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1657
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1658
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1659
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1660
|
+
* valid.
|
|
1661
|
+
* @extends {jspb.Message}
|
|
1662
|
+
* @constructor
|
|
1663
|
+
*/
|
|
1664
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse = function(opt_data) {
|
|
1665
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1666
|
+
};
|
|
1667
|
+
goog.inherits(proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse, jspb.Message);
|
|
1668
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1669
|
+
/**
|
|
1670
|
+
* @public
|
|
1671
|
+
* @override
|
|
1672
|
+
*/
|
|
1673
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.displayName = 'proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse';
|
|
1674
|
+
}
|
|
1675
|
+
/**
|
|
1676
|
+
* Generated by JsPbCodeGenerator.
|
|
1677
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1678
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1679
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1680
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1681
|
+
* valid.
|
|
1682
|
+
* @extends {jspb.Message}
|
|
1683
|
+
* @constructor
|
|
1684
|
+
*/
|
|
1685
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest = function(opt_data) {
|
|
1686
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1687
|
+
};
|
|
1688
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest, jspb.Message);
|
|
1689
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1690
|
+
/**
|
|
1691
|
+
* @public
|
|
1692
|
+
* @override
|
|
1693
|
+
*/
|
|
1694
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.displayName = 'proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest';
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
* Generated by JsPbCodeGenerator.
|
|
1698
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1699
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1700
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1701
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1702
|
+
* valid.
|
|
1703
|
+
* @extends {jspb.Message}
|
|
1704
|
+
* @constructor
|
|
1705
|
+
*/
|
|
1706
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse = function(opt_data) {
|
|
1707
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1708
|
+
};
|
|
1709
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse, jspb.Message);
|
|
1710
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1711
|
+
/**
|
|
1712
|
+
* @public
|
|
1713
|
+
* @override
|
|
1714
|
+
*/
|
|
1715
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse';
|
|
1716
|
+
}
|
|
1629
1717
|
|
|
1630
1718
|
|
|
1631
1719
|
|
|
@@ -15196,6 +15284,526 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.setAll = func
|
|
|
15196
15284
|
};
|
|
15197
15285
|
|
|
15198
15286
|
|
|
15287
|
+
|
|
15288
|
+
|
|
15289
|
+
|
|
15290
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15291
|
+
/**
|
|
15292
|
+
* Creates an object representation of this proto.
|
|
15293
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15294
|
+
* Optional fields that are not set will be set to undefined.
|
|
15295
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15296
|
+
* For the list of reserved names please see:
|
|
15297
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15298
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15299
|
+
* JSPB instance for transitional soy proto support:
|
|
15300
|
+
* http://goto/soy-param-migration
|
|
15301
|
+
* @return {!Object}
|
|
15302
|
+
*/
|
|
15303
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15304
|
+
return proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.toObject(opt_includeInstance, this);
|
|
15305
|
+
};
|
|
15306
|
+
|
|
15307
|
+
|
|
15308
|
+
/**
|
|
15309
|
+
* Static version of the {@see toObject} method.
|
|
15310
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15311
|
+
* the JSPB instance for transitional soy proto support:
|
|
15312
|
+
* http://goto/soy-param-migration
|
|
15313
|
+
* @param {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest} msg The msg instance to transform.
|
|
15314
|
+
* @return {!Object}
|
|
15315
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15316
|
+
*/
|
|
15317
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.toObject = function(includeInstance, msg) {
|
|
15318
|
+
var f, obj = {
|
|
15319
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
15320
|
+
};
|
|
15321
|
+
|
|
15322
|
+
if (includeInstance) {
|
|
15323
|
+
obj.$jspbMessageInstance = msg;
|
|
15324
|
+
}
|
|
15325
|
+
return obj;
|
|
15326
|
+
};
|
|
15327
|
+
}
|
|
15328
|
+
|
|
15329
|
+
|
|
15330
|
+
/**
|
|
15331
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15332
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15333
|
+
* @return {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest}
|
|
15334
|
+
*/
|
|
15335
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.deserializeBinary = function(bytes) {
|
|
15336
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15337
|
+
var msg = new proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest;
|
|
15338
|
+
return proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.deserializeBinaryFromReader(msg, reader);
|
|
15339
|
+
};
|
|
15340
|
+
|
|
15341
|
+
|
|
15342
|
+
/**
|
|
15343
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15344
|
+
* given reader into the given message object.
|
|
15345
|
+
* @param {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest} msg The message object to deserialize into.
|
|
15346
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15347
|
+
* @return {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest}
|
|
15348
|
+
*/
|
|
15349
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15350
|
+
while (reader.nextField()) {
|
|
15351
|
+
if (reader.isEndGroup()) {
|
|
15352
|
+
break;
|
|
15353
|
+
}
|
|
15354
|
+
var field = reader.getFieldNumber();
|
|
15355
|
+
switch (field) {
|
|
15356
|
+
case 1:
|
|
15357
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15358
|
+
msg.setSiteId(value);
|
|
15359
|
+
break;
|
|
15360
|
+
default:
|
|
15361
|
+
reader.skipField();
|
|
15362
|
+
break;
|
|
15363
|
+
}
|
|
15364
|
+
}
|
|
15365
|
+
return msg;
|
|
15366
|
+
};
|
|
15367
|
+
|
|
15368
|
+
|
|
15369
|
+
/**
|
|
15370
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15371
|
+
* @return {!Uint8Array}
|
|
15372
|
+
*/
|
|
15373
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.prototype.serializeBinary = function() {
|
|
15374
|
+
var writer = new jspb.BinaryWriter();
|
|
15375
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.serializeBinaryToWriter(this, writer);
|
|
15376
|
+
return writer.getResultBuffer();
|
|
15377
|
+
};
|
|
15378
|
+
|
|
15379
|
+
|
|
15380
|
+
/**
|
|
15381
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15382
|
+
* format), writing to the given BinaryWriter.
|
|
15383
|
+
* @param {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest} message
|
|
15384
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15385
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15386
|
+
*/
|
|
15387
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15388
|
+
var f = undefined;
|
|
15389
|
+
f = message.getSiteId();
|
|
15390
|
+
if (f.length > 0) {
|
|
15391
|
+
writer.writeString(
|
|
15392
|
+
1,
|
|
15393
|
+
f
|
|
15394
|
+
);
|
|
15395
|
+
}
|
|
15396
|
+
};
|
|
15397
|
+
|
|
15398
|
+
|
|
15399
|
+
/**
|
|
15400
|
+
* optional string site_id = 1;
|
|
15401
|
+
* @return {string}
|
|
15402
|
+
*/
|
|
15403
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.prototype.getSiteId = function() {
|
|
15404
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
15405
|
+
};
|
|
15406
|
+
|
|
15407
|
+
|
|
15408
|
+
/**
|
|
15409
|
+
* @param {string} value
|
|
15410
|
+
* @return {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest} returns this
|
|
15411
|
+
*/
|
|
15412
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest.prototype.setSiteId = function(value) {
|
|
15413
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
15414
|
+
};
|
|
15415
|
+
|
|
15416
|
+
|
|
15417
|
+
|
|
15418
|
+
|
|
15419
|
+
|
|
15420
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15421
|
+
/**
|
|
15422
|
+
* Creates an object representation of this proto.
|
|
15423
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15424
|
+
* Optional fields that are not set will be set to undefined.
|
|
15425
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15426
|
+
* For the list of reserved names please see:
|
|
15427
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15428
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15429
|
+
* JSPB instance for transitional soy proto support:
|
|
15430
|
+
* http://goto/soy-param-migration
|
|
15431
|
+
* @return {!Object}
|
|
15432
|
+
*/
|
|
15433
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15434
|
+
return proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.toObject(opt_includeInstance, this);
|
|
15435
|
+
};
|
|
15436
|
+
|
|
15437
|
+
|
|
15438
|
+
/**
|
|
15439
|
+
* Static version of the {@see toObject} method.
|
|
15440
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15441
|
+
* the JSPB instance for transitional soy proto support:
|
|
15442
|
+
* http://goto/soy-param-migration
|
|
15443
|
+
* @param {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse} msg The msg instance to transform.
|
|
15444
|
+
* @return {!Object}
|
|
15445
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15446
|
+
*/
|
|
15447
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.toObject = function(includeInstance, msg) {
|
|
15448
|
+
var f, obj = {
|
|
15449
|
+
sent: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
15450
|
+
};
|
|
15451
|
+
|
|
15452
|
+
if (includeInstance) {
|
|
15453
|
+
obj.$jspbMessageInstance = msg;
|
|
15454
|
+
}
|
|
15455
|
+
return obj;
|
|
15456
|
+
};
|
|
15457
|
+
}
|
|
15458
|
+
|
|
15459
|
+
|
|
15460
|
+
/**
|
|
15461
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15462
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15463
|
+
* @return {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse}
|
|
15464
|
+
*/
|
|
15465
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.deserializeBinary = function(bytes) {
|
|
15466
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15467
|
+
var msg = new proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse;
|
|
15468
|
+
return proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.deserializeBinaryFromReader(msg, reader);
|
|
15469
|
+
};
|
|
15470
|
+
|
|
15471
|
+
|
|
15472
|
+
/**
|
|
15473
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15474
|
+
* given reader into the given message object.
|
|
15475
|
+
* @param {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse} msg The message object to deserialize into.
|
|
15476
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15477
|
+
* @return {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse}
|
|
15478
|
+
*/
|
|
15479
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
15480
|
+
while (reader.nextField()) {
|
|
15481
|
+
if (reader.isEndGroup()) {
|
|
15482
|
+
break;
|
|
15483
|
+
}
|
|
15484
|
+
var field = reader.getFieldNumber();
|
|
15485
|
+
switch (field) {
|
|
15486
|
+
case 1:
|
|
15487
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
15488
|
+
msg.setSent(value);
|
|
15489
|
+
break;
|
|
15490
|
+
default:
|
|
15491
|
+
reader.skipField();
|
|
15492
|
+
break;
|
|
15493
|
+
}
|
|
15494
|
+
}
|
|
15495
|
+
return msg;
|
|
15496
|
+
};
|
|
15497
|
+
|
|
15498
|
+
|
|
15499
|
+
/**
|
|
15500
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15501
|
+
* @return {!Uint8Array}
|
|
15502
|
+
*/
|
|
15503
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.prototype.serializeBinary = function() {
|
|
15504
|
+
var writer = new jspb.BinaryWriter();
|
|
15505
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.serializeBinaryToWriter(this, writer);
|
|
15506
|
+
return writer.getResultBuffer();
|
|
15507
|
+
};
|
|
15508
|
+
|
|
15509
|
+
|
|
15510
|
+
/**
|
|
15511
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15512
|
+
* format), writing to the given BinaryWriter.
|
|
15513
|
+
* @param {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse} message
|
|
15514
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15515
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15516
|
+
*/
|
|
15517
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.serializeBinaryToWriter = function(message, writer) {
|
|
15518
|
+
var f = undefined;
|
|
15519
|
+
f = message.getSent();
|
|
15520
|
+
if (f) {
|
|
15521
|
+
writer.writeBool(
|
|
15522
|
+
1,
|
|
15523
|
+
f
|
|
15524
|
+
);
|
|
15525
|
+
}
|
|
15526
|
+
};
|
|
15527
|
+
|
|
15528
|
+
|
|
15529
|
+
/**
|
|
15530
|
+
* optional bool sent = 1;
|
|
15531
|
+
* @return {boolean}
|
|
15532
|
+
*/
|
|
15533
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.prototype.getSent = function() {
|
|
15534
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
15535
|
+
};
|
|
15536
|
+
|
|
15537
|
+
|
|
15538
|
+
/**
|
|
15539
|
+
* @param {boolean} value
|
|
15540
|
+
* @return {!proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse} returns this
|
|
15541
|
+
*/
|
|
15542
|
+
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.prototype.setSent = function(value) {
|
|
15543
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
15544
|
+
};
|
|
15545
|
+
|
|
15546
|
+
|
|
15547
|
+
|
|
15548
|
+
|
|
15549
|
+
|
|
15550
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15551
|
+
/**
|
|
15552
|
+
* Creates an object representation of this proto.
|
|
15553
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15554
|
+
* Optional fields that are not set will be set to undefined.
|
|
15555
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15556
|
+
* For the list of reserved names please see:
|
|
15557
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15558
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15559
|
+
* JSPB instance for transitional soy proto support:
|
|
15560
|
+
* http://goto/soy-param-migration
|
|
15561
|
+
* @return {!Object}
|
|
15562
|
+
*/
|
|
15563
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15564
|
+
return proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.toObject(opt_includeInstance, this);
|
|
15565
|
+
};
|
|
15566
|
+
|
|
15567
|
+
|
|
15568
|
+
/**
|
|
15569
|
+
* Static version of the {@see toObject} method.
|
|
15570
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15571
|
+
* the JSPB instance for transitional soy proto support:
|
|
15572
|
+
* http://goto/soy-param-migration
|
|
15573
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest} msg The msg instance to transform.
|
|
15574
|
+
* @return {!Object}
|
|
15575
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15576
|
+
*/
|
|
15577
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.toObject = function(includeInstance, msg) {
|
|
15578
|
+
var f, obj = {
|
|
15579
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
15580
|
+
};
|
|
15581
|
+
|
|
15582
|
+
if (includeInstance) {
|
|
15583
|
+
obj.$jspbMessageInstance = msg;
|
|
15584
|
+
}
|
|
15585
|
+
return obj;
|
|
15586
|
+
};
|
|
15587
|
+
}
|
|
15588
|
+
|
|
15589
|
+
|
|
15590
|
+
/**
|
|
15591
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15592
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15593
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest}
|
|
15594
|
+
*/
|
|
15595
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.deserializeBinary = function(bytes) {
|
|
15596
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15597
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest;
|
|
15598
|
+
return proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.deserializeBinaryFromReader(msg, reader);
|
|
15599
|
+
};
|
|
15600
|
+
|
|
15601
|
+
|
|
15602
|
+
/**
|
|
15603
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15604
|
+
* given reader into the given message object.
|
|
15605
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest} msg The message object to deserialize into.
|
|
15606
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15607
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest}
|
|
15608
|
+
*/
|
|
15609
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15610
|
+
while (reader.nextField()) {
|
|
15611
|
+
if (reader.isEndGroup()) {
|
|
15612
|
+
break;
|
|
15613
|
+
}
|
|
15614
|
+
var field = reader.getFieldNumber();
|
|
15615
|
+
switch (field) {
|
|
15616
|
+
case 1:
|
|
15617
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15618
|
+
msg.setSiteId(value);
|
|
15619
|
+
break;
|
|
15620
|
+
default:
|
|
15621
|
+
reader.skipField();
|
|
15622
|
+
break;
|
|
15623
|
+
}
|
|
15624
|
+
}
|
|
15625
|
+
return msg;
|
|
15626
|
+
};
|
|
15627
|
+
|
|
15628
|
+
|
|
15629
|
+
/**
|
|
15630
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15631
|
+
* @return {!Uint8Array}
|
|
15632
|
+
*/
|
|
15633
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.prototype.serializeBinary = function() {
|
|
15634
|
+
var writer = new jspb.BinaryWriter();
|
|
15635
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.serializeBinaryToWriter(this, writer);
|
|
15636
|
+
return writer.getResultBuffer();
|
|
15637
|
+
};
|
|
15638
|
+
|
|
15639
|
+
|
|
15640
|
+
/**
|
|
15641
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15642
|
+
* format), writing to the given BinaryWriter.
|
|
15643
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest} message
|
|
15644
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15645
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15646
|
+
*/
|
|
15647
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15648
|
+
var f = undefined;
|
|
15649
|
+
f = message.getSiteId();
|
|
15650
|
+
if (f.length > 0) {
|
|
15651
|
+
writer.writeString(
|
|
15652
|
+
1,
|
|
15653
|
+
f
|
|
15654
|
+
);
|
|
15655
|
+
}
|
|
15656
|
+
};
|
|
15657
|
+
|
|
15658
|
+
|
|
15659
|
+
/**
|
|
15660
|
+
* optional string site_id = 1;
|
|
15661
|
+
* @return {string}
|
|
15662
|
+
*/
|
|
15663
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.prototype.getSiteId = function() {
|
|
15664
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
15665
|
+
};
|
|
15666
|
+
|
|
15667
|
+
|
|
15668
|
+
/**
|
|
15669
|
+
* @param {string} value
|
|
15670
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest} returns this
|
|
15671
|
+
*/
|
|
15672
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.prototype.setSiteId = function(value) {
|
|
15673
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
15674
|
+
};
|
|
15675
|
+
|
|
15676
|
+
|
|
15677
|
+
|
|
15678
|
+
|
|
15679
|
+
|
|
15680
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15681
|
+
/**
|
|
15682
|
+
* Creates an object representation of this proto.
|
|
15683
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15684
|
+
* Optional fields that are not set will be set to undefined.
|
|
15685
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15686
|
+
* For the list of reserved names please see:
|
|
15687
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15688
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15689
|
+
* JSPB instance for transitional soy proto support:
|
|
15690
|
+
* http://goto/soy-param-migration
|
|
15691
|
+
* @return {!Object}
|
|
15692
|
+
*/
|
|
15693
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15694
|
+
return proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.toObject(opt_includeInstance, this);
|
|
15695
|
+
};
|
|
15696
|
+
|
|
15697
|
+
|
|
15698
|
+
/**
|
|
15699
|
+
* Static version of the {@see toObject} method.
|
|
15700
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15701
|
+
* the JSPB instance for transitional soy proto support:
|
|
15702
|
+
* http://goto/soy-param-migration
|
|
15703
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse} msg The msg instance to transform.
|
|
15704
|
+
* @return {!Object}
|
|
15705
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15706
|
+
*/
|
|
15707
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.toObject = function(includeInstance, msg) {
|
|
15708
|
+
var f, obj = {
|
|
15709
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
15710
|
+
};
|
|
15711
|
+
|
|
15712
|
+
if (includeInstance) {
|
|
15713
|
+
obj.$jspbMessageInstance = msg;
|
|
15714
|
+
}
|
|
15715
|
+
return obj;
|
|
15716
|
+
};
|
|
15717
|
+
}
|
|
15718
|
+
|
|
15719
|
+
|
|
15720
|
+
/**
|
|
15721
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15722
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15723
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse}
|
|
15724
|
+
*/
|
|
15725
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.deserializeBinary = function(bytes) {
|
|
15726
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15727
|
+
var msg = new proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse;
|
|
15728
|
+
return proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.deserializeBinaryFromReader(msg, reader);
|
|
15729
|
+
};
|
|
15730
|
+
|
|
15731
|
+
|
|
15732
|
+
/**
|
|
15733
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15734
|
+
* given reader into the given message object.
|
|
15735
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse} msg The message object to deserialize into.
|
|
15736
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15737
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse}
|
|
15738
|
+
*/
|
|
15739
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
15740
|
+
while (reader.nextField()) {
|
|
15741
|
+
if (reader.isEndGroup()) {
|
|
15742
|
+
break;
|
|
15743
|
+
}
|
|
15744
|
+
var field = reader.getFieldNumber();
|
|
15745
|
+
switch (field) {
|
|
15746
|
+
case 1:
|
|
15747
|
+
var value = /** @type {!proto.lansweeper.multitenant.v1.SubscriptionType} */ (reader.readEnum());
|
|
15748
|
+
msg.setType(value);
|
|
15749
|
+
break;
|
|
15750
|
+
default:
|
|
15751
|
+
reader.skipField();
|
|
15752
|
+
break;
|
|
15753
|
+
}
|
|
15754
|
+
}
|
|
15755
|
+
return msg;
|
|
15756
|
+
};
|
|
15757
|
+
|
|
15758
|
+
|
|
15759
|
+
/**
|
|
15760
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15761
|
+
* @return {!Uint8Array}
|
|
15762
|
+
*/
|
|
15763
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.prototype.serializeBinary = function() {
|
|
15764
|
+
var writer = new jspb.BinaryWriter();
|
|
15765
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.serializeBinaryToWriter(this, writer);
|
|
15766
|
+
return writer.getResultBuffer();
|
|
15767
|
+
};
|
|
15768
|
+
|
|
15769
|
+
|
|
15770
|
+
/**
|
|
15771
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15772
|
+
* format), writing to the given BinaryWriter.
|
|
15773
|
+
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse} message
|
|
15774
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15775
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15776
|
+
*/
|
|
15777
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
15778
|
+
var f = undefined;
|
|
15779
|
+
f = message.getType();
|
|
15780
|
+
if (f !== 0.0) {
|
|
15781
|
+
writer.writeEnum(
|
|
15782
|
+
1,
|
|
15783
|
+
f
|
|
15784
|
+
);
|
|
15785
|
+
}
|
|
15786
|
+
};
|
|
15787
|
+
|
|
15788
|
+
|
|
15789
|
+
/**
|
|
15790
|
+
* optional SubscriptionType type = 1;
|
|
15791
|
+
* @return {!proto.lansweeper.multitenant.v1.SubscriptionType}
|
|
15792
|
+
*/
|
|
15793
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.prototype.getType = function() {
|
|
15794
|
+
return /** @type {!proto.lansweeper.multitenant.v1.SubscriptionType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15795
|
+
};
|
|
15796
|
+
|
|
15797
|
+
|
|
15798
|
+
/**
|
|
15799
|
+
* @param {!proto.lansweeper.multitenant.v1.SubscriptionType} value
|
|
15800
|
+
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse} returns this
|
|
15801
|
+
*/
|
|
15802
|
+
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.prototype.setType = function(value) {
|
|
15803
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
15804
|
+
};
|
|
15805
|
+
|
|
15806
|
+
|
|
15199
15807
|
/**
|
|
15200
15808
|
* @enum {number}
|
|
15201
15809
|
*/
|
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.25",
|
|
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": "d7f6c88fbe2103dc928ae81c66f8a0a3b9a1fd0a"
|
|
19
19
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -437,6 +437,22 @@ message AllProfilesExistResponse{
|
|
|
437
437
|
bool all = 1;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
+
message SendInviteLocalUsersMailRequest{
|
|
441
|
+
string site_id = 1;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
message SendInviteLocalUsersMailResponse{
|
|
445
|
+
bool sent = 1;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
message GetSiteSubscriptionRequest {
|
|
449
|
+
string site_id = 1;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
message GetSiteSubscriptionResponse {
|
|
453
|
+
SubscriptionType type = 1;
|
|
454
|
+
}
|
|
455
|
+
|
|
440
456
|
service Multitenant {
|
|
441
457
|
rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
|
|
442
458
|
|
|
@@ -491,8 +507,12 @@ service Multitenant {
|
|
|
491
507
|
rpc GetInstallationLicenseByClientId(GetInstallationLicenseByClientIdRequest) returns (GetInstallationLicenseByClientIdResponse) {}
|
|
492
508
|
|
|
493
509
|
rpc AllProfilesExist(AllProfilesExistRequest) returns (AllProfilesExistResponse) {}
|
|
510
|
+
|
|
511
|
+
rpc SendInviteLocalUsersMail(SendInviteLocalUsersMailRequest) returns (SendInviteLocalUsersMailResponse) {}
|
|
494
512
|
|
|
495
513
|
rpc AllProfileExists(AllProfileExistsRequest) returns (AllProfileExistsResponse) {
|
|
496
514
|
option deprecated = true;
|
|
497
515
|
}
|
|
516
|
+
|
|
517
|
+
rpc GetSiteSubscription(GetSiteSubscriptionRequest) returns (GetSiteSubscriptionResponse) {}
|
|
498
518
|
}
|