@lansweeper/multitenant-api-grpc 0.4.69 → 0.4.71
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 +43 -0
- package/gen-proto/multitenant_pb.js +334 -0
- package/generated-go/multitenant.pb.go +723 -573
- package/generated-go/multitenant_grpc.pb.go +38 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +10 -0
- package/.ignorecompat +0 -0
|
@@ -59,6 +59,7 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
59
59
|
updateSiteSkipDataExport: IMultitenantService_IUpdateSiteSkipDataExport;
|
|
60
60
|
getSiteHierarchyIds: IMultitenantService_IGetSiteHierarchyIds;
|
|
61
61
|
createOwnerPersonalAccessToken: IMultitenantService_ICreateOwnerPersonalAccessToken;
|
|
62
|
+
getInstallationSettings: IMultitenantService_IGetInstallationSettings;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
|
|
@@ -502,6 +503,15 @@ interface IMultitenantService_ICreateOwnerPersonalAccessToken extends grpc.Metho
|
|
|
502
503
|
responseSerialize: grpc.serialize<multitenant_pb.CreateOwnerPersonalAccessTokenResponse>;
|
|
503
504
|
responseDeserialize: grpc.deserialize<multitenant_pb.CreateOwnerPersonalAccessTokenResponse>;
|
|
504
505
|
}
|
|
506
|
+
interface IMultitenantService_IGetInstallationSettings extends grpc.MethodDefinition<multitenant_pb.GetInstallationSettingsRequest, multitenant_pb.GetInstallationSettingsResponse> {
|
|
507
|
+
path: "/lansweeper.multitenant.v1.Multitenant/GetInstallationSettings";
|
|
508
|
+
requestStream: false;
|
|
509
|
+
responseStream: false;
|
|
510
|
+
requestSerialize: grpc.serialize<multitenant_pb.GetInstallationSettingsRequest>;
|
|
511
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.GetInstallationSettingsRequest>;
|
|
512
|
+
responseSerialize: grpc.serialize<multitenant_pb.GetInstallationSettingsResponse>;
|
|
513
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.GetInstallationSettingsResponse>;
|
|
514
|
+
}
|
|
505
515
|
|
|
506
516
|
export const MultitenantService: IMultitenantService;
|
|
507
517
|
|
|
@@ -555,6 +565,7 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
555
565
|
updateSiteSkipDataExport: grpc.handleUnaryCall<multitenant_pb.UpdateSiteSkipDataExportRequest, multitenant_pb.UpdateSiteSkipDataExportResponse>;
|
|
556
566
|
getSiteHierarchyIds: grpc.handleUnaryCall<multitenant_pb.GetSiteHierarchyIdsRequest, multitenant_pb.GetSiteHierarchyIdsResponse>;
|
|
557
567
|
createOwnerPersonalAccessToken: grpc.handleUnaryCall<multitenant_pb.CreateOwnerPersonalAccessTokenRequest, multitenant_pb.CreateOwnerPersonalAccessTokenResponse>;
|
|
568
|
+
getInstallationSettings: grpc.handleUnaryCall<multitenant_pb.GetInstallationSettingsRequest, multitenant_pb.GetInstallationSettingsResponse>;
|
|
558
569
|
}
|
|
559
570
|
|
|
560
571
|
export interface IMultitenantClient {
|
|
@@ -705,6 +716,9 @@ export interface IMultitenantClient {
|
|
|
705
716
|
createOwnerPersonalAccessToken(request: multitenant_pb.CreateOwnerPersonalAccessTokenRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateOwnerPersonalAccessTokenResponse) => void): grpc.ClientUnaryCall;
|
|
706
717
|
createOwnerPersonalAccessToken(request: multitenant_pb.CreateOwnerPersonalAccessTokenRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateOwnerPersonalAccessTokenResponse) => void): grpc.ClientUnaryCall;
|
|
707
718
|
createOwnerPersonalAccessToken(request: multitenant_pb.CreateOwnerPersonalAccessTokenRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateOwnerPersonalAccessTokenResponse) => void): grpc.ClientUnaryCall;
|
|
719
|
+
getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
720
|
+
getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
721
|
+
getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
708
722
|
}
|
|
709
723
|
|
|
710
724
|
export class MultitenantClient extends grpc.Client implements IMultitenantClient {
|
|
@@ -856,4 +870,7 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
856
870
|
public createOwnerPersonalAccessToken(request: multitenant_pb.CreateOwnerPersonalAccessTokenRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateOwnerPersonalAccessTokenResponse) => void): grpc.ClientUnaryCall;
|
|
857
871
|
public createOwnerPersonalAccessToken(request: multitenant_pb.CreateOwnerPersonalAccessTokenRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateOwnerPersonalAccessTokenResponse) => void): grpc.ClientUnaryCall;
|
|
858
872
|
public createOwnerPersonalAccessToken(request: multitenant_pb.CreateOwnerPersonalAccessTokenRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateOwnerPersonalAccessTokenResponse) => void): grpc.ClientUnaryCall;
|
|
873
|
+
public getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
874
|
+
public getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
875
|
+
public getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
859
876
|
}
|
|
@@ -369,6 +369,28 @@ function deserialize_lansweeper_multitenant_v1_GetInstallationLicenseByClientIdR
|
|
|
369
369
|
return multitenant_pb.GetInstallationLicenseByClientIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
+
function serialize_lansweeper_multitenant_v1_GetInstallationSettingsRequest(arg) {
|
|
373
|
+
if (!(arg instanceof multitenant_pb.GetInstallationSettingsRequest)) {
|
|
374
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetInstallationSettingsRequest');
|
|
375
|
+
}
|
|
376
|
+
return Buffer.from(arg.serializeBinary());
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
function deserialize_lansweeper_multitenant_v1_GetInstallationSettingsRequest(buffer_arg) {
|
|
380
|
+
return multitenant_pb.GetInstallationSettingsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
function serialize_lansweeper_multitenant_v1_GetInstallationSettingsResponse(arg) {
|
|
384
|
+
if (!(arg instanceof multitenant_pb.GetInstallationSettingsResponse)) {
|
|
385
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetInstallationSettingsResponse');
|
|
386
|
+
}
|
|
387
|
+
return Buffer.from(arg.serializeBinary());
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
function deserialize_lansweeper_multitenant_v1_GetInstallationSettingsResponse(buffer_arg) {
|
|
391
|
+
return multitenant_pb.GetInstallationSettingsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
392
|
+
}
|
|
393
|
+
|
|
372
394
|
function serialize_lansweeper_multitenant_v1_GetInstallbyClientIdRequest(arg) {
|
|
373
395
|
if (!(arg instanceof multitenant_pb.GetInstallbyClientIdRequest)) {
|
|
374
396
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetInstallbyClientIdRequest');
|
|
@@ -1614,6 +1636,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
1614
1636
|
responseSerialize: serialize_lansweeper_multitenant_v1_CreateOwnerPersonalAccessTokenResponse,
|
|
1615
1637
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_CreateOwnerPersonalAccessTokenResponse,
|
|
1616
1638
|
},
|
|
1639
|
+
getInstallationSettings: {
|
|
1640
|
+
path: '/lansweeper.multitenant.v1.Multitenant/GetInstallationSettings',
|
|
1641
|
+
requestStream: false,
|
|
1642
|
+
responseStream: false,
|
|
1643
|
+
requestType: multitenant_pb.GetInstallationSettingsRequest,
|
|
1644
|
+
responseType: multitenant_pb.GetInstallationSettingsResponse,
|
|
1645
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_GetInstallationSettingsRequest,
|
|
1646
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_GetInstallationSettingsRequest,
|
|
1647
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_GetInstallationSettingsResponse,
|
|
1648
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetInstallationSettingsResponse,
|
|
1649
|
+
},
|
|
1617
1650
|
};
|
|
1618
1651
|
|
|
1619
1652
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -3068,6 +3068,49 @@ export namespace CreateOwnerPersonalAccessTokenResponse {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
}
|
|
3070
3070
|
|
|
3071
|
+
export class GetInstallationSettingsRequest extends jspb.Message {
|
|
3072
|
+
getSiteId(): string;
|
|
3073
|
+
setSiteId(value: string): GetInstallationSettingsRequest;
|
|
3074
|
+
getInstallId(): string;
|
|
3075
|
+
setInstallId(value: string): GetInstallationSettingsRequest;
|
|
3076
|
+
|
|
3077
|
+
serializeBinary(): Uint8Array;
|
|
3078
|
+
toObject(includeInstance?: boolean): GetInstallationSettingsRequest.AsObject;
|
|
3079
|
+
static toObject(includeInstance: boolean, msg: GetInstallationSettingsRequest): GetInstallationSettingsRequest.AsObject;
|
|
3080
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3081
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3082
|
+
static serializeBinaryToWriter(message: GetInstallationSettingsRequest, writer: jspb.BinaryWriter): void;
|
|
3083
|
+
static deserializeBinary(bytes: Uint8Array): GetInstallationSettingsRequest;
|
|
3084
|
+
static deserializeBinaryFromReader(message: GetInstallationSettingsRequest, reader: jspb.BinaryReader): GetInstallationSettingsRequest;
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
export namespace GetInstallationSettingsRequest {
|
|
3088
|
+
export type AsObject = {
|
|
3089
|
+
siteId: string,
|
|
3090
|
+
installId: string,
|
|
3091
|
+
}
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
export class GetInstallationSettingsResponse extends jspb.Message {
|
|
3095
|
+
getDigitallicensetoken(): string;
|
|
3096
|
+
setDigitallicensetoken(value: string): GetInstallationSettingsResponse;
|
|
3097
|
+
|
|
3098
|
+
serializeBinary(): Uint8Array;
|
|
3099
|
+
toObject(includeInstance?: boolean): GetInstallationSettingsResponse.AsObject;
|
|
3100
|
+
static toObject(includeInstance: boolean, msg: GetInstallationSettingsResponse): GetInstallationSettingsResponse.AsObject;
|
|
3101
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3102
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3103
|
+
static serializeBinaryToWriter(message: GetInstallationSettingsResponse, writer: jspb.BinaryWriter): void;
|
|
3104
|
+
static deserializeBinary(bytes: Uint8Array): GetInstallationSettingsResponse;
|
|
3105
|
+
static deserializeBinaryFromReader(message: GetInstallationSettingsResponse, reader: jspb.BinaryReader): GetInstallationSettingsResponse;
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
export namespace GetInstallationSettingsResponse {
|
|
3109
|
+
export type AsObject = {
|
|
3110
|
+
digitallicensetoken: string,
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3071
3114
|
export enum SiteMode {
|
|
3072
3115
|
UNESPECIFIED = 0,
|
|
3073
3116
|
CLOUD_NATIVE = 1,
|
|
@@ -59,6 +59,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobal
|
|
|
59
59
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse', null, global);
|
|
60
60
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdRequest', null, global);
|
|
61
61
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdResponse', null, global);
|
|
62
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest', null, global);
|
|
63
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse', null, global);
|
|
62
64
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest', null, global);
|
|
63
65
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse', null, global);
|
|
64
66
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsByExternalIdsRequest', null, global);
|
|
@@ -2671,6 +2673,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2671
2673
|
*/
|
|
2672
2674
|
proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.displayName = 'proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse';
|
|
2673
2675
|
}
|
|
2676
|
+
/**
|
|
2677
|
+
* Generated by JsPbCodeGenerator.
|
|
2678
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2679
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2680
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2681
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2682
|
+
* valid.
|
|
2683
|
+
* @extends {jspb.Message}
|
|
2684
|
+
* @constructor
|
|
2685
|
+
*/
|
|
2686
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest = function(opt_data) {
|
|
2687
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2688
|
+
};
|
|
2689
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest, jspb.Message);
|
|
2690
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2691
|
+
/**
|
|
2692
|
+
* @public
|
|
2693
|
+
* @override
|
|
2694
|
+
*/
|
|
2695
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.displayName = 'proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest';
|
|
2696
|
+
}
|
|
2697
|
+
/**
|
|
2698
|
+
* Generated by JsPbCodeGenerator.
|
|
2699
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2700
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2701
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2702
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2703
|
+
* valid.
|
|
2704
|
+
* @extends {jspb.Message}
|
|
2705
|
+
* @constructor
|
|
2706
|
+
*/
|
|
2707
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse = function(opt_data) {
|
|
2708
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2709
|
+
};
|
|
2710
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse, jspb.Message);
|
|
2711
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2712
|
+
/**
|
|
2713
|
+
* @public
|
|
2714
|
+
* @override
|
|
2715
|
+
*/
|
|
2716
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse';
|
|
2717
|
+
}
|
|
2674
2718
|
|
|
2675
2719
|
|
|
2676
2720
|
|
|
@@ -24538,6 +24582,296 @@ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.prototype
|
|
|
24538
24582
|
};
|
|
24539
24583
|
|
|
24540
24584
|
|
|
24585
|
+
|
|
24586
|
+
|
|
24587
|
+
|
|
24588
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24589
|
+
/**
|
|
24590
|
+
* Creates an object representation of this proto.
|
|
24591
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24592
|
+
* Optional fields that are not set will be set to undefined.
|
|
24593
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24594
|
+
* For the list of reserved names please see:
|
|
24595
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24596
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24597
|
+
* JSPB instance for transitional soy proto support:
|
|
24598
|
+
* http://goto/soy-param-migration
|
|
24599
|
+
* @return {!Object}
|
|
24600
|
+
*/
|
|
24601
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
24602
|
+
return proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.toObject(opt_includeInstance, this);
|
|
24603
|
+
};
|
|
24604
|
+
|
|
24605
|
+
|
|
24606
|
+
/**
|
|
24607
|
+
* Static version of the {@see toObject} method.
|
|
24608
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24609
|
+
* the JSPB instance for transitional soy proto support:
|
|
24610
|
+
* http://goto/soy-param-migration
|
|
24611
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} msg The msg instance to transform.
|
|
24612
|
+
* @return {!Object}
|
|
24613
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24614
|
+
*/
|
|
24615
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.toObject = function(includeInstance, msg) {
|
|
24616
|
+
var f, obj = {
|
|
24617
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
24618
|
+
installId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
24619
|
+
};
|
|
24620
|
+
|
|
24621
|
+
if (includeInstance) {
|
|
24622
|
+
obj.$jspbMessageInstance = msg;
|
|
24623
|
+
}
|
|
24624
|
+
return obj;
|
|
24625
|
+
};
|
|
24626
|
+
}
|
|
24627
|
+
|
|
24628
|
+
|
|
24629
|
+
/**
|
|
24630
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24631
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24632
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest}
|
|
24633
|
+
*/
|
|
24634
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.deserializeBinary = function(bytes) {
|
|
24635
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24636
|
+
var msg = new proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest;
|
|
24637
|
+
return proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.deserializeBinaryFromReader(msg, reader);
|
|
24638
|
+
};
|
|
24639
|
+
|
|
24640
|
+
|
|
24641
|
+
/**
|
|
24642
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24643
|
+
* given reader into the given message object.
|
|
24644
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} msg The message object to deserialize into.
|
|
24645
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24646
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest}
|
|
24647
|
+
*/
|
|
24648
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
24649
|
+
while (reader.nextField()) {
|
|
24650
|
+
if (reader.isEndGroup()) {
|
|
24651
|
+
break;
|
|
24652
|
+
}
|
|
24653
|
+
var field = reader.getFieldNumber();
|
|
24654
|
+
switch (field) {
|
|
24655
|
+
case 1:
|
|
24656
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24657
|
+
msg.setSiteId(value);
|
|
24658
|
+
break;
|
|
24659
|
+
case 2:
|
|
24660
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24661
|
+
msg.setInstallId(value);
|
|
24662
|
+
break;
|
|
24663
|
+
default:
|
|
24664
|
+
reader.skipField();
|
|
24665
|
+
break;
|
|
24666
|
+
}
|
|
24667
|
+
}
|
|
24668
|
+
return msg;
|
|
24669
|
+
};
|
|
24670
|
+
|
|
24671
|
+
|
|
24672
|
+
/**
|
|
24673
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24674
|
+
* @return {!Uint8Array}
|
|
24675
|
+
*/
|
|
24676
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.serializeBinary = function() {
|
|
24677
|
+
var writer = new jspb.BinaryWriter();
|
|
24678
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.serializeBinaryToWriter(this, writer);
|
|
24679
|
+
return writer.getResultBuffer();
|
|
24680
|
+
};
|
|
24681
|
+
|
|
24682
|
+
|
|
24683
|
+
/**
|
|
24684
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24685
|
+
* format), writing to the given BinaryWriter.
|
|
24686
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} message
|
|
24687
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24688
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24689
|
+
*/
|
|
24690
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
24691
|
+
var f = undefined;
|
|
24692
|
+
f = message.getSiteId();
|
|
24693
|
+
if (f.length > 0) {
|
|
24694
|
+
writer.writeString(
|
|
24695
|
+
1,
|
|
24696
|
+
f
|
|
24697
|
+
);
|
|
24698
|
+
}
|
|
24699
|
+
f = message.getInstallId();
|
|
24700
|
+
if (f.length > 0) {
|
|
24701
|
+
writer.writeString(
|
|
24702
|
+
2,
|
|
24703
|
+
f
|
|
24704
|
+
);
|
|
24705
|
+
}
|
|
24706
|
+
};
|
|
24707
|
+
|
|
24708
|
+
|
|
24709
|
+
/**
|
|
24710
|
+
* optional string site_id = 1;
|
|
24711
|
+
* @return {string}
|
|
24712
|
+
*/
|
|
24713
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.getSiteId = function() {
|
|
24714
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
24715
|
+
};
|
|
24716
|
+
|
|
24717
|
+
|
|
24718
|
+
/**
|
|
24719
|
+
* @param {string} value
|
|
24720
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} returns this
|
|
24721
|
+
*/
|
|
24722
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.setSiteId = function(value) {
|
|
24723
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
24724
|
+
};
|
|
24725
|
+
|
|
24726
|
+
|
|
24727
|
+
/**
|
|
24728
|
+
* optional string install_id = 2;
|
|
24729
|
+
* @return {string}
|
|
24730
|
+
*/
|
|
24731
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.getInstallId = function() {
|
|
24732
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
24733
|
+
};
|
|
24734
|
+
|
|
24735
|
+
|
|
24736
|
+
/**
|
|
24737
|
+
* @param {string} value
|
|
24738
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest} returns this
|
|
24739
|
+
*/
|
|
24740
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsRequest.prototype.setInstallId = function(value) {
|
|
24741
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
24742
|
+
};
|
|
24743
|
+
|
|
24744
|
+
|
|
24745
|
+
|
|
24746
|
+
|
|
24747
|
+
|
|
24748
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24749
|
+
/**
|
|
24750
|
+
* Creates an object representation of this proto.
|
|
24751
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24752
|
+
* Optional fields that are not set will be set to undefined.
|
|
24753
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24754
|
+
* For the list of reserved names please see:
|
|
24755
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24756
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24757
|
+
* JSPB instance for transitional soy proto support:
|
|
24758
|
+
* http://goto/soy-param-migration
|
|
24759
|
+
* @return {!Object}
|
|
24760
|
+
*/
|
|
24761
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
24762
|
+
return proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.toObject(opt_includeInstance, this);
|
|
24763
|
+
};
|
|
24764
|
+
|
|
24765
|
+
|
|
24766
|
+
/**
|
|
24767
|
+
* Static version of the {@see toObject} method.
|
|
24768
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24769
|
+
* the JSPB instance for transitional soy proto support:
|
|
24770
|
+
* http://goto/soy-param-migration
|
|
24771
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse} msg The msg instance to transform.
|
|
24772
|
+
* @return {!Object}
|
|
24773
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24774
|
+
*/
|
|
24775
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.toObject = function(includeInstance, msg) {
|
|
24776
|
+
var f, obj = {
|
|
24777
|
+
digitallicensetoken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
24778
|
+
};
|
|
24779
|
+
|
|
24780
|
+
if (includeInstance) {
|
|
24781
|
+
obj.$jspbMessageInstance = msg;
|
|
24782
|
+
}
|
|
24783
|
+
return obj;
|
|
24784
|
+
};
|
|
24785
|
+
}
|
|
24786
|
+
|
|
24787
|
+
|
|
24788
|
+
/**
|
|
24789
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24790
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24791
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse}
|
|
24792
|
+
*/
|
|
24793
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.deserializeBinary = function(bytes) {
|
|
24794
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24795
|
+
var msg = new proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse;
|
|
24796
|
+
return proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.deserializeBinaryFromReader(msg, reader);
|
|
24797
|
+
};
|
|
24798
|
+
|
|
24799
|
+
|
|
24800
|
+
/**
|
|
24801
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24802
|
+
* given reader into the given message object.
|
|
24803
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse} msg The message object to deserialize into.
|
|
24804
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24805
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse}
|
|
24806
|
+
*/
|
|
24807
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
24808
|
+
while (reader.nextField()) {
|
|
24809
|
+
if (reader.isEndGroup()) {
|
|
24810
|
+
break;
|
|
24811
|
+
}
|
|
24812
|
+
var field = reader.getFieldNumber();
|
|
24813
|
+
switch (field) {
|
|
24814
|
+
case 1:
|
|
24815
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24816
|
+
msg.setDigitallicensetoken(value);
|
|
24817
|
+
break;
|
|
24818
|
+
default:
|
|
24819
|
+
reader.skipField();
|
|
24820
|
+
break;
|
|
24821
|
+
}
|
|
24822
|
+
}
|
|
24823
|
+
return msg;
|
|
24824
|
+
};
|
|
24825
|
+
|
|
24826
|
+
|
|
24827
|
+
/**
|
|
24828
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24829
|
+
* @return {!Uint8Array}
|
|
24830
|
+
*/
|
|
24831
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.serializeBinary = function() {
|
|
24832
|
+
var writer = new jspb.BinaryWriter();
|
|
24833
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.serializeBinaryToWriter(this, writer);
|
|
24834
|
+
return writer.getResultBuffer();
|
|
24835
|
+
};
|
|
24836
|
+
|
|
24837
|
+
|
|
24838
|
+
/**
|
|
24839
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24840
|
+
* format), writing to the given BinaryWriter.
|
|
24841
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse} message
|
|
24842
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24843
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24844
|
+
*/
|
|
24845
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
24846
|
+
var f = undefined;
|
|
24847
|
+
f = message.getDigitallicensetoken();
|
|
24848
|
+
if (f.length > 0) {
|
|
24849
|
+
writer.writeString(
|
|
24850
|
+
1,
|
|
24851
|
+
f
|
|
24852
|
+
);
|
|
24853
|
+
}
|
|
24854
|
+
};
|
|
24855
|
+
|
|
24856
|
+
|
|
24857
|
+
/**
|
|
24858
|
+
* optional string digitalLicenseToken = 1;
|
|
24859
|
+
* @return {string}
|
|
24860
|
+
*/
|
|
24861
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.getDigitallicensetoken = function() {
|
|
24862
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
24863
|
+
};
|
|
24864
|
+
|
|
24865
|
+
|
|
24866
|
+
/**
|
|
24867
|
+
* @param {string} value
|
|
24868
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse} returns this
|
|
24869
|
+
*/
|
|
24870
|
+
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.setDigitallicensetoken = function(value) {
|
|
24871
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
24872
|
+
};
|
|
24873
|
+
|
|
24874
|
+
|
|
24541
24875
|
/**
|
|
24542
24876
|
* @enum {number}
|
|
24543
24877
|
*/
|