@lansweeper/multitenant-api-grpc 0.4.7 → 0.4.9
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 +96 -0
- package/gen-proto/multitenant_pb.js +746 -16
- package/package.json +2 -2
- package/proto/multitenant.proto +31 -0
|
@@ -1406,6 +1406,93 @@ export namespace CheckManagerInApplicationResponse {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
|
|
1409
|
+
export class Subscription extends jspb.Message {
|
|
1410
|
+
getId(): string;
|
|
1411
|
+
setId(value: string): Subscription;
|
|
1412
|
+
getSiteId(): string;
|
|
1413
|
+
setSiteId(value: string): Subscription;
|
|
1414
|
+
getType(): SubscriptionType;
|
|
1415
|
+
setType(value: SubscriptionType): Subscription;
|
|
1416
|
+
getAssetsLimit(): number;
|
|
1417
|
+
setAssetsLimit(value: number): Subscription;
|
|
1418
|
+
getExpirationDate(): string;
|
|
1419
|
+
setExpirationDate(value: string): Subscription;
|
|
1420
|
+
getCreatedAt(): string;
|
|
1421
|
+
setCreatedAt(value: string): Subscription;
|
|
1422
|
+
|
|
1423
|
+
serializeBinary(): Uint8Array;
|
|
1424
|
+
toObject(includeInstance?: boolean): Subscription.AsObject;
|
|
1425
|
+
static toObject(includeInstance: boolean, msg: Subscription): Subscription.AsObject;
|
|
1426
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1427
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1428
|
+
static serializeBinaryToWriter(message: Subscription, writer: jspb.BinaryWriter): void;
|
|
1429
|
+
static deserializeBinary(bytes: Uint8Array): Subscription;
|
|
1430
|
+
static deserializeBinaryFromReader(message: Subscription, reader: jspb.BinaryReader): Subscription;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
export namespace Subscription {
|
|
1434
|
+
export type AsObject = {
|
|
1435
|
+
id: string,
|
|
1436
|
+
siteId: string,
|
|
1437
|
+
type: SubscriptionType,
|
|
1438
|
+
assetsLimit: number,
|
|
1439
|
+
expirationDate: string,
|
|
1440
|
+
createdAt: string,
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
export class UpdateSiteSubscriptionRequest extends jspb.Message {
|
|
1445
|
+
getSiteId(): string;
|
|
1446
|
+
setSiteId(value: string): UpdateSiteSubscriptionRequest;
|
|
1447
|
+
getType(): SubscriptionType;
|
|
1448
|
+
setType(value: SubscriptionType): UpdateSiteSubscriptionRequest;
|
|
1449
|
+
getAssetsLimit(): number;
|
|
1450
|
+
setAssetsLimit(value: number): UpdateSiteSubscriptionRequest;
|
|
1451
|
+
getExpirationDate(): string;
|
|
1452
|
+
setExpirationDate(value: string): UpdateSiteSubscriptionRequest;
|
|
1453
|
+
|
|
1454
|
+
serializeBinary(): Uint8Array;
|
|
1455
|
+
toObject(includeInstance?: boolean): UpdateSiteSubscriptionRequest.AsObject;
|
|
1456
|
+
static toObject(includeInstance: boolean, msg: UpdateSiteSubscriptionRequest): UpdateSiteSubscriptionRequest.AsObject;
|
|
1457
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1458
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1459
|
+
static serializeBinaryToWriter(message: UpdateSiteSubscriptionRequest, writer: jspb.BinaryWriter): void;
|
|
1460
|
+
static deserializeBinary(bytes: Uint8Array): UpdateSiteSubscriptionRequest;
|
|
1461
|
+
static deserializeBinaryFromReader(message: UpdateSiteSubscriptionRequest, reader: jspb.BinaryReader): UpdateSiteSubscriptionRequest;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
export namespace UpdateSiteSubscriptionRequest {
|
|
1465
|
+
export type AsObject = {
|
|
1466
|
+
siteId: string,
|
|
1467
|
+
type: SubscriptionType,
|
|
1468
|
+
assetsLimit: number,
|
|
1469
|
+
expirationDate: string,
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
export class UpdateSiteSubscriptionResponse extends jspb.Message {
|
|
1474
|
+
|
|
1475
|
+
hasSubscription(): boolean;
|
|
1476
|
+
clearSubscription(): void;
|
|
1477
|
+
getSubscription(): Subscription | undefined;
|
|
1478
|
+
setSubscription(value?: Subscription): UpdateSiteSubscriptionResponse;
|
|
1479
|
+
|
|
1480
|
+
serializeBinary(): Uint8Array;
|
|
1481
|
+
toObject(includeInstance?: boolean): UpdateSiteSubscriptionResponse.AsObject;
|
|
1482
|
+
static toObject(includeInstance: boolean, msg: UpdateSiteSubscriptionResponse): UpdateSiteSubscriptionResponse.AsObject;
|
|
1483
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1484
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1485
|
+
static serializeBinaryToWriter(message: UpdateSiteSubscriptionResponse, writer: jspb.BinaryWriter): void;
|
|
1486
|
+
static deserializeBinary(bytes: Uint8Array): UpdateSiteSubscriptionResponse;
|
|
1487
|
+
static deserializeBinaryFromReader(message: UpdateSiteSubscriptionResponse, reader: jspb.BinaryReader): UpdateSiteSubscriptionResponse;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
export namespace UpdateSiteSubscriptionResponse {
|
|
1491
|
+
export type AsObject = {
|
|
1492
|
+
subscription?: Subscription.AsObject,
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1409
1496
|
export enum SiteMode {
|
|
1410
1497
|
UNESPECIFIED = 0,
|
|
1411
1498
|
CLOUD_NATIVE = 1,
|
|
@@ -1424,3 +1511,12 @@ export enum InstallType {
|
|
|
1424
1511
|
IT = 0,
|
|
1425
1512
|
OT = 1,
|
|
1426
1513
|
}
|
|
1514
|
+
|
|
1515
|
+
export enum SubscriptionType {
|
|
1516
|
+
SUBSCRIPTION_TYPE_VALUE_UNESPECIFIED = 0,
|
|
1517
|
+
SUBSCRIPTION_TYPE_VALUE_TRIAL = 1,
|
|
1518
|
+
SUBSCRIPTION_TYPE_VALUE_FREEWARE = 2,
|
|
1519
|
+
SUBSCRIPTION_TYPE_VALUE_STARTER = 3,
|
|
1520
|
+
SUBSCRIPTION_TYPE_VALUE_PRO = 4,
|
|
1521
|
+
SUBSCRIPTION_TYPE_VALUE_ENTERPRISE = 5,
|
|
1522
|
+
}
|