@lansweeper/multitenant-api-grpc 0.4.51 → 0.4.53
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/limits/limits_pb.d.ts +26 -0
- package/gen-proto/limits/limits_pb.js +204 -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 +167 -0
- package/gen-proto/multitenant_pb.js +1692 -318
- package/generated-go/multitenant.pb.go +1130 -580
- package/generated-go/multitenant_grpc.pb.go +74 -0
- package/package.json +2 -2
- package/proto/limits/limits.proto +5 -0
- package/proto/multitenant.proto +40 -0
|
@@ -165,6 +165,26 @@ export namespace Scopes {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
+
export class Attachments extends jspb.Message {
|
|
169
|
+
getMaxBytesPerAsset(): number;
|
|
170
|
+
setMaxBytesPerAsset(value: number): Attachments;
|
|
171
|
+
|
|
172
|
+
serializeBinary(): Uint8Array;
|
|
173
|
+
toObject(includeInstance?: boolean): Attachments.AsObject;
|
|
174
|
+
static toObject(includeInstance: boolean, msg: Attachments): Attachments.AsObject;
|
|
175
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
176
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
177
|
+
static serializeBinaryToWriter(message: Attachments, writer: jspb.BinaryWriter): void;
|
|
178
|
+
static deserializeBinary(bytes: Uint8Array): Attachments;
|
|
179
|
+
static deserializeBinaryFromReader(message: Attachments, reader: jspb.BinaryReader): Attachments;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export namespace Attachments {
|
|
183
|
+
export type AsObject = {
|
|
184
|
+
maxBytesPerAsset: number,
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
168
188
|
export class SiteLimits extends jspb.Message {
|
|
169
189
|
getTier(): SiteLimitsTiers;
|
|
170
190
|
setTier(value: SiteLimitsTiers): SiteLimits;
|
|
@@ -184,6 +204,11 @@ export class SiteLimits extends jspb.Message {
|
|
|
184
204
|
getScopes(): Scopes | undefined;
|
|
185
205
|
setScopes(value?: Scopes): SiteLimits;
|
|
186
206
|
|
|
207
|
+
hasAttachments(): boolean;
|
|
208
|
+
clearAttachments(): void;
|
|
209
|
+
getAttachments(): Attachments | undefined;
|
|
210
|
+
setAttachments(value?: Attachments): SiteLimits;
|
|
211
|
+
|
|
187
212
|
serializeBinary(): Uint8Array;
|
|
188
213
|
toObject(includeInstance?: boolean): SiteLimits.AsObject;
|
|
189
214
|
static toObject(includeInstance: boolean, msg: SiteLimits): SiteLimits.AsObject;
|
|
@@ -200,6 +225,7 @@ export namespace SiteLimits {
|
|
|
200
225
|
riskInsights?: RiskInsights.AsObject,
|
|
201
226
|
assets?: Assets.AsObject,
|
|
202
227
|
scopes?: Scopes.AsObject,
|
|
228
|
+
attachments?: Attachments.AsObject,
|
|
203
229
|
}
|
|
204
230
|
}
|
|
205
231
|
|
|
@@ -24,6 +24,7 @@ var global = (function() {
|
|
|
24
24
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
26
|
goog.exportSymbol('proto.lansweeper.shared.limits.v1.Assets', null, global);
|
|
27
|
+
goog.exportSymbol('proto.lansweeper.shared.limits.v1.Attachments', null, global);
|
|
27
28
|
goog.exportSymbol('proto.lansweeper.shared.limits.v1.BaseLimit', null, global);
|
|
28
29
|
goog.exportSymbol('proto.lansweeper.shared.limits.v1.CalculateRiskInsights', null, global);
|
|
29
30
|
goog.exportSymbol('proto.lansweeper.shared.limits.v1.ExpirableAllowedEntities', null, global);
|
|
@@ -158,6 +159,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
158
159
|
*/
|
|
159
160
|
proto.lansweeper.shared.limits.v1.Scopes.displayName = 'proto.lansweeper.shared.limits.v1.Scopes';
|
|
160
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* Generated by JsPbCodeGenerator.
|
|
164
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
165
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
166
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
167
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
168
|
+
* valid.
|
|
169
|
+
* @extends {jspb.Message}
|
|
170
|
+
* @constructor
|
|
171
|
+
*/
|
|
172
|
+
proto.lansweeper.shared.limits.v1.Attachments = function(opt_data) {
|
|
173
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
174
|
+
};
|
|
175
|
+
goog.inherits(proto.lansweeper.shared.limits.v1.Attachments, jspb.Message);
|
|
176
|
+
if (goog.DEBUG && !COMPILED) {
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
* @override
|
|
180
|
+
*/
|
|
181
|
+
proto.lansweeper.shared.limits.v1.Attachments.displayName = 'proto.lansweeper.shared.limits.v1.Attachments';
|
|
182
|
+
}
|
|
161
183
|
/**
|
|
162
184
|
* Generated by JsPbCodeGenerator.
|
|
163
185
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1280,6 +1302,136 @@ proto.lansweeper.shared.limits.v1.Scopes.prototype.setCreateMax = function(value
|
|
|
1280
1302
|
|
|
1281
1303
|
|
|
1282
1304
|
|
|
1305
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1306
|
+
/**
|
|
1307
|
+
* Creates an object representation of this proto.
|
|
1308
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1309
|
+
* Optional fields that are not set will be set to undefined.
|
|
1310
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1311
|
+
* For the list of reserved names please see:
|
|
1312
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1313
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1314
|
+
* JSPB instance for transitional soy proto support:
|
|
1315
|
+
* http://goto/soy-param-migration
|
|
1316
|
+
* @return {!Object}
|
|
1317
|
+
*/
|
|
1318
|
+
proto.lansweeper.shared.limits.v1.Attachments.prototype.toObject = function(opt_includeInstance) {
|
|
1319
|
+
return proto.lansweeper.shared.limits.v1.Attachments.toObject(opt_includeInstance, this);
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* Static version of the {@see toObject} method.
|
|
1325
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1326
|
+
* the JSPB instance for transitional soy proto support:
|
|
1327
|
+
* http://goto/soy-param-migration
|
|
1328
|
+
* @param {!proto.lansweeper.shared.limits.v1.Attachments} msg The msg instance to transform.
|
|
1329
|
+
* @return {!Object}
|
|
1330
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1331
|
+
*/
|
|
1332
|
+
proto.lansweeper.shared.limits.v1.Attachments.toObject = function(includeInstance, msg) {
|
|
1333
|
+
var f, obj = {
|
|
1334
|
+
maxBytesPerAsset: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
if (includeInstance) {
|
|
1338
|
+
obj.$jspbMessageInstance = msg;
|
|
1339
|
+
}
|
|
1340
|
+
return obj;
|
|
1341
|
+
};
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1347
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1348
|
+
* @return {!proto.lansweeper.shared.limits.v1.Attachments}
|
|
1349
|
+
*/
|
|
1350
|
+
proto.lansweeper.shared.limits.v1.Attachments.deserializeBinary = function(bytes) {
|
|
1351
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1352
|
+
var msg = new proto.lansweeper.shared.limits.v1.Attachments;
|
|
1353
|
+
return proto.lansweeper.shared.limits.v1.Attachments.deserializeBinaryFromReader(msg, reader);
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1359
|
+
* given reader into the given message object.
|
|
1360
|
+
* @param {!proto.lansweeper.shared.limits.v1.Attachments} msg The message object to deserialize into.
|
|
1361
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1362
|
+
* @return {!proto.lansweeper.shared.limits.v1.Attachments}
|
|
1363
|
+
*/
|
|
1364
|
+
proto.lansweeper.shared.limits.v1.Attachments.deserializeBinaryFromReader = function(msg, reader) {
|
|
1365
|
+
while (reader.nextField()) {
|
|
1366
|
+
if (reader.isEndGroup()) {
|
|
1367
|
+
break;
|
|
1368
|
+
}
|
|
1369
|
+
var field = reader.getFieldNumber();
|
|
1370
|
+
switch (field) {
|
|
1371
|
+
case 1:
|
|
1372
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1373
|
+
msg.setMaxBytesPerAsset(value);
|
|
1374
|
+
break;
|
|
1375
|
+
default:
|
|
1376
|
+
reader.skipField();
|
|
1377
|
+
break;
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
return msg;
|
|
1381
|
+
};
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1386
|
+
* @return {!Uint8Array}
|
|
1387
|
+
*/
|
|
1388
|
+
proto.lansweeper.shared.limits.v1.Attachments.prototype.serializeBinary = function() {
|
|
1389
|
+
var writer = new jspb.BinaryWriter();
|
|
1390
|
+
proto.lansweeper.shared.limits.v1.Attachments.serializeBinaryToWriter(this, writer);
|
|
1391
|
+
return writer.getResultBuffer();
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1397
|
+
* format), writing to the given BinaryWriter.
|
|
1398
|
+
* @param {!proto.lansweeper.shared.limits.v1.Attachments} message
|
|
1399
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1400
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1401
|
+
*/
|
|
1402
|
+
proto.lansweeper.shared.limits.v1.Attachments.serializeBinaryToWriter = function(message, writer) {
|
|
1403
|
+
var f = undefined;
|
|
1404
|
+
f = message.getMaxBytesPerAsset();
|
|
1405
|
+
if (f !== 0) {
|
|
1406
|
+
writer.writeInt32(
|
|
1407
|
+
1,
|
|
1408
|
+
f
|
|
1409
|
+
);
|
|
1410
|
+
}
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* optional int32 max_bytes_per_asset = 1;
|
|
1416
|
+
* @return {number}
|
|
1417
|
+
*/
|
|
1418
|
+
proto.lansweeper.shared.limits.v1.Attachments.prototype.getMaxBytesPerAsset = function() {
|
|
1419
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1420
|
+
};
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* @param {number} value
|
|
1425
|
+
* @return {!proto.lansweeper.shared.limits.v1.Attachments} returns this
|
|
1426
|
+
*/
|
|
1427
|
+
proto.lansweeper.shared.limits.v1.Attachments.prototype.setMaxBytesPerAsset = function(value) {
|
|
1428
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
|
|
1283
1435
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1284
1436
|
/**
|
|
1285
1437
|
* Creates an object representation of this proto.
|
|
@@ -1312,7 +1464,8 @@ proto.lansweeper.shared.limits.v1.SiteLimits.toObject = function(includeInstance
|
|
|
1312
1464
|
tier: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1313
1465
|
riskInsights: (f = msg.getRiskInsights()) && proto.lansweeper.shared.limits.v1.RiskInsights.toObject(includeInstance, f),
|
|
1314
1466
|
assets: (f = msg.getAssets()) && proto.lansweeper.shared.limits.v1.Assets.toObject(includeInstance, f),
|
|
1315
|
-
scopes: (f = msg.getScopes()) && proto.lansweeper.shared.limits.v1.Scopes.toObject(includeInstance, f)
|
|
1467
|
+
scopes: (f = msg.getScopes()) && proto.lansweeper.shared.limits.v1.Scopes.toObject(includeInstance, f),
|
|
1468
|
+
attachments: (f = msg.getAttachments()) && proto.lansweeper.shared.limits.v1.Attachments.toObject(includeInstance, f)
|
|
1316
1469
|
};
|
|
1317
1470
|
|
|
1318
1471
|
if (includeInstance) {
|
|
@@ -1368,6 +1521,11 @@ proto.lansweeper.shared.limits.v1.SiteLimits.deserializeBinaryFromReader = funct
|
|
|
1368
1521
|
reader.readMessage(value,proto.lansweeper.shared.limits.v1.Scopes.deserializeBinaryFromReader);
|
|
1369
1522
|
msg.setScopes(value);
|
|
1370
1523
|
break;
|
|
1524
|
+
case 6:
|
|
1525
|
+
var value = new proto.lansweeper.shared.limits.v1.Attachments;
|
|
1526
|
+
reader.readMessage(value,proto.lansweeper.shared.limits.v1.Attachments.deserializeBinaryFromReader);
|
|
1527
|
+
msg.setAttachments(value);
|
|
1528
|
+
break;
|
|
1371
1529
|
default:
|
|
1372
1530
|
reader.skipField();
|
|
1373
1531
|
break;
|
|
@@ -1428,6 +1586,14 @@ proto.lansweeper.shared.limits.v1.SiteLimits.serializeBinaryToWriter = function(
|
|
|
1428
1586
|
proto.lansweeper.shared.limits.v1.Scopes.serializeBinaryToWriter
|
|
1429
1587
|
);
|
|
1430
1588
|
}
|
|
1589
|
+
f = message.getAttachments();
|
|
1590
|
+
if (f != null) {
|
|
1591
|
+
writer.writeMessage(
|
|
1592
|
+
6,
|
|
1593
|
+
f,
|
|
1594
|
+
proto.lansweeper.shared.limits.v1.Attachments.serializeBinaryToWriter
|
|
1595
|
+
);
|
|
1596
|
+
}
|
|
1431
1597
|
};
|
|
1432
1598
|
|
|
1433
1599
|
|
|
@@ -1560,6 +1726,43 @@ proto.lansweeper.shared.limits.v1.SiteLimits.prototype.hasScopes = function() {
|
|
|
1560
1726
|
};
|
|
1561
1727
|
|
|
1562
1728
|
|
|
1729
|
+
/**
|
|
1730
|
+
* optional Attachments attachments = 6;
|
|
1731
|
+
* @return {?proto.lansweeper.shared.limits.v1.Attachments}
|
|
1732
|
+
*/
|
|
1733
|
+
proto.lansweeper.shared.limits.v1.SiteLimits.prototype.getAttachments = function() {
|
|
1734
|
+
return /** @type{?proto.lansweeper.shared.limits.v1.Attachments} */ (
|
|
1735
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.shared.limits.v1.Attachments, 6));
|
|
1736
|
+
};
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* @param {?proto.lansweeper.shared.limits.v1.Attachments|undefined} value
|
|
1741
|
+
* @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
|
|
1742
|
+
*/
|
|
1743
|
+
proto.lansweeper.shared.limits.v1.SiteLimits.prototype.setAttachments = function(value) {
|
|
1744
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1745
|
+
};
|
|
1746
|
+
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* Clears the message field making it undefined.
|
|
1750
|
+
* @return {!proto.lansweeper.shared.limits.v1.SiteLimits} returns this
|
|
1751
|
+
*/
|
|
1752
|
+
proto.lansweeper.shared.limits.v1.SiteLimits.prototype.clearAttachments = function() {
|
|
1753
|
+
return this.setAttachments(undefined);
|
|
1754
|
+
};
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* Returns whether this field is set.
|
|
1759
|
+
* @return {boolean}
|
|
1760
|
+
*/
|
|
1761
|
+
proto.lansweeper.shared.limits.v1.SiteLimits.prototype.hasAttachments = function() {
|
|
1762
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1763
|
+
};
|
|
1764
|
+
|
|
1765
|
+
|
|
1563
1766
|
/**
|
|
1564
1767
|
* @enum {number}
|
|
1565
1768
|
*/
|
|
@@ -49,6 +49,8 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
49
49
|
updateSiteMetadata: IMultitenantService_IUpdateSiteMetadata;
|
|
50
50
|
getSiteLimits: IMultitenantService_IGetSiteLimits;
|
|
51
51
|
getMsmpOrganizationList: IMultitenantService_IGetMsmpOrganizationList;
|
|
52
|
+
getMsmpOrganizationAccount: IMultitenantService_IGetMsmpOrganizationAccount;
|
|
53
|
+
getSitesByMsmpOrganizationId: IMultitenantService_IGetSitesByMsmpOrganizationId;
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
|
|
@@ -411,6 +413,24 @@ interface IMultitenantService_IGetMsmpOrganizationList extends grpc.MethodDefini
|
|
|
411
413
|
responseSerialize: grpc.serialize<multitenant_pb.GetMsmpOrganizationListResponse>;
|
|
412
414
|
responseDeserialize: grpc.deserialize<multitenant_pb.GetMsmpOrganizationListResponse>;
|
|
413
415
|
}
|
|
416
|
+
interface IMultitenantService_IGetMsmpOrganizationAccount extends grpc.MethodDefinition<multitenant_pb.GetMsmpOrganizationAccountRequest, multitenant_pb.GetMsmpOrganizationAccountResponse> {
|
|
417
|
+
path: "/lansweeper.multitenant.v1.Multitenant/GetMsmpOrganizationAccount";
|
|
418
|
+
requestStream: false;
|
|
419
|
+
responseStream: false;
|
|
420
|
+
requestSerialize: grpc.serialize<multitenant_pb.GetMsmpOrganizationAccountRequest>;
|
|
421
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.GetMsmpOrganizationAccountRequest>;
|
|
422
|
+
responseSerialize: grpc.serialize<multitenant_pb.GetMsmpOrganizationAccountResponse>;
|
|
423
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.GetMsmpOrganizationAccountResponse>;
|
|
424
|
+
}
|
|
425
|
+
interface IMultitenantService_IGetSitesByMsmpOrganizationId extends grpc.MethodDefinition<multitenant_pb.GetSitesByMsmpOrganizationIdRequest, multitenant_pb.GetSitesByMsmpOrganizationIdResponse> {
|
|
426
|
+
path: "/lansweeper.multitenant.v1.Multitenant/GetSitesByMsmpOrganizationId";
|
|
427
|
+
requestStream: false;
|
|
428
|
+
responseStream: false;
|
|
429
|
+
requestSerialize: grpc.serialize<multitenant_pb.GetSitesByMsmpOrganizationIdRequest>;
|
|
430
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.GetSitesByMsmpOrganizationIdRequest>;
|
|
431
|
+
responseSerialize: grpc.serialize<multitenant_pb.GetSitesByMsmpOrganizationIdResponse>;
|
|
432
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.GetSitesByMsmpOrganizationIdResponse>;
|
|
433
|
+
}
|
|
414
434
|
|
|
415
435
|
export const MultitenantService: IMultitenantService;
|
|
416
436
|
|
|
@@ -455,6 +475,8 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
455
475
|
updateSiteMetadata: grpc.handleUnaryCall<multitenant_pb.UpdateSiteMetadataRequest, multitenant_pb.UpdateSiteMetadataResponse>;
|
|
456
476
|
getSiteLimits: grpc.handleUnaryCall<multitenant_pb.GetSiteLimitsRequest, multitenant_pb.GetSiteLimitsResponse>;
|
|
457
477
|
getMsmpOrganizationList: grpc.handleUnaryCall<multitenant_pb.GetMsmpOrganizationListRequest, multitenant_pb.GetMsmpOrganizationListResponse>;
|
|
478
|
+
getMsmpOrganizationAccount: grpc.handleUnaryCall<multitenant_pb.GetMsmpOrganizationAccountRequest, multitenant_pb.GetMsmpOrganizationAccountResponse>;
|
|
479
|
+
getSitesByMsmpOrganizationId: grpc.handleUnaryCall<multitenant_pb.GetSitesByMsmpOrganizationIdRequest, multitenant_pb.GetSitesByMsmpOrganizationIdResponse>;
|
|
458
480
|
}
|
|
459
481
|
|
|
460
482
|
export interface IMultitenantClient {
|
|
@@ -578,6 +600,12 @@ export interface IMultitenantClient {
|
|
|
578
600
|
getMsmpOrganizationList(request: multitenant_pb.GetMsmpOrganizationListRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationListResponse) => void): grpc.ClientUnaryCall;
|
|
579
601
|
getMsmpOrganizationList(request: multitenant_pb.GetMsmpOrganizationListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationListResponse) => void): grpc.ClientUnaryCall;
|
|
580
602
|
getMsmpOrganizationList(request: multitenant_pb.GetMsmpOrganizationListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationListResponse) => void): grpc.ClientUnaryCall;
|
|
603
|
+
getMsmpOrganizationAccount(request: multitenant_pb.GetMsmpOrganizationAccountRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationAccountResponse) => void): grpc.ClientUnaryCall;
|
|
604
|
+
getMsmpOrganizationAccount(request: multitenant_pb.GetMsmpOrganizationAccountRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationAccountResponse) => void): grpc.ClientUnaryCall;
|
|
605
|
+
getMsmpOrganizationAccount(request: multitenant_pb.GetMsmpOrganizationAccountRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationAccountResponse) => void): grpc.ClientUnaryCall;
|
|
606
|
+
getSitesByMsmpOrganizationId(request: multitenant_pb.GetSitesByMsmpOrganizationIdRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitesByMsmpOrganizationIdResponse) => void): grpc.ClientUnaryCall;
|
|
607
|
+
getSitesByMsmpOrganizationId(request: multitenant_pb.GetSitesByMsmpOrganizationIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitesByMsmpOrganizationIdResponse) => void): grpc.ClientUnaryCall;
|
|
608
|
+
getSitesByMsmpOrganizationId(request: multitenant_pb.GetSitesByMsmpOrganizationIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitesByMsmpOrganizationIdResponse) => void): grpc.ClientUnaryCall;
|
|
581
609
|
}
|
|
582
610
|
|
|
583
611
|
export class MultitenantClient extends grpc.Client implements IMultitenantClient {
|
|
@@ -702,4 +730,10 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
702
730
|
public getMsmpOrganizationList(request: multitenant_pb.GetMsmpOrganizationListRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationListResponse) => void): grpc.ClientUnaryCall;
|
|
703
731
|
public getMsmpOrganizationList(request: multitenant_pb.GetMsmpOrganizationListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationListResponse) => void): grpc.ClientUnaryCall;
|
|
704
732
|
public getMsmpOrganizationList(request: multitenant_pb.GetMsmpOrganizationListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationListResponse) => void): grpc.ClientUnaryCall;
|
|
733
|
+
public getMsmpOrganizationAccount(request: multitenant_pb.GetMsmpOrganizationAccountRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationAccountResponse) => void): grpc.ClientUnaryCall;
|
|
734
|
+
public getMsmpOrganizationAccount(request: multitenant_pb.GetMsmpOrganizationAccountRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationAccountResponse) => void): grpc.ClientUnaryCall;
|
|
735
|
+
public getMsmpOrganizationAccount(request: multitenant_pb.GetMsmpOrganizationAccountRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetMsmpOrganizationAccountResponse) => void): grpc.ClientUnaryCall;
|
|
736
|
+
public getSitesByMsmpOrganizationId(request: multitenant_pb.GetSitesByMsmpOrganizationIdRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitesByMsmpOrganizationIdResponse) => void): grpc.ClientUnaryCall;
|
|
737
|
+
public getSitesByMsmpOrganizationId(request: multitenant_pb.GetSitesByMsmpOrganizationIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitesByMsmpOrganizationIdResponse) => void): grpc.ClientUnaryCall;
|
|
738
|
+
public getSitesByMsmpOrganizationId(request: multitenant_pb.GetSitesByMsmpOrganizationIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSitesByMsmpOrganizationIdResponse) => void): grpc.ClientUnaryCall;
|
|
705
739
|
}
|
|
@@ -445,6 +445,28 @@ function deserialize_lansweeper_multitenant_v1_GetInstallsForMultipleSitesRespon
|
|
|
445
445
|
return multitenant_pb.GetInstallsForMultipleSitesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
+
function serialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountRequest(arg) {
|
|
449
|
+
if (!(arg instanceof multitenant_pb.GetMsmpOrganizationAccountRequest)) {
|
|
450
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest');
|
|
451
|
+
}
|
|
452
|
+
return Buffer.from(arg.serializeBinary());
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
function deserialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountRequest(buffer_arg) {
|
|
456
|
+
return multitenant_pb.GetMsmpOrganizationAccountRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
function serialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountResponse(arg) {
|
|
460
|
+
if (!(arg instanceof multitenant_pb.GetMsmpOrganizationAccountResponse)) {
|
|
461
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse');
|
|
462
|
+
}
|
|
463
|
+
return Buffer.from(arg.serializeBinary());
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
function deserialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountResponse(buffer_arg) {
|
|
467
|
+
return multitenant_pb.GetMsmpOrganizationAccountResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
468
|
+
}
|
|
469
|
+
|
|
448
470
|
function serialize_lansweeper_multitenant_v1_GetMsmpOrganizationListRequest(arg) {
|
|
449
471
|
if (!(arg instanceof multitenant_pb.GetMsmpOrganizationListRequest)) {
|
|
450
472
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetMsmpOrganizationListRequest');
|
|
@@ -566,6 +588,28 @@ function deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse(buffe
|
|
|
566
588
|
return multitenant_pb.GetSiteSubscriptionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
567
589
|
}
|
|
568
590
|
|
|
591
|
+
function serialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdRequest(arg) {
|
|
592
|
+
if (!(arg instanceof multitenant_pb.GetSitesByMsmpOrganizationIdRequest)) {
|
|
593
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest');
|
|
594
|
+
}
|
|
595
|
+
return Buffer.from(arg.serializeBinary());
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
function deserialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdRequest(buffer_arg) {
|
|
599
|
+
return multitenant_pb.GetSitesByMsmpOrganizationIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
function serialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdResponse(arg) {
|
|
603
|
+
if (!(arg instanceof multitenant_pb.GetSitesByMsmpOrganizationIdResponse)) {
|
|
604
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse');
|
|
605
|
+
}
|
|
606
|
+
return Buffer.from(arg.serializeBinary());
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
function deserialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdResponse(buffer_arg) {
|
|
610
|
+
return multitenant_pb.GetSitesByMsmpOrganizationIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
611
|
+
}
|
|
612
|
+
|
|
569
613
|
function serialize_lansweeper_multitenant_v1_GetUserPermissionsRequest(arg) {
|
|
570
614
|
if (!(arg instanceof multitenant_pb.GetUserPermissionsRequest)) {
|
|
571
615
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetUserPermissionsRequest');
|
|
@@ -1316,6 +1360,28 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
1316
1360
|
responseSerialize: serialize_lansweeper_multitenant_v1_GetMsmpOrganizationListResponse,
|
|
1317
1361
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetMsmpOrganizationListResponse,
|
|
1318
1362
|
},
|
|
1363
|
+
getMsmpOrganizationAccount: {
|
|
1364
|
+
path: '/lansweeper.multitenant.v1.Multitenant/GetMsmpOrganizationAccount',
|
|
1365
|
+
requestStream: false,
|
|
1366
|
+
responseStream: false,
|
|
1367
|
+
requestType: multitenant_pb.GetMsmpOrganizationAccountRequest,
|
|
1368
|
+
responseType: multitenant_pb.GetMsmpOrganizationAccountResponse,
|
|
1369
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountRequest,
|
|
1370
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountRequest,
|
|
1371
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountResponse,
|
|
1372
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountResponse,
|
|
1373
|
+
},
|
|
1374
|
+
getSitesByMsmpOrganizationId: {
|
|
1375
|
+
path: '/lansweeper.multitenant.v1.Multitenant/GetSitesByMsmpOrganizationId',
|
|
1376
|
+
requestStream: false,
|
|
1377
|
+
responseStream: false,
|
|
1378
|
+
requestType: multitenant_pb.GetSitesByMsmpOrganizationIdRequest,
|
|
1379
|
+
responseType: multitenant_pb.GetSitesByMsmpOrganizationIdResponse,
|
|
1380
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdRequest,
|
|
1381
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdRequest,
|
|
1382
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdResponse,
|
|
1383
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdResponse,
|
|
1384
|
+
},
|
|
1319
1385
|
};
|
|
1320
1386
|
|
|
1321
1387
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -2379,6 +2379,58 @@ export namespace GetSiteLimitsResponse {
|
|
|
2379
2379
|
}
|
|
2380
2380
|
}
|
|
2381
2381
|
|
|
2382
|
+
export class MsmpPagination extends jspb.Message {
|
|
2383
|
+
getOffset(): number;
|
|
2384
|
+
setOffset(value: number): MsmpPagination;
|
|
2385
|
+
getLimit(): number;
|
|
2386
|
+
setLimit(value: number): MsmpPagination;
|
|
2387
|
+
|
|
2388
|
+
serializeBinary(): Uint8Array;
|
|
2389
|
+
toObject(includeInstance?: boolean): MsmpPagination.AsObject;
|
|
2390
|
+
static toObject(includeInstance: boolean, msg: MsmpPagination): MsmpPagination.AsObject;
|
|
2391
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2392
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2393
|
+
static serializeBinaryToWriter(message: MsmpPagination, writer: jspb.BinaryWriter): void;
|
|
2394
|
+
static deserializeBinary(bytes: Uint8Array): MsmpPagination;
|
|
2395
|
+
static deserializeBinaryFromReader(message: MsmpPagination, reader: jspb.BinaryReader): MsmpPagination;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
export namespace MsmpPagination {
|
|
2399
|
+
export type AsObject = {
|
|
2400
|
+
offset: number,
|
|
2401
|
+
limit: number,
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
export class MsmpPaginationInfo extends jspb.Message {
|
|
2406
|
+
getTotal(): number;
|
|
2407
|
+
setTotal(value: number): MsmpPaginationInfo;
|
|
2408
|
+
getOffset(): number;
|
|
2409
|
+
setOffset(value: number): MsmpPaginationInfo;
|
|
2410
|
+
getLimit(): number;
|
|
2411
|
+
setLimit(value: number): MsmpPaginationInfo;
|
|
2412
|
+
getHasNextPage(): boolean;
|
|
2413
|
+
setHasNextPage(value: boolean): MsmpPaginationInfo;
|
|
2414
|
+
|
|
2415
|
+
serializeBinary(): Uint8Array;
|
|
2416
|
+
toObject(includeInstance?: boolean): MsmpPaginationInfo.AsObject;
|
|
2417
|
+
static toObject(includeInstance: boolean, msg: MsmpPaginationInfo): MsmpPaginationInfo.AsObject;
|
|
2418
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2419
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2420
|
+
static serializeBinaryToWriter(message: MsmpPaginationInfo, writer: jspb.BinaryWriter): void;
|
|
2421
|
+
static deserializeBinary(bytes: Uint8Array): MsmpPaginationInfo;
|
|
2422
|
+
static deserializeBinaryFromReader(message: MsmpPaginationInfo, reader: jspb.BinaryReader): MsmpPaginationInfo;
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
export namespace MsmpPaginationInfo {
|
|
2426
|
+
export type AsObject = {
|
|
2427
|
+
total: number,
|
|
2428
|
+
offset: number,
|
|
2429
|
+
limit: number,
|
|
2430
|
+
hasNextPage: boolean,
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2382
2434
|
export class GetMsmpOrganizationListRequest extends jspb.Message {
|
|
2383
2435
|
getUserId(): string;
|
|
2384
2436
|
setUserId(value: string): GetMsmpOrganizationListRequest;
|
|
@@ -2515,6 +2567,121 @@ export namespace GetMsmpOrganizationListResponse {
|
|
|
2515
2567
|
|
|
2516
2568
|
}
|
|
2517
2569
|
|
|
2570
|
+
export class GetMsmpOrganizationAccountRequest extends jspb.Message {
|
|
2571
|
+
getUserId(): string;
|
|
2572
|
+
setUserId(value: string): GetMsmpOrganizationAccountRequest;
|
|
2573
|
+
getMsmpOrganizationId(): string;
|
|
2574
|
+
setMsmpOrganizationId(value: string): GetMsmpOrganizationAccountRequest;
|
|
2575
|
+
getTraceId(): string;
|
|
2576
|
+
setTraceId(value: string): GetMsmpOrganizationAccountRequest;
|
|
2577
|
+
|
|
2578
|
+
serializeBinary(): Uint8Array;
|
|
2579
|
+
toObject(includeInstance?: boolean): GetMsmpOrganizationAccountRequest.AsObject;
|
|
2580
|
+
static toObject(includeInstance: boolean, msg: GetMsmpOrganizationAccountRequest): GetMsmpOrganizationAccountRequest.AsObject;
|
|
2581
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2582
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2583
|
+
static serializeBinaryToWriter(message: GetMsmpOrganizationAccountRequest, writer: jspb.BinaryWriter): void;
|
|
2584
|
+
static deserializeBinary(bytes: Uint8Array): GetMsmpOrganizationAccountRequest;
|
|
2585
|
+
static deserializeBinaryFromReader(message: GetMsmpOrganizationAccountRequest, reader: jspb.BinaryReader): GetMsmpOrganizationAccountRequest;
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
export namespace GetMsmpOrganizationAccountRequest {
|
|
2589
|
+
export type AsObject = {
|
|
2590
|
+
userId: string,
|
|
2591
|
+
msmpOrganizationId: string,
|
|
2592
|
+
traceId: string,
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
export class GetMsmpOrganizationAccountResponse extends jspb.Message {
|
|
2597
|
+
getId(): string;
|
|
2598
|
+
setId(value: string): GetMsmpOrganizationAccountResponse;
|
|
2599
|
+
getRole(): string;
|
|
2600
|
+
setRole(value: string): GetMsmpOrganizationAccountResponse;
|
|
2601
|
+
getIsPending(): boolean;
|
|
2602
|
+
setIsPending(value: boolean): GetMsmpOrganizationAccountResponse;
|
|
2603
|
+
getHasAccessedMultiSiteManagementPortal(): boolean;
|
|
2604
|
+
setHasAccessedMultiSiteManagementPortal(value: boolean): GetMsmpOrganizationAccountResponse;
|
|
2605
|
+
|
|
2606
|
+
serializeBinary(): Uint8Array;
|
|
2607
|
+
toObject(includeInstance?: boolean): GetMsmpOrganizationAccountResponse.AsObject;
|
|
2608
|
+
static toObject(includeInstance: boolean, msg: GetMsmpOrganizationAccountResponse): GetMsmpOrganizationAccountResponse.AsObject;
|
|
2609
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2610
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2611
|
+
static serializeBinaryToWriter(message: GetMsmpOrganizationAccountResponse, writer: jspb.BinaryWriter): void;
|
|
2612
|
+
static deserializeBinary(bytes: Uint8Array): GetMsmpOrganizationAccountResponse;
|
|
2613
|
+
static deserializeBinaryFromReader(message: GetMsmpOrganizationAccountResponse, reader: jspb.BinaryReader): GetMsmpOrganizationAccountResponse;
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
export namespace GetMsmpOrganizationAccountResponse {
|
|
2617
|
+
export type AsObject = {
|
|
2618
|
+
id: string,
|
|
2619
|
+
role: string,
|
|
2620
|
+
isPending: boolean,
|
|
2621
|
+
hasAccessedMultiSiteManagementPortal: boolean,
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
export class GetSitesByMsmpOrganizationIdRequest extends jspb.Message {
|
|
2626
|
+
getUserId(): string;
|
|
2627
|
+
setUserId(value: string): GetSitesByMsmpOrganizationIdRequest;
|
|
2628
|
+
getMsmpOrganizationId(): string;
|
|
2629
|
+
setMsmpOrganizationId(value: string): GetSitesByMsmpOrganizationIdRequest;
|
|
2630
|
+
|
|
2631
|
+
hasMsmpPagination(): boolean;
|
|
2632
|
+
clearMsmpPagination(): void;
|
|
2633
|
+
getMsmpPagination(): MsmpPagination | undefined;
|
|
2634
|
+
setMsmpPagination(value?: MsmpPagination): GetSitesByMsmpOrganizationIdRequest;
|
|
2635
|
+
getTraceId(): string;
|
|
2636
|
+
setTraceId(value: string): GetSitesByMsmpOrganizationIdRequest;
|
|
2637
|
+
|
|
2638
|
+
serializeBinary(): Uint8Array;
|
|
2639
|
+
toObject(includeInstance?: boolean): GetSitesByMsmpOrganizationIdRequest.AsObject;
|
|
2640
|
+
static toObject(includeInstance: boolean, msg: GetSitesByMsmpOrganizationIdRequest): GetSitesByMsmpOrganizationIdRequest.AsObject;
|
|
2641
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2642
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2643
|
+
static serializeBinaryToWriter(message: GetSitesByMsmpOrganizationIdRequest, writer: jspb.BinaryWriter): void;
|
|
2644
|
+
static deserializeBinary(bytes: Uint8Array): GetSitesByMsmpOrganizationIdRequest;
|
|
2645
|
+
static deserializeBinaryFromReader(message: GetSitesByMsmpOrganizationIdRequest, reader: jspb.BinaryReader): GetSitesByMsmpOrganizationIdRequest;
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
export namespace GetSitesByMsmpOrganizationIdRequest {
|
|
2649
|
+
export type AsObject = {
|
|
2650
|
+
userId: string,
|
|
2651
|
+
msmpOrganizationId: string,
|
|
2652
|
+
msmpPagination?: MsmpPagination.AsObject,
|
|
2653
|
+
traceId: string,
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
export class GetSitesByMsmpOrganizationIdResponse extends jspb.Message {
|
|
2658
|
+
clearSitesList(): void;
|
|
2659
|
+
getSitesList(): Array<PreviewSite>;
|
|
2660
|
+
setSitesList(value: Array<PreviewSite>): GetSitesByMsmpOrganizationIdResponse;
|
|
2661
|
+
addSites(value?: PreviewSite, index?: number): PreviewSite;
|
|
2662
|
+
|
|
2663
|
+
hasMsmpPaginationInfo(): boolean;
|
|
2664
|
+
clearMsmpPaginationInfo(): void;
|
|
2665
|
+
getMsmpPaginationInfo(): MsmpPaginationInfo | undefined;
|
|
2666
|
+
setMsmpPaginationInfo(value?: MsmpPaginationInfo): GetSitesByMsmpOrganizationIdResponse;
|
|
2667
|
+
|
|
2668
|
+
serializeBinary(): Uint8Array;
|
|
2669
|
+
toObject(includeInstance?: boolean): GetSitesByMsmpOrganizationIdResponse.AsObject;
|
|
2670
|
+
static toObject(includeInstance: boolean, msg: GetSitesByMsmpOrganizationIdResponse): GetSitesByMsmpOrganizationIdResponse.AsObject;
|
|
2671
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2672
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2673
|
+
static serializeBinaryToWriter(message: GetSitesByMsmpOrganizationIdResponse, writer: jspb.BinaryWriter): void;
|
|
2674
|
+
static deserializeBinary(bytes: Uint8Array): GetSitesByMsmpOrganizationIdResponse;
|
|
2675
|
+
static deserializeBinaryFromReader(message: GetSitesByMsmpOrganizationIdResponse, reader: jspb.BinaryReader): GetSitesByMsmpOrganizationIdResponse;
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
export namespace GetSitesByMsmpOrganizationIdResponse {
|
|
2679
|
+
export type AsObject = {
|
|
2680
|
+
sitesList: Array<PreviewSite.AsObject>,
|
|
2681
|
+
msmpPaginationInfo?: MsmpPaginationInfo.AsObject,
|
|
2682
|
+
}
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2518
2685
|
export enum SiteMode {
|
|
2519
2686
|
UNESPECIFIED = 0,
|
|
2520
2687
|
CLOUD_NATIVE = 1,
|