@lansweeper/multitenant-api-grpc 0.4.81 → 0.4.82
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/.ignorecompat +0 -0
- package/CHANGELOG.md +4 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_grpc_pb.d.ts +0 -17
- package/gen-proto/multitenant_grpc_pb.js +0 -33
- package/gen-proto/multitenant_pb.d.ts +0 -45
- package/gen-proto/multitenant_pb.js +0 -364
- package/generated-go/multitenant.pb.go +653 -804
- package/generated-go/multitenant_grpc.pb.go +0 -38
- package/package.json +2 -2
- package/proto/multitenant.proto +0 -9
|
@@ -62,7 +62,6 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
62
62
|
createOwnerPersonalAccessToken: IMultitenantService_ICreateOwnerPersonalAccessToken;
|
|
63
63
|
getInstallationSettings: IMultitenantService_IGetInstallationSettings;
|
|
64
64
|
createFlowBuilderBotAccount: IMultitenantService_ICreateFlowBuilderBotAccount;
|
|
65
|
-
getAllInstallsPaginated: IMultitenantService_IGetAllInstallsPaginated;
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
|
|
@@ -533,15 +532,6 @@ interface IMultitenantService_ICreateFlowBuilderBotAccount extends grpc.MethodDe
|
|
|
533
532
|
responseSerialize: grpc.serialize<multitenant_pb.CreateFlowBuilderBotAccountResponse>;
|
|
534
533
|
responseDeserialize: grpc.deserialize<multitenant_pb.CreateFlowBuilderBotAccountResponse>;
|
|
535
534
|
}
|
|
536
|
-
interface IMultitenantService_IGetAllInstallsPaginated extends grpc.MethodDefinition<multitenant_pb.GetAllInstallsPaginatedRequest, multitenant_pb.GetAllInstallsPaginatedResponse> {
|
|
537
|
-
path: "/lansweeper.multitenant.v1.Multitenant/GetAllInstallsPaginated";
|
|
538
|
-
requestStream: false;
|
|
539
|
-
responseStream: false;
|
|
540
|
-
requestSerialize: grpc.serialize<multitenant_pb.GetAllInstallsPaginatedRequest>;
|
|
541
|
-
requestDeserialize: grpc.deserialize<multitenant_pb.GetAllInstallsPaginatedRequest>;
|
|
542
|
-
responseSerialize: grpc.serialize<multitenant_pb.GetAllInstallsPaginatedResponse>;
|
|
543
|
-
responseDeserialize: grpc.deserialize<multitenant_pb.GetAllInstallsPaginatedResponse>;
|
|
544
|
-
}
|
|
545
535
|
|
|
546
536
|
export const MultitenantService: IMultitenantService;
|
|
547
537
|
|
|
@@ -598,7 +588,6 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
598
588
|
createOwnerPersonalAccessToken: grpc.handleUnaryCall<multitenant_pb.CreateOwnerPersonalAccessTokenRequest, multitenant_pb.CreateOwnerPersonalAccessTokenResponse>;
|
|
599
589
|
getInstallationSettings: grpc.handleUnaryCall<multitenant_pb.GetInstallationSettingsRequest, multitenant_pb.GetInstallationSettingsResponse>;
|
|
600
590
|
createFlowBuilderBotAccount: grpc.handleUnaryCall<multitenant_pb.CreateFlowBuilderBotAccountRequest, multitenant_pb.CreateFlowBuilderBotAccountResponse>;
|
|
601
|
-
getAllInstallsPaginated: grpc.handleUnaryCall<multitenant_pb.GetAllInstallsPaginatedRequest, multitenant_pb.GetAllInstallsPaginatedResponse>;
|
|
602
591
|
}
|
|
603
592
|
|
|
604
593
|
export interface IMultitenantClient {
|
|
@@ -758,9 +747,6 @@ export interface IMultitenantClient {
|
|
|
758
747
|
createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
759
748
|
createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
760
749
|
createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
761
|
-
getAllInstallsPaginated(request: multitenant_pb.GetAllInstallsPaginatedRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetAllInstallsPaginatedResponse) => void): grpc.ClientUnaryCall;
|
|
762
|
-
getAllInstallsPaginated(request: multitenant_pb.GetAllInstallsPaginatedRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetAllInstallsPaginatedResponse) => void): grpc.ClientUnaryCall;
|
|
763
|
-
getAllInstallsPaginated(request: multitenant_pb.GetAllInstallsPaginatedRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetAllInstallsPaginatedResponse) => void): grpc.ClientUnaryCall;
|
|
764
750
|
}
|
|
765
751
|
|
|
766
752
|
export class MultitenantClient extends grpc.Client implements IMultitenantClient {
|
|
@@ -921,7 +907,4 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
921
907
|
public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
922
908
|
public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
923
909
|
public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
924
|
-
public getAllInstallsPaginated(request: multitenant_pb.GetAllInstallsPaginatedRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetAllInstallsPaginatedResponse) => void): grpc.ClientUnaryCall;
|
|
925
|
-
public getAllInstallsPaginated(request: multitenant_pb.GetAllInstallsPaginatedRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetAllInstallsPaginatedResponse) => void): grpc.ClientUnaryCall;
|
|
926
|
-
public getAllInstallsPaginated(request: multitenant_pb.GetAllInstallsPaginatedRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetAllInstallsPaginatedResponse) => void): grpc.ClientUnaryCall;
|
|
927
910
|
}
|
|
@@ -347,28 +347,6 @@ function deserialize_lansweeper_multitenant_v1_GetAccountIdsBySiteIdResponse(buf
|
|
|
347
347
|
return multitenant_pb.GetAccountIdsBySiteIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
function serialize_lansweeper_multitenant_v1_GetAllInstallsPaginatedRequest(arg) {
|
|
351
|
-
if (!(arg instanceof multitenant_pb.GetAllInstallsPaginatedRequest)) {
|
|
352
|
-
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest');
|
|
353
|
-
}
|
|
354
|
-
return Buffer.from(arg.serializeBinary());
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
function deserialize_lansweeper_multitenant_v1_GetAllInstallsPaginatedRequest(buffer_arg) {
|
|
358
|
-
return multitenant_pb.GetAllInstallsPaginatedRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
function serialize_lansweeper_multitenant_v1_GetAllInstallsPaginatedResponse(arg) {
|
|
362
|
-
if (!(arg instanceof multitenant_pb.GetAllInstallsPaginatedResponse)) {
|
|
363
|
-
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse');
|
|
364
|
-
}
|
|
365
|
-
return Buffer.from(arg.serializeBinary());
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
function deserialize_lansweeper_multitenant_v1_GetAllInstallsPaginatedResponse(buffer_arg) {
|
|
369
|
-
return multitenant_pb.GetAllInstallsPaginatedResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
370
|
-
}
|
|
371
|
-
|
|
372
350
|
function serialize_lansweeper_multitenant_v1_GetDuplicatedInstallsByGlobalIdRequest(arg) {
|
|
373
351
|
if (!(arg instanceof multitenant_pb.GetDuplicatedInstallsByGlobalIdRequest)) {
|
|
374
352
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest');
|
|
@@ -1735,17 +1713,6 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
1735
1713
|
responseSerialize: serialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountResponse,
|
|
1736
1714
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountResponse,
|
|
1737
1715
|
},
|
|
1738
|
-
getAllInstallsPaginated: {
|
|
1739
|
-
path: '/lansweeper.multitenant.v1.Multitenant/GetAllInstallsPaginated',
|
|
1740
|
-
requestStream: false,
|
|
1741
|
-
responseStream: false,
|
|
1742
|
-
requestType: multitenant_pb.GetAllInstallsPaginatedRequest,
|
|
1743
|
-
responseType: multitenant_pb.GetAllInstallsPaginatedResponse,
|
|
1744
|
-
requestSerialize: serialize_lansweeper_multitenant_v1_GetAllInstallsPaginatedRequest,
|
|
1745
|
-
requestDeserialize: deserialize_lansweeper_multitenant_v1_GetAllInstallsPaginatedRequest,
|
|
1746
|
-
responseSerialize: serialize_lansweeper_multitenant_v1_GetAllInstallsPaginatedResponse,
|
|
1747
|
-
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetAllInstallsPaginatedResponse,
|
|
1748
|
-
},
|
|
1749
1716
|
};
|
|
1750
1717
|
|
|
1751
1718
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -3347,51 +3347,6 @@ export namespace CreateFlowBuilderBotAccountResponse {
|
|
|
3347
3347
|
}
|
|
3348
3348
|
}
|
|
3349
3349
|
|
|
3350
|
-
export class GetAllInstallsPaginatedRequest extends jspb.Message {
|
|
3351
|
-
getOffset(): number;
|
|
3352
|
-
setOffset(value: number): GetAllInstallsPaginatedRequest;
|
|
3353
|
-
getLimit(): number;
|
|
3354
|
-
setLimit(value: number): GetAllInstallsPaginatedRequest;
|
|
3355
|
-
|
|
3356
|
-
serializeBinary(): Uint8Array;
|
|
3357
|
-
toObject(includeInstance?: boolean): GetAllInstallsPaginatedRequest.AsObject;
|
|
3358
|
-
static toObject(includeInstance: boolean, msg: GetAllInstallsPaginatedRequest): GetAllInstallsPaginatedRequest.AsObject;
|
|
3359
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3360
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3361
|
-
static serializeBinaryToWriter(message: GetAllInstallsPaginatedRequest, writer: jspb.BinaryWriter): void;
|
|
3362
|
-
static deserializeBinary(bytes: Uint8Array): GetAllInstallsPaginatedRequest;
|
|
3363
|
-
static deserializeBinaryFromReader(message: GetAllInstallsPaginatedRequest, reader: jspb.BinaryReader): GetAllInstallsPaginatedRequest;
|
|
3364
|
-
}
|
|
3365
|
-
|
|
3366
|
-
export namespace GetAllInstallsPaginatedRequest {
|
|
3367
|
-
export type AsObject = {
|
|
3368
|
-
offset: number,
|
|
3369
|
-
limit: number,
|
|
3370
|
-
}
|
|
3371
|
-
}
|
|
3372
|
-
|
|
3373
|
-
export class GetAllInstallsPaginatedResponse extends jspb.Message {
|
|
3374
|
-
clearInstallsList(): void;
|
|
3375
|
-
getInstallsList(): Array<Install>;
|
|
3376
|
-
setInstallsList(value: Array<Install>): GetAllInstallsPaginatedResponse;
|
|
3377
|
-
addInstalls(value?: Install, index?: number): Install;
|
|
3378
|
-
|
|
3379
|
-
serializeBinary(): Uint8Array;
|
|
3380
|
-
toObject(includeInstance?: boolean): GetAllInstallsPaginatedResponse.AsObject;
|
|
3381
|
-
static toObject(includeInstance: boolean, msg: GetAllInstallsPaginatedResponse): GetAllInstallsPaginatedResponse.AsObject;
|
|
3382
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3383
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3384
|
-
static serializeBinaryToWriter(message: GetAllInstallsPaginatedResponse, writer: jspb.BinaryWriter): void;
|
|
3385
|
-
static deserializeBinary(bytes: Uint8Array): GetAllInstallsPaginatedResponse;
|
|
3386
|
-
static deserializeBinaryFromReader(message: GetAllInstallsPaginatedResponse, reader: jspb.BinaryReader): GetAllInstallsPaginatedResponse;
|
|
3387
|
-
}
|
|
3388
|
-
|
|
3389
|
-
export namespace GetAllInstallsPaginatedResponse {
|
|
3390
|
-
export type AsObject = {
|
|
3391
|
-
installsList: Array<Install.AsObject>,
|
|
3392
|
-
}
|
|
3393
|
-
}
|
|
3394
|
-
|
|
3395
3350
|
export enum SiteMode {
|
|
3396
3351
|
UNESPECIFIED = 0,
|
|
3397
3352
|
CLOUD_NATIVE = 1,
|
|
@@ -57,8 +57,6 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.DisableWebhookEmailRequest.We
|
|
|
57
57
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.DisableWebhookEmailResponse', null, global);
|
|
58
58
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest', null, global);
|
|
59
59
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse', null, global);
|
|
60
|
-
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest', null, global);
|
|
61
|
-
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse', null, global);
|
|
62
60
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest', null, global);
|
|
63
61
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse', null, global);
|
|
64
62
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdRequest', null, global);
|
|
@@ -2915,48 +2913,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2915
2913
|
*/
|
|
2916
2914
|
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.displayName = 'proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse';
|
|
2917
2915
|
}
|
|
2918
|
-
/**
|
|
2919
|
-
* Generated by JsPbCodeGenerator.
|
|
2920
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2921
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2922
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2923
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2924
|
-
* valid.
|
|
2925
|
-
* @extends {jspb.Message}
|
|
2926
|
-
* @constructor
|
|
2927
|
-
*/
|
|
2928
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest = function(opt_data) {
|
|
2929
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2930
|
-
};
|
|
2931
|
-
goog.inherits(proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest, jspb.Message);
|
|
2932
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2933
|
-
/**
|
|
2934
|
-
* @public
|
|
2935
|
-
* @override
|
|
2936
|
-
*/
|
|
2937
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.displayName = 'proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest';
|
|
2938
|
-
}
|
|
2939
|
-
/**
|
|
2940
|
-
* Generated by JsPbCodeGenerator.
|
|
2941
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2942
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2943
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2944
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2945
|
-
* valid.
|
|
2946
|
-
* @extends {jspb.Message}
|
|
2947
|
-
* @constructor
|
|
2948
|
-
*/
|
|
2949
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse = function(opt_data) {
|
|
2950
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.repeatedFields_, null);
|
|
2951
|
-
};
|
|
2952
|
-
goog.inherits(proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse, jspb.Message);
|
|
2953
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2954
|
-
/**
|
|
2955
|
-
* @public
|
|
2956
|
-
* @override
|
|
2957
|
-
*/
|
|
2958
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.displayName = 'proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse';
|
|
2959
|
-
}
|
|
2960
2916
|
|
|
2961
2917
|
|
|
2962
2918
|
|
|
@@ -26794,326 +26750,6 @@ proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.prototype.se
|
|
|
26794
26750
|
};
|
|
26795
26751
|
|
|
26796
26752
|
|
|
26797
|
-
|
|
26798
|
-
|
|
26799
|
-
|
|
26800
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26801
|
-
/**
|
|
26802
|
-
* Creates an object representation of this proto.
|
|
26803
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
26804
|
-
* Optional fields that are not set will be set to undefined.
|
|
26805
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
26806
|
-
* For the list of reserved names please see:
|
|
26807
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
26808
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
26809
|
-
* JSPB instance for transitional soy proto support:
|
|
26810
|
-
* http://goto/soy-param-migration
|
|
26811
|
-
* @return {!Object}
|
|
26812
|
-
*/
|
|
26813
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.prototype.toObject = function(opt_includeInstance) {
|
|
26814
|
-
return proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.toObject(opt_includeInstance, this);
|
|
26815
|
-
};
|
|
26816
|
-
|
|
26817
|
-
|
|
26818
|
-
/**
|
|
26819
|
-
* Static version of the {@see toObject} method.
|
|
26820
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
26821
|
-
* the JSPB instance for transitional soy proto support:
|
|
26822
|
-
* http://goto/soy-param-migration
|
|
26823
|
-
* @param {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest} msg The msg instance to transform.
|
|
26824
|
-
* @return {!Object}
|
|
26825
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26826
|
-
*/
|
|
26827
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.toObject = function(includeInstance, msg) {
|
|
26828
|
-
var f, obj = {
|
|
26829
|
-
offset: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
26830
|
-
limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
26831
|
-
};
|
|
26832
|
-
|
|
26833
|
-
if (includeInstance) {
|
|
26834
|
-
obj.$jspbMessageInstance = msg;
|
|
26835
|
-
}
|
|
26836
|
-
return obj;
|
|
26837
|
-
};
|
|
26838
|
-
}
|
|
26839
|
-
|
|
26840
|
-
|
|
26841
|
-
/**
|
|
26842
|
-
* Deserializes binary data (in protobuf wire format).
|
|
26843
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
26844
|
-
* @return {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest}
|
|
26845
|
-
*/
|
|
26846
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.deserializeBinary = function(bytes) {
|
|
26847
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
26848
|
-
var msg = new proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest;
|
|
26849
|
-
return proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.deserializeBinaryFromReader(msg, reader);
|
|
26850
|
-
};
|
|
26851
|
-
|
|
26852
|
-
|
|
26853
|
-
/**
|
|
26854
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
26855
|
-
* given reader into the given message object.
|
|
26856
|
-
* @param {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest} msg The message object to deserialize into.
|
|
26857
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
26858
|
-
* @return {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest}
|
|
26859
|
-
*/
|
|
26860
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
26861
|
-
while (reader.nextField()) {
|
|
26862
|
-
if (reader.isEndGroup()) {
|
|
26863
|
-
break;
|
|
26864
|
-
}
|
|
26865
|
-
var field = reader.getFieldNumber();
|
|
26866
|
-
switch (field) {
|
|
26867
|
-
case 1:
|
|
26868
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
26869
|
-
msg.setOffset(value);
|
|
26870
|
-
break;
|
|
26871
|
-
case 2:
|
|
26872
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
26873
|
-
msg.setLimit(value);
|
|
26874
|
-
break;
|
|
26875
|
-
default:
|
|
26876
|
-
reader.skipField();
|
|
26877
|
-
break;
|
|
26878
|
-
}
|
|
26879
|
-
}
|
|
26880
|
-
return msg;
|
|
26881
|
-
};
|
|
26882
|
-
|
|
26883
|
-
|
|
26884
|
-
/**
|
|
26885
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
26886
|
-
* @return {!Uint8Array}
|
|
26887
|
-
*/
|
|
26888
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.prototype.serializeBinary = function() {
|
|
26889
|
-
var writer = new jspb.BinaryWriter();
|
|
26890
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.serializeBinaryToWriter(this, writer);
|
|
26891
|
-
return writer.getResultBuffer();
|
|
26892
|
-
};
|
|
26893
|
-
|
|
26894
|
-
|
|
26895
|
-
/**
|
|
26896
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
26897
|
-
* format), writing to the given BinaryWriter.
|
|
26898
|
-
* @param {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest} message
|
|
26899
|
-
* @param {!jspb.BinaryWriter} writer
|
|
26900
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26901
|
-
*/
|
|
26902
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.serializeBinaryToWriter = function(message, writer) {
|
|
26903
|
-
var f = undefined;
|
|
26904
|
-
f = message.getOffset();
|
|
26905
|
-
if (f !== 0) {
|
|
26906
|
-
writer.writeInt32(
|
|
26907
|
-
1,
|
|
26908
|
-
f
|
|
26909
|
-
);
|
|
26910
|
-
}
|
|
26911
|
-
f = message.getLimit();
|
|
26912
|
-
if (f !== 0) {
|
|
26913
|
-
writer.writeInt32(
|
|
26914
|
-
2,
|
|
26915
|
-
f
|
|
26916
|
-
);
|
|
26917
|
-
}
|
|
26918
|
-
};
|
|
26919
|
-
|
|
26920
|
-
|
|
26921
|
-
/**
|
|
26922
|
-
* optional int32 offset = 1;
|
|
26923
|
-
* @return {number}
|
|
26924
|
-
*/
|
|
26925
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.prototype.getOffset = function() {
|
|
26926
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
26927
|
-
};
|
|
26928
|
-
|
|
26929
|
-
|
|
26930
|
-
/**
|
|
26931
|
-
* @param {number} value
|
|
26932
|
-
* @return {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest} returns this
|
|
26933
|
-
*/
|
|
26934
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.prototype.setOffset = function(value) {
|
|
26935
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
26936
|
-
};
|
|
26937
|
-
|
|
26938
|
-
|
|
26939
|
-
/**
|
|
26940
|
-
* optional int32 limit = 2;
|
|
26941
|
-
* @return {number}
|
|
26942
|
-
*/
|
|
26943
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.prototype.getLimit = function() {
|
|
26944
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
26945
|
-
};
|
|
26946
|
-
|
|
26947
|
-
|
|
26948
|
-
/**
|
|
26949
|
-
* @param {number} value
|
|
26950
|
-
* @return {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest} returns this
|
|
26951
|
-
*/
|
|
26952
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedRequest.prototype.setLimit = function(value) {
|
|
26953
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
26954
|
-
};
|
|
26955
|
-
|
|
26956
|
-
|
|
26957
|
-
|
|
26958
|
-
/**
|
|
26959
|
-
* List of repeated fields within this message type.
|
|
26960
|
-
* @private {!Array<number>}
|
|
26961
|
-
* @const
|
|
26962
|
-
*/
|
|
26963
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.repeatedFields_ = [1];
|
|
26964
|
-
|
|
26965
|
-
|
|
26966
|
-
|
|
26967
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26968
|
-
/**
|
|
26969
|
-
* Creates an object representation of this proto.
|
|
26970
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
26971
|
-
* Optional fields that are not set will be set to undefined.
|
|
26972
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
26973
|
-
* For the list of reserved names please see:
|
|
26974
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
26975
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
26976
|
-
* JSPB instance for transitional soy proto support:
|
|
26977
|
-
* http://goto/soy-param-migration
|
|
26978
|
-
* @return {!Object}
|
|
26979
|
-
*/
|
|
26980
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.prototype.toObject = function(opt_includeInstance) {
|
|
26981
|
-
return proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.toObject(opt_includeInstance, this);
|
|
26982
|
-
};
|
|
26983
|
-
|
|
26984
|
-
|
|
26985
|
-
/**
|
|
26986
|
-
* Static version of the {@see toObject} method.
|
|
26987
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
26988
|
-
* the JSPB instance for transitional soy proto support:
|
|
26989
|
-
* http://goto/soy-param-migration
|
|
26990
|
-
* @param {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse} msg The msg instance to transform.
|
|
26991
|
-
* @return {!Object}
|
|
26992
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26993
|
-
*/
|
|
26994
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.toObject = function(includeInstance, msg) {
|
|
26995
|
-
var f, obj = {
|
|
26996
|
-
installsList: jspb.Message.toObjectList(msg.getInstallsList(),
|
|
26997
|
-
proto.lansweeper.multitenant.v1.Install.toObject, includeInstance)
|
|
26998
|
-
};
|
|
26999
|
-
|
|
27000
|
-
if (includeInstance) {
|
|
27001
|
-
obj.$jspbMessageInstance = msg;
|
|
27002
|
-
}
|
|
27003
|
-
return obj;
|
|
27004
|
-
};
|
|
27005
|
-
}
|
|
27006
|
-
|
|
27007
|
-
|
|
27008
|
-
/**
|
|
27009
|
-
* Deserializes binary data (in protobuf wire format).
|
|
27010
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27011
|
-
* @return {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse}
|
|
27012
|
-
*/
|
|
27013
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.deserializeBinary = function(bytes) {
|
|
27014
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
27015
|
-
var msg = new proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse;
|
|
27016
|
-
return proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.deserializeBinaryFromReader(msg, reader);
|
|
27017
|
-
};
|
|
27018
|
-
|
|
27019
|
-
|
|
27020
|
-
/**
|
|
27021
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
27022
|
-
* given reader into the given message object.
|
|
27023
|
-
* @param {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse} msg The message object to deserialize into.
|
|
27024
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27025
|
-
* @return {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse}
|
|
27026
|
-
*/
|
|
27027
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
27028
|
-
while (reader.nextField()) {
|
|
27029
|
-
if (reader.isEndGroup()) {
|
|
27030
|
-
break;
|
|
27031
|
-
}
|
|
27032
|
-
var field = reader.getFieldNumber();
|
|
27033
|
-
switch (field) {
|
|
27034
|
-
case 1:
|
|
27035
|
-
var value = new proto.lansweeper.multitenant.v1.Install;
|
|
27036
|
-
reader.readMessage(value,proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader);
|
|
27037
|
-
msg.addInstalls(value);
|
|
27038
|
-
break;
|
|
27039
|
-
default:
|
|
27040
|
-
reader.skipField();
|
|
27041
|
-
break;
|
|
27042
|
-
}
|
|
27043
|
-
}
|
|
27044
|
-
return msg;
|
|
27045
|
-
};
|
|
27046
|
-
|
|
27047
|
-
|
|
27048
|
-
/**
|
|
27049
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
27050
|
-
* @return {!Uint8Array}
|
|
27051
|
-
*/
|
|
27052
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.prototype.serializeBinary = function() {
|
|
27053
|
-
var writer = new jspb.BinaryWriter();
|
|
27054
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.serializeBinaryToWriter(this, writer);
|
|
27055
|
-
return writer.getResultBuffer();
|
|
27056
|
-
};
|
|
27057
|
-
|
|
27058
|
-
|
|
27059
|
-
/**
|
|
27060
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
27061
|
-
* format), writing to the given BinaryWriter.
|
|
27062
|
-
* @param {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse} message
|
|
27063
|
-
* @param {!jspb.BinaryWriter} writer
|
|
27064
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27065
|
-
*/
|
|
27066
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.serializeBinaryToWriter = function(message, writer) {
|
|
27067
|
-
var f = undefined;
|
|
27068
|
-
f = message.getInstallsList();
|
|
27069
|
-
if (f.length > 0) {
|
|
27070
|
-
writer.writeRepeatedMessage(
|
|
27071
|
-
1,
|
|
27072
|
-
f,
|
|
27073
|
-
proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter
|
|
27074
|
-
);
|
|
27075
|
-
}
|
|
27076
|
-
};
|
|
27077
|
-
|
|
27078
|
-
|
|
27079
|
-
/**
|
|
27080
|
-
* repeated Install installs = 1;
|
|
27081
|
-
* @return {!Array<!proto.lansweeper.multitenant.v1.Install>}
|
|
27082
|
-
*/
|
|
27083
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.prototype.getInstallsList = function() {
|
|
27084
|
-
return /** @type{!Array<!proto.lansweeper.multitenant.v1.Install>} */ (
|
|
27085
|
-
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.Install, 1));
|
|
27086
|
-
};
|
|
27087
|
-
|
|
27088
|
-
|
|
27089
|
-
/**
|
|
27090
|
-
* @param {!Array<!proto.lansweeper.multitenant.v1.Install>} value
|
|
27091
|
-
* @return {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse} returns this
|
|
27092
|
-
*/
|
|
27093
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.prototype.setInstallsList = function(value) {
|
|
27094
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
27095
|
-
};
|
|
27096
|
-
|
|
27097
|
-
|
|
27098
|
-
/**
|
|
27099
|
-
* @param {!proto.lansweeper.multitenant.v1.Install=} opt_value
|
|
27100
|
-
* @param {number=} opt_index
|
|
27101
|
-
* @return {!proto.lansweeper.multitenant.v1.Install}
|
|
27102
|
-
*/
|
|
27103
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.prototype.addInstalls = function(opt_value, opt_index) {
|
|
27104
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.Install, opt_index);
|
|
27105
|
-
};
|
|
27106
|
-
|
|
27107
|
-
|
|
27108
|
-
/**
|
|
27109
|
-
* Clears the list making it empty but non-null.
|
|
27110
|
-
* @return {!proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse} returns this
|
|
27111
|
-
*/
|
|
27112
|
-
proto.lansweeper.multitenant.v1.GetAllInstallsPaginatedResponse.prototype.clearInstallsList = function() {
|
|
27113
|
-
return this.setInstallsList([]);
|
|
27114
|
-
};
|
|
27115
|
-
|
|
27116
|
-
|
|
27117
26753
|
/**
|
|
27118
26754
|
* @enum {number}
|
|
27119
26755
|
*/
|