@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
|
@@ -35,7 +35,9 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
35
35
|
createTrialSiteAndInstaller: IMultitenantService_ICreateTrialSiteAndInstaller;
|
|
36
36
|
getInstallationLicenseByClientId: IMultitenantService_IGetInstallationLicenseByClientId;
|
|
37
37
|
allProfilesExist: IMultitenantService_IAllProfilesExist;
|
|
38
|
+
sendInviteLocalUsersMail: IMultitenantService_ISendInviteLocalUsersMail;
|
|
38
39
|
allProfileExists: IMultitenantService_IAllProfileExists;
|
|
40
|
+
getSiteSubscription: IMultitenantService_IGetSiteSubscription;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
|
|
@@ -281,6 +283,15 @@ interface IMultitenantService_IAllProfilesExist extends grpc.MethodDefinition<mu
|
|
|
281
283
|
responseSerialize: grpc.serialize<multitenant_pb.AllProfilesExistResponse>;
|
|
282
284
|
responseDeserialize: grpc.deserialize<multitenant_pb.AllProfilesExistResponse>;
|
|
283
285
|
}
|
|
286
|
+
interface IMultitenantService_ISendInviteLocalUsersMail extends grpc.MethodDefinition<multitenant_pb.SendInviteLocalUsersMailRequest, multitenant_pb.SendInviteLocalUsersMailResponse> {
|
|
287
|
+
path: "/lansweeper.multitenant.v1.Multitenant/SendInviteLocalUsersMail";
|
|
288
|
+
requestStream: false;
|
|
289
|
+
responseStream: false;
|
|
290
|
+
requestSerialize: grpc.serialize<multitenant_pb.SendInviteLocalUsersMailRequest>;
|
|
291
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.SendInviteLocalUsersMailRequest>;
|
|
292
|
+
responseSerialize: grpc.serialize<multitenant_pb.SendInviteLocalUsersMailResponse>;
|
|
293
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.SendInviteLocalUsersMailResponse>;
|
|
294
|
+
}
|
|
284
295
|
interface IMultitenantService_IAllProfileExists extends grpc.MethodDefinition<multitenant_pb.AllProfileExistsRequest, multitenant_pb.AllProfileExistsResponse> {
|
|
285
296
|
path: "/lansweeper.multitenant.v1.Multitenant/AllProfileExists";
|
|
286
297
|
requestStream: false;
|
|
@@ -290,6 +301,15 @@ interface IMultitenantService_IAllProfileExists extends grpc.MethodDefinition<mu
|
|
|
290
301
|
responseSerialize: grpc.serialize<multitenant_pb.AllProfileExistsResponse>;
|
|
291
302
|
responseDeserialize: grpc.deserialize<multitenant_pb.AllProfileExistsResponse>;
|
|
292
303
|
}
|
|
304
|
+
interface IMultitenantService_IGetSiteSubscription extends grpc.MethodDefinition<multitenant_pb.GetSiteSubscriptionRequest, multitenant_pb.GetSiteSubscriptionResponse> {
|
|
305
|
+
path: "/lansweeper.multitenant.v1.Multitenant/GetSiteSubscription";
|
|
306
|
+
requestStream: false;
|
|
307
|
+
responseStream: false;
|
|
308
|
+
requestSerialize: grpc.serialize<multitenant_pb.GetSiteSubscriptionRequest>;
|
|
309
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.GetSiteSubscriptionRequest>;
|
|
310
|
+
responseSerialize: grpc.serialize<multitenant_pb.GetSiteSubscriptionResponse>;
|
|
311
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.GetSiteSubscriptionResponse>;
|
|
312
|
+
}
|
|
293
313
|
|
|
294
314
|
export const MultitenantService: IMultitenantService;
|
|
295
315
|
|
|
@@ -321,7 +341,9 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
321
341
|
createTrialSiteAndInstaller: grpc.handleUnaryCall<multitenant_pb.CreateTrialSiteAndInstallerRequest, multitenant_pb.CreateTrialSiteAndInstallerResponse>;
|
|
322
342
|
getInstallationLicenseByClientId: grpc.handleUnaryCall<multitenant_pb.GetInstallationLicenseByClientIdRequest, multitenant_pb.GetInstallationLicenseByClientIdResponse>;
|
|
323
343
|
allProfilesExist: grpc.handleUnaryCall<multitenant_pb.AllProfilesExistRequest, multitenant_pb.AllProfilesExistResponse>;
|
|
344
|
+
sendInviteLocalUsersMail: grpc.handleUnaryCall<multitenant_pb.SendInviteLocalUsersMailRequest, multitenant_pb.SendInviteLocalUsersMailResponse>;
|
|
324
345
|
allProfileExists: grpc.handleUnaryCall<multitenant_pb.AllProfileExistsRequest, multitenant_pb.AllProfileExistsResponse>;
|
|
346
|
+
getSiteSubscription: grpc.handleUnaryCall<multitenant_pb.GetSiteSubscriptionRequest, multitenant_pb.GetSiteSubscriptionResponse>;
|
|
325
347
|
}
|
|
326
348
|
|
|
327
349
|
export interface IMultitenantClient {
|
|
@@ -406,9 +428,15 @@ export interface IMultitenantClient {
|
|
|
406
428
|
allProfilesExist(request: multitenant_pb.AllProfilesExistRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfilesExistResponse) => void): grpc.ClientUnaryCall;
|
|
407
429
|
allProfilesExist(request: multitenant_pb.AllProfilesExistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfilesExistResponse) => void): grpc.ClientUnaryCall;
|
|
408
430
|
allProfilesExist(request: multitenant_pb.AllProfilesExistRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfilesExistResponse) => void): grpc.ClientUnaryCall;
|
|
431
|
+
sendInviteLocalUsersMail(request: multitenant_pb.SendInviteLocalUsersMailRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.SendInviteLocalUsersMailResponse) => void): grpc.ClientUnaryCall;
|
|
432
|
+
sendInviteLocalUsersMail(request: multitenant_pb.SendInviteLocalUsersMailRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.SendInviteLocalUsersMailResponse) => void): grpc.ClientUnaryCall;
|
|
433
|
+
sendInviteLocalUsersMail(request: multitenant_pb.SendInviteLocalUsersMailRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.SendInviteLocalUsersMailResponse) => void): grpc.ClientUnaryCall;
|
|
409
434
|
allProfileExists(request: multitenant_pb.AllProfileExistsRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
410
435
|
allProfileExists(request: multitenant_pb.AllProfileExistsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
411
436
|
allProfileExists(request: multitenant_pb.AllProfileExistsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
437
|
+
getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
438
|
+
getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
439
|
+
getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
412
440
|
}
|
|
413
441
|
|
|
414
442
|
export class MultitenantClient extends grpc.Client implements IMultitenantClient {
|
|
@@ -494,7 +522,13 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
494
522
|
public allProfilesExist(request: multitenant_pb.AllProfilesExistRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfilesExistResponse) => void): grpc.ClientUnaryCall;
|
|
495
523
|
public allProfilesExist(request: multitenant_pb.AllProfilesExistRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfilesExistResponse) => void): grpc.ClientUnaryCall;
|
|
496
524
|
public allProfilesExist(request: multitenant_pb.AllProfilesExistRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfilesExistResponse) => void): grpc.ClientUnaryCall;
|
|
525
|
+
public sendInviteLocalUsersMail(request: multitenant_pb.SendInviteLocalUsersMailRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.SendInviteLocalUsersMailResponse) => void): grpc.ClientUnaryCall;
|
|
526
|
+
public sendInviteLocalUsersMail(request: multitenant_pb.SendInviteLocalUsersMailRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.SendInviteLocalUsersMailResponse) => void): grpc.ClientUnaryCall;
|
|
527
|
+
public sendInviteLocalUsersMail(request: multitenant_pb.SendInviteLocalUsersMailRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.SendInviteLocalUsersMailResponse) => void): grpc.ClientUnaryCall;
|
|
497
528
|
public allProfileExists(request: multitenant_pb.AllProfileExistsRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
498
529
|
public allProfileExists(request: multitenant_pb.AllProfileExistsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
499
530
|
public allProfileExists(request: multitenant_pb.AllProfileExistsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
531
|
+
public getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
532
|
+
public getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
533
|
+
public getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
500
534
|
}
|
|
@@ -378,6 +378,28 @@ function deserialize_lansweeper_multitenant_v1_GetPreviewAccountByIdResponse(buf
|
|
|
378
378
|
return multitenant_pb.GetPreviewAccountByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
+
function serialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest(arg) {
|
|
382
|
+
if (!(arg instanceof multitenant_pb.GetSiteSubscriptionRequest)) {
|
|
383
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSiteSubscriptionRequest');
|
|
384
|
+
}
|
|
385
|
+
return Buffer.from(arg.serializeBinary());
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
function deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest(buffer_arg) {
|
|
389
|
+
return multitenant_pb.GetSiteSubscriptionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
function serialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse(arg) {
|
|
393
|
+
if (!(arg instanceof multitenant_pb.GetSiteSubscriptionResponse)) {
|
|
394
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSiteSubscriptionResponse');
|
|
395
|
+
}
|
|
396
|
+
return Buffer.from(arg.serializeBinary());
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
function deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse(buffer_arg) {
|
|
400
|
+
return multitenant_pb.GetSiteSubscriptionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
401
|
+
}
|
|
402
|
+
|
|
381
403
|
function serialize_lansweeper_multitenant_v1_GetUserPermissionsRequest(arg) {
|
|
382
404
|
if (!(arg instanceof multitenant_pb.GetUserPermissionsRequest)) {
|
|
383
405
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetUserPermissionsRequest');
|
|
@@ -532,6 +554,28 @@ function deserialize_lansweeper_multitenant_v1_RotateInstallByClientIdResponse(b
|
|
|
532
554
|
return multitenant_pb.RotateInstallByClientIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
533
555
|
}
|
|
534
556
|
|
|
557
|
+
function serialize_lansweeper_multitenant_v1_SendInviteLocalUsersMailRequest(arg) {
|
|
558
|
+
if (!(arg instanceof multitenant_pb.SendInviteLocalUsersMailRequest)) {
|
|
559
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.SendInviteLocalUsersMailRequest');
|
|
560
|
+
}
|
|
561
|
+
return Buffer.from(arg.serializeBinary());
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
function deserialize_lansweeper_multitenant_v1_SendInviteLocalUsersMailRequest(buffer_arg) {
|
|
565
|
+
return multitenant_pb.SendInviteLocalUsersMailRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
function serialize_lansweeper_multitenant_v1_SendInviteLocalUsersMailResponse(arg) {
|
|
569
|
+
if (!(arg instanceof multitenant_pb.SendInviteLocalUsersMailResponse)) {
|
|
570
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse');
|
|
571
|
+
}
|
|
572
|
+
return Buffer.from(arg.serializeBinary());
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
function deserialize_lansweeper_multitenant_v1_SendInviteLocalUsersMailResponse(buffer_arg) {
|
|
576
|
+
return multitenant_pb.SendInviteLocalUsersMailResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
577
|
+
}
|
|
578
|
+
|
|
535
579
|
function serialize_lansweeper_multitenant_v1_UnlinkInstallByClientIdRequest(arg) {
|
|
536
580
|
if (!(arg instanceof multitenant_pb.UnlinkInstallByClientIdRequest)) {
|
|
537
581
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest');
|
|
@@ -919,6 +963,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
919
963
|
responseSerialize: serialize_lansweeper_multitenant_v1_AllProfilesExistResponse,
|
|
920
964
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_AllProfilesExistResponse,
|
|
921
965
|
},
|
|
966
|
+
sendInviteLocalUsersMail: {
|
|
967
|
+
path: '/lansweeper.multitenant.v1.Multitenant/SendInviteLocalUsersMail',
|
|
968
|
+
requestStream: false,
|
|
969
|
+
responseStream: false,
|
|
970
|
+
requestType: multitenant_pb.SendInviteLocalUsersMailRequest,
|
|
971
|
+
responseType: multitenant_pb.SendInviteLocalUsersMailResponse,
|
|
972
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_SendInviteLocalUsersMailRequest,
|
|
973
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_SendInviteLocalUsersMailRequest,
|
|
974
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_SendInviteLocalUsersMailResponse,
|
|
975
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_SendInviteLocalUsersMailResponse,
|
|
976
|
+
},
|
|
922
977
|
allProfileExists: {
|
|
923
978
|
path: '/lansweeper.multitenant.v1.Multitenant/AllProfileExists',
|
|
924
979
|
requestStream: false,
|
|
@@ -930,6 +985,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
930
985
|
responseSerialize: serialize_lansweeper_multitenant_v1_AllProfileExistsResponse,
|
|
931
986
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_AllProfileExistsResponse,
|
|
932
987
|
},
|
|
988
|
+
getSiteSubscription: {
|
|
989
|
+
path: '/lansweeper.multitenant.v1.Multitenant/GetSiteSubscription',
|
|
990
|
+
requestStream: false,
|
|
991
|
+
responseStream: false,
|
|
992
|
+
requestType: multitenant_pb.GetSiteSubscriptionRequest,
|
|
993
|
+
responseType: multitenant_pb.GetSiteSubscriptionResponse,
|
|
994
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest,
|
|
995
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest,
|
|
996
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse,
|
|
997
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse,
|
|
998
|
+
},
|
|
933
999
|
};
|
|
934
1000
|
|
|
935
1001
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -1896,6 +1896,86 @@ export namespace AllProfilesExistResponse {
|
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
1898
1898
|
|
|
1899
|
+
export class SendInviteLocalUsersMailRequest extends jspb.Message {
|
|
1900
|
+
getSiteId(): string;
|
|
1901
|
+
setSiteId(value: string): SendInviteLocalUsersMailRequest;
|
|
1902
|
+
|
|
1903
|
+
serializeBinary(): Uint8Array;
|
|
1904
|
+
toObject(includeInstance?: boolean): SendInviteLocalUsersMailRequest.AsObject;
|
|
1905
|
+
static toObject(includeInstance: boolean, msg: SendInviteLocalUsersMailRequest): SendInviteLocalUsersMailRequest.AsObject;
|
|
1906
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1907
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1908
|
+
static serializeBinaryToWriter(message: SendInviteLocalUsersMailRequest, writer: jspb.BinaryWriter): void;
|
|
1909
|
+
static deserializeBinary(bytes: Uint8Array): SendInviteLocalUsersMailRequest;
|
|
1910
|
+
static deserializeBinaryFromReader(message: SendInviteLocalUsersMailRequest, reader: jspb.BinaryReader): SendInviteLocalUsersMailRequest;
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
export namespace SendInviteLocalUsersMailRequest {
|
|
1914
|
+
export type AsObject = {
|
|
1915
|
+
siteId: string,
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
export class SendInviteLocalUsersMailResponse extends jspb.Message {
|
|
1920
|
+
getSent(): boolean;
|
|
1921
|
+
setSent(value: boolean): SendInviteLocalUsersMailResponse;
|
|
1922
|
+
|
|
1923
|
+
serializeBinary(): Uint8Array;
|
|
1924
|
+
toObject(includeInstance?: boolean): SendInviteLocalUsersMailResponse.AsObject;
|
|
1925
|
+
static toObject(includeInstance: boolean, msg: SendInviteLocalUsersMailResponse): SendInviteLocalUsersMailResponse.AsObject;
|
|
1926
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1927
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1928
|
+
static serializeBinaryToWriter(message: SendInviteLocalUsersMailResponse, writer: jspb.BinaryWriter): void;
|
|
1929
|
+
static deserializeBinary(bytes: Uint8Array): SendInviteLocalUsersMailResponse;
|
|
1930
|
+
static deserializeBinaryFromReader(message: SendInviteLocalUsersMailResponse, reader: jspb.BinaryReader): SendInviteLocalUsersMailResponse;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
export namespace SendInviteLocalUsersMailResponse {
|
|
1934
|
+
export type AsObject = {
|
|
1935
|
+
sent: boolean,
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
export class GetSiteSubscriptionRequest extends jspb.Message {
|
|
1940
|
+
getSiteId(): string;
|
|
1941
|
+
setSiteId(value: string): GetSiteSubscriptionRequest;
|
|
1942
|
+
|
|
1943
|
+
serializeBinary(): Uint8Array;
|
|
1944
|
+
toObject(includeInstance?: boolean): GetSiteSubscriptionRequest.AsObject;
|
|
1945
|
+
static toObject(includeInstance: boolean, msg: GetSiteSubscriptionRequest): GetSiteSubscriptionRequest.AsObject;
|
|
1946
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1947
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1948
|
+
static serializeBinaryToWriter(message: GetSiteSubscriptionRequest, writer: jspb.BinaryWriter): void;
|
|
1949
|
+
static deserializeBinary(bytes: Uint8Array): GetSiteSubscriptionRequest;
|
|
1950
|
+
static deserializeBinaryFromReader(message: GetSiteSubscriptionRequest, reader: jspb.BinaryReader): GetSiteSubscriptionRequest;
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
export namespace GetSiteSubscriptionRequest {
|
|
1954
|
+
export type AsObject = {
|
|
1955
|
+
siteId: string,
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
export class GetSiteSubscriptionResponse extends jspb.Message {
|
|
1960
|
+
getType(): SubscriptionType;
|
|
1961
|
+
setType(value: SubscriptionType): GetSiteSubscriptionResponse;
|
|
1962
|
+
|
|
1963
|
+
serializeBinary(): Uint8Array;
|
|
1964
|
+
toObject(includeInstance?: boolean): GetSiteSubscriptionResponse.AsObject;
|
|
1965
|
+
static toObject(includeInstance: boolean, msg: GetSiteSubscriptionResponse): GetSiteSubscriptionResponse.AsObject;
|
|
1966
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1967
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1968
|
+
static serializeBinaryToWriter(message: GetSiteSubscriptionResponse, writer: jspb.BinaryWriter): void;
|
|
1969
|
+
static deserializeBinary(bytes: Uint8Array): GetSiteSubscriptionResponse;
|
|
1970
|
+
static deserializeBinaryFromReader(message: GetSiteSubscriptionResponse, reader: jspb.BinaryReader): GetSiteSubscriptionResponse;
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
export namespace GetSiteSubscriptionResponse {
|
|
1974
|
+
export type AsObject = {
|
|
1975
|
+
type: SubscriptionType,
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1899
1979
|
export enum SiteMode {
|
|
1900
1980
|
UNESPECIFIED = 0,
|
|
1901
1981
|
CLOUD_NATIVE = 1,
|