@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
|
@@ -4,6 +4,28 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var multitenant_pb = require('./multitenant_pb.js');
|
|
6
6
|
|
|
7
|
+
function serialize_lansweeper_multitenant_v1_AllProfileExistsRequest(arg) {
|
|
8
|
+
if (!(arg instanceof multitenant_pb.AllProfileExistsRequest)) {
|
|
9
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.AllProfileExistsRequest');
|
|
10
|
+
}
|
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function deserialize_lansweeper_multitenant_v1_AllProfileExistsRequest(buffer_arg) {
|
|
15
|
+
return multitenant_pb.AllProfileExistsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function serialize_lansweeper_multitenant_v1_AllProfileExistsResponse(arg) {
|
|
19
|
+
if (!(arg instanceof multitenant_pb.AllProfileExistsResponse)) {
|
|
20
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.AllProfileExistsResponse');
|
|
21
|
+
}
|
|
22
|
+
return Buffer.from(arg.serializeBinary());
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function deserialize_lansweeper_multitenant_v1_AllProfileExistsResponse(buffer_arg) {
|
|
26
|
+
return multitenant_pb.AllProfileExistsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
27
|
+
}
|
|
28
|
+
|
|
7
29
|
function serialize_lansweeper_multitenant_v1_AuthorizedSitesRequest(arg) {
|
|
8
30
|
if (!(arg instanceof multitenant_pb.AuthorizedSitesRequest)) {
|
|
9
31
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.AuthorizedSitesRequest');
|
|
@@ -864,6 +886,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
864
886
|
responseSerialize: serialize_lansweeper_multitenant_v1_GetInstallationLicenseByClientIdResponse,
|
|
865
887
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetInstallationLicenseByClientIdResponse,
|
|
866
888
|
},
|
|
889
|
+
allProfileExists: {
|
|
890
|
+
path: '/lansweeper.multitenant.v1.Multitenant/AllProfileExists',
|
|
891
|
+
requestStream: false,
|
|
892
|
+
responseStream: false,
|
|
893
|
+
requestType: multitenant_pb.AllProfileExistsRequest,
|
|
894
|
+
responseType: multitenant_pb.AllProfileExistsResponse,
|
|
895
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_AllProfileExistsRequest,
|
|
896
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_AllProfileExistsRequest,
|
|
897
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_AllProfileExistsResponse,
|
|
898
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_AllProfileExistsResponse,
|
|
899
|
+
},
|
|
867
900
|
};
|
|
868
901
|
|
|
869
902
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -543,6 +543,37 @@ export namespace GetInstallsByIdResponse {
|
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
+
export class NullableInstallType extends jspb.Message {
|
|
547
|
+
|
|
548
|
+
hasData(): boolean;
|
|
549
|
+
clearData(): void;
|
|
550
|
+
getData(): InstallType;
|
|
551
|
+
setData(value: InstallType): NullableInstallType;
|
|
552
|
+
|
|
553
|
+
getKindCase(): NullableInstallType.KindCase;
|
|
554
|
+
|
|
555
|
+
serializeBinary(): Uint8Array;
|
|
556
|
+
toObject(includeInstance?: boolean): NullableInstallType.AsObject;
|
|
557
|
+
static toObject(includeInstance: boolean, msg: NullableInstallType): NullableInstallType.AsObject;
|
|
558
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
559
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
560
|
+
static serializeBinaryToWriter(message: NullableInstallType, writer: jspb.BinaryWriter): void;
|
|
561
|
+
static deserializeBinary(bytes: Uint8Array): NullableInstallType;
|
|
562
|
+
static deserializeBinaryFromReader(message: NullableInstallType, reader: jspb.BinaryReader): NullableInstallType;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export namespace NullableInstallType {
|
|
566
|
+
export type AsObject = {
|
|
567
|
+
data: InstallType,
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export enum KindCase {
|
|
571
|
+
KIND_NOT_SET = 0,
|
|
572
|
+
DATA = 1,
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
}
|
|
576
|
+
|
|
546
577
|
export class GetInstallsBySiteRequest extends jspb.Message {
|
|
547
578
|
getSiteId(): string;
|
|
548
579
|
setSiteId(value: string): GetInstallsBySiteRequest;
|
|
@@ -575,6 +606,11 @@ export namespace GetInstallsBySiteRequest {
|
|
|
575
606
|
getType(): InstallType;
|
|
576
607
|
setType(value: InstallType): Filter;
|
|
577
608
|
|
|
609
|
+
hasInstallType(): boolean;
|
|
610
|
+
clearInstallType(): void;
|
|
611
|
+
getInstallType(): NullableInstallType | undefined;
|
|
612
|
+
setInstallType(value?: NullableInstallType): Filter;
|
|
613
|
+
|
|
578
614
|
serializeBinary(): Uint8Array;
|
|
579
615
|
toObject(includeInstance?: boolean): Filter.AsObject;
|
|
580
616
|
static toObject(includeInstance: boolean, msg: Filter): Filter.AsObject;
|
|
@@ -589,6 +625,7 @@ export namespace GetInstallsBySiteRequest {
|
|
|
589
625
|
export type AsObject = {
|
|
590
626
|
state: InstallStateValue,
|
|
591
627
|
type: InstallType,
|
|
628
|
+
installType?: NullableInstallType.AsObject,
|
|
592
629
|
}
|
|
593
630
|
}
|
|
594
631
|
|
|
@@ -1769,6 +1806,51 @@ export namespace GetInstallationLicenseByClientIdResponse {
|
|
|
1769
1806
|
}
|
|
1770
1807
|
}
|
|
1771
1808
|
|
|
1809
|
+
export class AllProfileExistsRequest extends jspb.Message {
|
|
1810
|
+
getSiteId(): string;
|
|
1811
|
+
setSiteId(value: string): AllProfileExistsRequest;
|
|
1812
|
+
clearEmailsList(): void;
|
|
1813
|
+
getEmailsList(): Array<string>;
|
|
1814
|
+
setEmailsList(value: Array<string>): AllProfileExistsRequest;
|
|
1815
|
+
addEmails(value: string, index?: number): string;
|
|
1816
|
+
|
|
1817
|
+
serializeBinary(): Uint8Array;
|
|
1818
|
+
toObject(includeInstance?: boolean): AllProfileExistsRequest.AsObject;
|
|
1819
|
+
static toObject(includeInstance: boolean, msg: AllProfileExistsRequest): AllProfileExistsRequest.AsObject;
|
|
1820
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1821
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1822
|
+
static serializeBinaryToWriter(message: AllProfileExistsRequest, writer: jspb.BinaryWriter): void;
|
|
1823
|
+
static deserializeBinary(bytes: Uint8Array): AllProfileExistsRequest;
|
|
1824
|
+
static deserializeBinaryFromReader(message: AllProfileExistsRequest, reader: jspb.BinaryReader): AllProfileExistsRequest;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
export namespace AllProfileExistsRequest {
|
|
1828
|
+
export type AsObject = {
|
|
1829
|
+
siteId: string,
|
|
1830
|
+
emailsList: Array<string>,
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
export class AllProfileExistsResponse extends jspb.Message {
|
|
1835
|
+
getAll(): boolean;
|
|
1836
|
+
setAll(value: boolean): AllProfileExistsResponse;
|
|
1837
|
+
|
|
1838
|
+
serializeBinary(): Uint8Array;
|
|
1839
|
+
toObject(includeInstance?: boolean): AllProfileExistsResponse.AsObject;
|
|
1840
|
+
static toObject(includeInstance: boolean, msg: AllProfileExistsResponse): AllProfileExistsResponse.AsObject;
|
|
1841
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1842
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1843
|
+
static serializeBinaryToWriter(message: AllProfileExistsResponse, writer: jspb.BinaryWriter): void;
|
|
1844
|
+
static deserializeBinary(bytes: Uint8Array): AllProfileExistsResponse;
|
|
1845
|
+
static deserializeBinaryFromReader(message: AllProfileExistsResponse, reader: jspb.BinaryReader): AllProfileExistsResponse;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
export namespace AllProfileExistsResponse {
|
|
1849
|
+
export type AsObject = {
|
|
1850
|
+
all: boolean,
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1772
1854
|
export enum SiteMode {
|
|
1773
1855
|
UNESPECIFIED = 0,
|
|
1774
1856
|
CLOUD_NATIVE = 1,
|