@lansweeper/multitenant-api-grpc 0.4.8 → 0.4.10
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 +131 -0
- package/gen-proto/multitenant_pb.js +1499 -426
- package/package.json +2 -2
- package/proto/multitenant.proto +32 -0
|
@@ -70,6 +70,28 @@ function deserialize_lansweeper_multitenant_v1_CheckManagerInApplicationResponse
|
|
|
70
70
|
return multitenant_pb.CheckManagerInApplicationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
function serialize_lansweeper_multitenant_v1_CreateAndLinkInstallRequest(arg) {
|
|
74
|
+
if (!(arg instanceof multitenant_pb.CreateAndLinkInstallRequest)) {
|
|
75
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.CreateAndLinkInstallRequest');
|
|
76
|
+
}
|
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function deserialize_lansweeper_multitenant_v1_CreateAndLinkInstallRequest(buffer_arg) {
|
|
81
|
+
return multitenant_pb.CreateAndLinkInstallRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function serialize_lansweeper_multitenant_v1_CreateAndLinkInstallResponse(arg) {
|
|
85
|
+
if (!(arg instanceof multitenant_pb.CreateAndLinkInstallResponse)) {
|
|
86
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.CreateAndLinkInstallResponse');
|
|
87
|
+
}
|
|
88
|
+
return Buffer.from(arg.serializeBinary());
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function deserialize_lansweeper_multitenant_v1_CreateAndLinkInstallResponse(buffer_arg) {
|
|
92
|
+
return multitenant_pb.CreateAndLinkInstallResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
93
|
+
}
|
|
94
|
+
|
|
73
95
|
function serialize_lansweeper_multitenant_v1_CreateInstallRequest(arg) {
|
|
74
96
|
if (!(arg instanceof multitenant_pb.CreateInstallRequest)) {
|
|
75
97
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.CreateInstallRequest');
|
|
@@ -268,6 +290,28 @@ function deserialize_lansweeper_multitenant_v1_GetUserPermissionsResponse(buffer
|
|
|
268
290
|
return multitenant_pb.GetUserPermissionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
269
291
|
}
|
|
270
292
|
|
|
293
|
+
function serialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdRequest(arg) {
|
|
294
|
+
if (!(arg instanceof multitenant_pb.LinkTrialInstallByClientIdRequest)) {
|
|
295
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.LinkTrialInstallByClientIdRequest');
|
|
296
|
+
}
|
|
297
|
+
return Buffer.from(arg.serializeBinary());
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
function deserialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdRequest(buffer_arg) {
|
|
301
|
+
return multitenant_pb.LinkTrialInstallByClientIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
function serialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdResponse(arg) {
|
|
305
|
+
if (!(arg instanceof multitenant_pb.LinkTrialInstallByClientIdResponse)) {
|
|
306
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.LinkTrialInstallByClientIdResponse');
|
|
307
|
+
}
|
|
308
|
+
return Buffer.from(arg.serializeBinary());
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
function deserialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdResponse(buffer_arg) {
|
|
312
|
+
return multitenant_pb.LinkTrialInstallByClientIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
313
|
+
}
|
|
314
|
+
|
|
271
315
|
function serialize_lansweeper_multitenant_v1_ListAuthorizedLinkProfilesRequest(arg) {
|
|
272
316
|
if (!(arg instanceof multitenant_pb.ListAuthorizedLinkProfilesRequest)) {
|
|
273
317
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.ListAuthorizedLinkProfilesRequest');
|
|
@@ -534,6 +578,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
534
578
|
responseSerialize: serialize_lansweeper_multitenant_v1_CreateInstallResponse,
|
|
535
579
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_CreateInstallResponse,
|
|
536
580
|
},
|
|
581
|
+
createAndLinkInstall: {
|
|
582
|
+
path: '/lansweeper.multitenant.v1.Multitenant/CreateAndLinkInstall',
|
|
583
|
+
requestStream: false,
|
|
584
|
+
responseStream: false,
|
|
585
|
+
requestType: multitenant_pb.CreateAndLinkInstallRequest,
|
|
586
|
+
responseType: multitenant_pb.CreateAndLinkInstallResponse,
|
|
587
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_CreateAndLinkInstallRequest,
|
|
588
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_CreateAndLinkInstallRequest,
|
|
589
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_CreateAndLinkInstallResponse,
|
|
590
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_CreateAndLinkInstallResponse,
|
|
591
|
+
},
|
|
537
592
|
getInstallsBySite: {
|
|
538
593
|
path: '/lansweeper.multitenant.v1.Multitenant/GetInstallsBySite',
|
|
539
594
|
requestStream: false,
|
|
@@ -589,6 +644,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
589
644
|
responseSerialize: serialize_lansweeper_multitenant_v1_RotateInstallByClientIdResponse,
|
|
590
645
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_RotateInstallByClientIdResponse,
|
|
591
646
|
},
|
|
647
|
+
linkTrialInstallByClientId: {
|
|
648
|
+
path: '/lansweeper.multitenant.v1.Multitenant/LinkTrialInstallByClientId',
|
|
649
|
+
requestStream: false,
|
|
650
|
+
responseStream: false,
|
|
651
|
+
requestType: multitenant_pb.LinkTrialInstallByClientIdRequest,
|
|
652
|
+
responseType: multitenant_pb.LinkTrialInstallByClientIdResponse,
|
|
653
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdRequest,
|
|
654
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdRequest,
|
|
655
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdResponse,
|
|
656
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdResponse,
|
|
657
|
+
},
|
|
592
658
|
unlinkInstallByClientId: {
|
|
593
659
|
path: '/lansweeper.multitenant.v1.Multitenant/UnlinkInstallByClientId',
|
|
594
660
|
requestStream: false,
|
|
@@ -679,6 +679,67 @@ export namespace CreateInstallResponse {
|
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
+
export class CreateAndLinkInstallRequest extends jspb.Message {
|
|
683
|
+
getSiteId(): string;
|
|
684
|
+
setSiteId(value: string): CreateAndLinkInstallRequest;
|
|
685
|
+
getDisplayName(): string;
|
|
686
|
+
setDisplayName(value: string): CreateAndLinkInstallRequest;
|
|
687
|
+
getDescription(): string;
|
|
688
|
+
setDescription(value: string): CreateAndLinkInstallRequest;
|
|
689
|
+
getGlobalId(): string;
|
|
690
|
+
setGlobalId(value: string): CreateAndLinkInstallRequest;
|
|
691
|
+
getType(): InstallType;
|
|
692
|
+
setType(value: InstallType): CreateAndLinkInstallRequest;
|
|
693
|
+
|
|
694
|
+
serializeBinary(): Uint8Array;
|
|
695
|
+
toObject(includeInstance?: boolean): CreateAndLinkInstallRequest.AsObject;
|
|
696
|
+
static toObject(includeInstance: boolean, msg: CreateAndLinkInstallRequest): CreateAndLinkInstallRequest.AsObject;
|
|
697
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
698
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
699
|
+
static serializeBinaryToWriter(message: CreateAndLinkInstallRequest, writer: jspb.BinaryWriter): void;
|
|
700
|
+
static deserializeBinary(bytes: Uint8Array): CreateAndLinkInstallRequest;
|
|
701
|
+
static deserializeBinaryFromReader(message: CreateAndLinkInstallRequest, reader: jspb.BinaryReader): CreateAndLinkInstallRequest;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export namespace CreateAndLinkInstallRequest {
|
|
705
|
+
export type AsObject = {
|
|
706
|
+
siteId: string,
|
|
707
|
+
displayName: string,
|
|
708
|
+
description: string,
|
|
709
|
+
globalId: string,
|
|
710
|
+
type: InstallType,
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export class CreateAndLinkInstallResponse extends jspb.Message {
|
|
715
|
+
|
|
716
|
+
hasInstall(): boolean;
|
|
717
|
+
clearInstall(): void;
|
|
718
|
+
getInstall(): Install | undefined;
|
|
719
|
+
setInstall(value?: Install): CreateAndLinkInstallResponse;
|
|
720
|
+
|
|
721
|
+
hasCredentials(): boolean;
|
|
722
|
+
clearCredentials(): void;
|
|
723
|
+
getCredentials(): InstallCredentials | undefined;
|
|
724
|
+
setCredentials(value?: InstallCredentials): CreateAndLinkInstallResponse;
|
|
725
|
+
|
|
726
|
+
serializeBinary(): Uint8Array;
|
|
727
|
+
toObject(includeInstance?: boolean): CreateAndLinkInstallResponse.AsObject;
|
|
728
|
+
static toObject(includeInstance: boolean, msg: CreateAndLinkInstallResponse): CreateAndLinkInstallResponse.AsObject;
|
|
729
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
730
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
731
|
+
static serializeBinaryToWriter(message: CreateAndLinkInstallResponse, writer: jspb.BinaryWriter): void;
|
|
732
|
+
static deserializeBinary(bytes: Uint8Array): CreateAndLinkInstallResponse;
|
|
733
|
+
static deserializeBinaryFromReader(message: CreateAndLinkInstallResponse, reader: jspb.BinaryReader): CreateAndLinkInstallResponse;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export namespace CreateAndLinkInstallResponse {
|
|
737
|
+
export type AsObject = {
|
|
738
|
+
install?: Install.AsObject,
|
|
739
|
+
credentials?: InstallCredentials.AsObject,
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
682
743
|
export class UpdateInstallByClientIdRequest extends jspb.Message {
|
|
683
744
|
getClientId(): string;
|
|
684
745
|
setClientId(value: string): UpdateInstallByClientIdRequest;
|
|
@@ -872,6 +933,73 @@ export namespace UnlinkInstallByClientIdResponse {
|
|
|
872
933
|
}
|
|
873
934
|
}
|
|
874
935
|
|
|
936
|
+
export class LinkTrialInstallByClientIdRequest extends jspb.Message {
|
|
937
|
+
getClientId(): string;
|
|
938
|
+
setClientId(value: string): LinkTrialInstallByClientIdRequest;
|
|
939
|
+
getDisplayName(): string;
|
|
940
|
+
setDisplayName(value: string): LinkTrialInstallByClientIdRequest;
|
|
941
|
+
getDescription(): string;
|
|
942
|
+
setDescription(value: string): LinkTrialInstallByClientIdRequest;
|
|
943
|
+
getGlobalId(): string;
|
|
944
|
+
setGlobalId(value: string): LinkTrialInstallByClientIdRequest;
|
|
945
|
+
getType(): InstallType;
|
|
946
|
+
setType(value: InstallType): LinkTrialInstallByClientIdRequest;
|
|
947
|
+
|
|
948
|
+
serializeBinary(): Uint8Array;
|
|
949
|
+
toObject(includeInstance?: boolean): LinkTrialInstallByClientIdRequest.AsObject;
|
|
950
|
+
static toObject(includeInstance: boolean, msg: LinkTrialInstallByClientIdRequest): LinkTrialInstallByClientIdRequest.AsObject;
|
|
951
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
952
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
953
|
+
static serializeBinaryToWriter(message: LinkTrialInstallByClientIdRequest, writer: jspb.BinaryWriter): void;
|
|
954
|
+
static deserializeBinary(bytes: Uint8Array): LinkTrialInstallByClientIdRequest;
|
|
955
|
+
static deserializeBinaryFromReader(message: LinkTrialInstallByClientIdRequest, reader: jspb.BinaryReader): LinkTrialInstallByClientIdRequest;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export namespace LinkTrialInstallByClientIdRequest {
|
|
959
|
+
export type AsObject = {
|
|
960
|
+
clientId: string,
|
|
961
|
+
displayName: string,
|
|
962
|
+
description: string,
|
|
963
|
+
globalId: string,
|
|
964
|
+
type: InstallType,
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
export class LinkTrialInstallByClientIdResponse extends jspb.Message {
|
|
969
|
+
|
|
970
|
+
hasInstall(): boolean;
|
|
971
|
+
clearInstall(): void;
|
|
972
|
+
getInstall(): Install | undefined;
|
|
973
|
+
setInstall(value?: Install): LinkTrialInstallByClientIdResponse;
|
|
974
|
+
|
|
975
|
+
hasCredentials(): boolean;
|
|
976
|
+
clearCredentials(): void;
|
|
977
|
+
getCredentials(): InstallCredentials | undefined;
|
|
978
|
+
setCredentials(value?: InstallCredentials): LinkTrialInstallByClientIdResponse;
|
|
979
|
+
|
|
980
|
+
hasSite(): boolean;
|
|
981
|
+
clearSite(): void;
|
|
982
|
+
getSite(): PreviewSite | undefined;
|
|
983
|
+
setSite(value?: PreviewSite): LinkTrialInstallByClientIdResponse;
|
|
984
|
+
|
|
985
|
+
serializeBinary(): Uint8Array;
|
|
986
|
+
toObject(includeInstance?: boolean): LinkTrialInstallByClientIdResponse.AsObject;
|
|
987
|
+
static toObject(includeInstance: boolean, msg: LinkTrialInstallByClientIdResponse): LinkTrialInstallByClientIdResponse.AsObject;
|
|
988
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
989
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
990
|
+
static serializeBinaryToWriter(message: LinkTrialInstallByClientIdResponse, writer: jspb.BinaryWriter): void;
|
|
991
|
+
static deserializeBinary(bytes: Uint8Array): LinkTrialInstallByClientIdResponse;
|
|
992
|
+
static deserializeBinaryFromReader(message: LinkTrialInstallByClientIdResponse, reader: jspb.BinaryReader): LinkTrialInstallByClientIdResponse;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
export namespace LinkTrialInstallByClientIdResponse {
|
|
996
|
+
export type AsObject = {
|
|
997
|
+
install?: Install.AsObject,
|
|
998
|
+
credentials?: InstallCredentials.AsObject,
|
|
999
|
+
site?: PreviewSite.AsObject,
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
|
|
875
1003
|
export class RemoveInstallDataBySiteIdRequest extends jspb.Message {
|
|
876
1004
|
getSiteId(): string;
|
|
877
1005
|
setSiteId(value: string): RemoveInstallDataBySiteIdRequest;
|
|
@@ -1417,6 +1545,8 @@ export class Subscription extends jspb.Message {
|
|
|
1417
1545
|
setAssetsLimit(value: number): Subscription;
|
|
1418
1546
|
getExpirationDate(): string;
|
|
1419
1547
|
setExpirationDate(value: string): Subscription;
|
|
1548
|
+
getCreatedAt(): string;
|
|
1549
|
+
setCreatedAt(value: string): Subscription;
|
|
1420
1550
|
|
|
1421
1551
|
serializeBinary(): Uint8Array;
|
|
1422
1552
|
toObject(includeInstance?: boolean): Subscription.AsObject;
|
|
@@ -1435,6 +1565,7 @@ export namespace Subscription {
|
|
|
1435
1565
|
type: SubscriptionType,
|
|
1436
1566
|
assetsLimit: number,
|
|
1437
1567
|
expirationDate: string,
|
|
1568
|
+
createdAt: string,
|
|
1438
1569
|
}
|
|
1439
1570
|
}
|
|
1440
1571
|
|