@lansweeper/multitenant-api-grpc 0.4.57 → 0.4.59
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 +0 -17
- package/gen-proto/multitenant_grpc_pb.js +0 -33
- package/gen-proto/multitenant_pb.d.ts +3 -40
- package/gen-proto/multitenant_pb.js +31 -305
- package/generated-go/multitenant.pb.go +1430 -1560
- package/generated-go/multitenant_grpc.pb.go +0 -38
- package/package.json +2 -2
- package/proto/multitenant.proto +1 -7
|
@@ -43,7 +43,6 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
43
43
|
allProfilesExist: IMultitenantService_IAllProfilesExist;
|
|
44
44
|
sendInviteLocalUsersMail: IMultitenantService_ISendInviteLocalUsersMail;
|
|
45
45
|
allProfileExists: IMultitenantService_IAllProfileExists;
|
|
46
|
-
getSiteSubscription: IMultitenantService_IGetSiteSubscription;
|
|
47
46
|
createLinkingCode: IMultitenantService_ICreateLinkingCode;
|
|
48
47
|
getSiteIdsWithIntegrationBySiteId: IMultitenantService_IGetSiteIdsWithIntegrationBySiteId;
|
|
49
48
|
checkStandardizedSoftwareEnabled: IMultitenantService_ICheckStandardizedSoftwareEnabled;
|
|
@@ -354,15 +353,6 @@ interface IMultitenantService_IAllProfileExists extends grpc.MethodDefinition<mu
|
|
|
354
353
|
responseSerialize: grpc.serialize<multitenant_pb.AllProfileExistsResponse>;
|
|
355
354
|
responseDeserialize: grpc.deserialize<multitenant_pb.AllProfileExistsResponse>;
|
|
356
355
|
}
|
|
357
|
-
interface IMultitenantService_IGetSiteSubscription extends grpc.MethodDefinition<multitenant_pb.GetSiteSubscriptionRequest, multitenant_pb.GetSiteSubscriptionResponse> {
|
|
358
|
-
path: "/lansweeper.multitenant.v1.Multitenant/GetSiteSubscription";
|
|
359
|
-
requestStream: false;
|
|
360
|
-
responseStream: false;
|
|
361
|
-
requestSerialize: grpc.serialize<multitenant_pb.GetSiteSubscriptionRequest>;
|
|
362
|
-
requestDeserialize: grpc.deserialize<multitenant_pb.GetSiteSubscriptionRequest>;
|
|
363
|
-
responseSerialize: grpc.serialize<multitenant_pb.GetSiteSubscriptionResponse>;
|
|
364
|
-
responseDeserialize: grpc.deserialize<multitenant_pb.GetSiteSubscriptionResponse>;
|
|
365
|
-
}
|
|
366
356
|
interface IMultitenantService_ICreateLinkingCode extends grpc.MethodDefinition<multitenant_pb.CreateLinkingCodeRequest, multitenant_pb.CreateLinkingCodeResponse> {
|
|
367
357
|
path: "/lansweeper.multitenant.v1.Multitenant/CreateLinkingCode";
|
|
368
358
|
requestStream: false;
|
|
@@ -499,7 +489,6 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
499
489
|
allProfilesExist: grpc.handleUnaryCall<multitenant_pb.AllProfilesExistRequest, multitenant_pb.AllProfilesExistResponse>;
|
|
500
490
|
sendInviteLocalUsersMail: grpc.handleUnaryCall<multitenant_pb.SendInviteLocalUsersMailRequest, multitenant_pb.SendInviteLocalUsersMailResponse>;
|
|
501
491
|
allProfileExists: grpc.handleUnaryCall<multitenant_pb.AllProfileExistsRequest, multitenant_pb.AllProfileExistsResponse>;
|
|
502
|
-
getSiteSubscription: grpc.handleUnaryCall<multitenant_pb.GetSiteSubscriptionRequest, multitenant_pb.GetSiteSubscriptionResponse>;
|
|
503
492
|
createLinkingCode: grpc.handleUnaryCall<multitenant_pb.CreateLinkingCodeRequest, multitenant_pb.CreateLinkingCodeResponse>;
|
|
504
493
|
getSiteIdsWithIntegrationBySiteId: grpc.handleUnaryCall<multitenant_pb.GetSiteIdsWithIntegrationData, multitenant_pb.GetSiteIdsWithIntegrationData>;
|
|
505
494
|
checkStandardizedSoftwareEnabled: grpc.handleUnaryCall<multitenant_pb.CheckStandardizedSoftwareEnabledRequest, multitenant_pb.CheckStandardizedSoftwareEnabledResponse>;
|
|
@@ -613,9 +602,6 @@ export interface IMultitenantClient {
|
|
|
613
602
|
allProfileExists(request: multitenant_pb.AllProfileExistsRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
614
603
|
allProfileExists(request: multitenant_pb.AllProfileExistsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
615
604
|
allProfileExists(request: multitenant_pb.AllProfileExistsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
616
|
-
getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
617
|
-
getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
618
|
-
getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
619
605
|
createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
|
|
620
606
|
createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
|
|
621
607
|
createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -752,9 +738,6 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
752
738
|
public allProfileExists(request: multitenant_pb.AllProfileExistsRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
753
739
|
public allProfileExists(request: multitenant_pb.AllProfileExistsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.AllProfileExistsResponse) => void): grpc.ClientUnaryCall;
|
|
754
740
|
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;
|
|
755
|
-
public getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
756
|
-
public getSiteSubscription(request: multitenant_pb.GetSiteSubscriptionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteSubscriptionResponse) => void): grpc.ClientUnaryCall;
|
|
757
|
-
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;
|
|
758
741
|
public createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
|
|
759
742
|
public createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
|
|
760
743
|
public createLinkingCode(request: multitenant_pb.CreateLinkingCodeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateLinkingCodeResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -611,28 +611,6 @@ function deserialize_lansweeper_multitenant_v1_GetSiteLimitsResponse(buffer_arg)
|
|
|
611
611
|
return multitenant_pb.GetSiteLimitsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
612
612
|
}
|
|
613
613
|
|
|
614
|
-
function serialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest(arg) {
|
|
615
|
-
if (!(arg instanceof multitenant_pb.GetSiteSubscriptionRequest)) {
|
|
616
|
-
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSiteSubscriptionRequest');
|
|
617
|
-
}
|
|
618
|
-
return Buffer.from(arg.serializeBinary());
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
function deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest(buffer_arg) {
|
|
622
|
-
return multitenant_pb.GetSiteSubscriptionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
function serialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse(arg) {
|
|
626
|
-
if (!(arg instanceof multitenant_pb.GetSiteSubscriptionResponse)) {
|
|
627
|
-
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSiteSubscriptionResponse');
|
|
628
|
-
}
|
|
629
|
-
return Buffer.from(arg.serializeBinary());
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
function deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse(buffer_arg) {
|
|
633
|
-
return multitenant_pb.GetSiteSubscriptionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
634
|
-
}
|
|
635
|
-
|
|
636
614
|
function serialize_lansweeper_multitenant_v1_GetSitesByMsmpOrganizationIdRequest(arg) {
|
|
637
615
|
if (!(arg instanceof multitenant_pb.GetSitesByMsmpOrganizationIdRequest)) {
|
|
638
616
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest');
|
|
@@ -1350,17 +1328,6 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
1350
1328
|
responseSerialize: serialize_lansweeper_multitenant_v1_AllProfileExistsResponse,
|
|
1351
1329
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_AllProfileExistsResponse,
|
|
1352
1330
|
},
|
|
1353
|
-
getSiteSubscription: {
|
|
1354
|
-
path: '/lansweeper.multitenant.v1.Multitenant/GetSiteSubscription',
|
|
1355
|
-
requestStream: false,
|
|
1356
|
-
responseStream: false,
|
|
1357
|
-
requestType: multitenant_pb.GetSiteSubscriptionRequest,
|
|
1358
|
-
responseType: multitenant_pb.GetSiteSubscriptionResponse,
|
|
1359
|
-
requestSerialize: serialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest,
|
|
1360
|
-
requestDeserialize: deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionRequest,
|
|
1361
|
-
responseSerialize: serialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse,
|
|
1362
|
-
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetSiteSubscriptionResponse,
|
|
1363
|
-
},
|
|
1364
1331
|
createLinkingCode: {
|
|
1365
1332
|
path: '/lansweeper.multitenant.v1.Multitenant/CreateLinkingCode',
|
|
1366
1333
|
requestStream: false,
|
|
@@ -193,6 +193,8 @@ export class PreviewSite extends jspb.Message {
|
|
|
193
193
|
clearCreatedBy(): void;
|
|
194
194
|
getCreatedBy(): PreviewAccount | undefined;
|
|
195
195
|
setCreatedBy(value?: PreviewAccount): PreviewSite;
|
|
196
|
+
getCurrentSubscriptionId(): string;
|
|
197
|
+
setCurrentSubscriptionId(value: string): PreviewSite;
|
|
196
198
|
|
|
197
199
|
serializeBinary(): Uint8Array;
|
|
198
200
|
toObject(includeInstance?: boolean): PreviewSite.AsObject;
|
|
@@ -212,6 +214,7 @@ export namespace PreviewSite {
|
|
|
212
214
|
logoUrl: string,
|
|
213
215
|
mode: SiteMode,
|
|
214
216
|
createdBy?: PreviewAccount.AsObject,
|
|
217
|
+
currentSubscriptionId: string,
|
|
215
218
|
}
|
|
216
219
|
}
|
|
217
220
|
|
|
@@ -2192,46 +2195,6 @@ export namespace SendInviteLocalUsersMailResponse {
|
|
|
2192
2195
|
}
|
|
2193
2196
|
}
|
|
2194
2197
|
|
|
2195
|
-
export class GetSiteSubscriptionRequest extends jspb.Message {
|
|
2196
|
-
getSiteId(): string;
|
|
2197
|
-
setSiteId(value: string): GetSiteSubscriptionRequest;
|
|
2198
|
-
|
|
2199
|
-
serializeBinary(): Uint8Array;
|
|
2200
|
-
toObject(includeInstance?: boolean): GetSiteSubscriptionRequest.AsObject;
|
|
2201
|
-
static toObject(includeInstance: boolean, msg: GetSiteSubscriptionRequest): GetSiteSubscriptionRequest.AsObject;
|
|
2202
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2203
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2204
|
-
static serializeBinaryToWriter(message: GetSiteSubscriptionRequest, writer: jspb.BinaryWriter): void;
|
|
2205
|
-
static deserializeBinary(bytes: Uint8Array): GetSiteSubscriptionRequest;
|
|
2206
|
-
static deserializeBinaryFromReader(message: GetSiteSubscriptionRequest, reader: jspb.BinaryReader): GetSiteSubscriptionRequest;
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
export namespace GetSiteSubscriptionRequest {
|
|
2210
|
-
export type AsObject = {
|
|
2211
|
-
siteId: string,
|
|
2212
|
-
}
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
|
-
export class GetSiteSubscriptionResponse extends jspb.Message {
|
|
2216
|
-
getType(): SubscriptionType;
|
|
2217
|
-
setType(value: SubscriptionType): GetSiteSubscriptionResponse;
|
|
2218
|
-
|
|
2219
|
-
serializeBinary(): Uint8Array;
|
|
2220
|
-
toObject(includeInstance?: boolean): GetSiteSubscriptionResponse.AsObject;
|
|
2221
|
-
static toObject(includeInstance: boolean, msg: GetSiteSubscriptionResponse): GetSiteSubscriptionResponse.AsObject;
|
|
2222
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2223
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2224
|
-
static serializeBinaryToWriter(message: GetSiteSubscriptionResponse, writer: jspb.BinaryWriter): void;
|
|
2225
|
-
static deserializeBinary(bytes: Uint8Array): GetSiteSubscriptionResponse;
|
|
2226
|
-
static deserializeBinaryFromReader(message: GetSiteSubscriptionResponse, reader: jspb.BinaryReader): GetSiteSubscriptionResponse;
|
|
2227
|
-
}
|
|
2228
|
-
|
|
2229
|
-
export namespace GetSiteSubscriptionResponse {
|
|
2230
|
-
export type AsObject = {
|
|
2231
|
-
type: SubscriptionType,
|
|
2232
|
-
}
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2235
2198
|
export class CreateLinkingCodeRequest extends jspb.Message {
|
|
2236
2199
|
getSiteId(): string;
|
|
2237
2200
|
setSiteId(value: string): CreateLinkingCodeRequest;
|
|
@@ -85,8 +85,6 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountsByAccountId
|
|
|
85
85
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData', null, global);
|
|
86
86
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteLimitsRequest', null, global);
|
|
87
87
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteLimitsResponse', null, global);
|
|
88
|
-
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest', null, global);
|
|
89
|
-
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse', null, global);
|
|
90
88
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdRequest', null, global);
|
|
91
89
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSitesByMsmpOrganizationIdResponse', null, global);
|
|
92
90
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetUserPermissionsRequest', null, global);
|
|
@@ -1925,48 +1923,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1925
1923
|
*/
|
|
1926
1924
|
proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.displayName = 'proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse';
|
|
1927
1925
|
}
|
|
1928
|
-
/**
|
|
1929
|
-
* Generated by JsPbCodeGenerator.
|
|
1930
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1931
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1932
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1933
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1934
|
-
* valid.
|
|
1935
|
-
* @extends {jspb.Message}
|
|
1936
|
-
* @constructor
|
|
1937
|
-
*/
|
|
1938
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest = function(opt_data) {
|
|
1939
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1940
|
-
};
|
|
1941
|
-
goog.inherits(proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest, jspb.Message);
|
|
1942
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1943
|
-
/**
|
|
1944
|
-
* @public
|
|
1945
|
-
* @override
|
|
1946
|
-
*/
|
|
1947
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.displayName = 'proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest';
|
|
1948
|
-
}
|
|
1949
|
-
/**
|
|
1950
|
-
* Generated by JsPbCodeGenerator.
|
|
1951
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1952
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1953
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1954
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1955
|
-
* valid.
|
|
1956
|
-
* @extends {jspb.Message}
|
|
1957
|
-
* @constructor
|
|
1958
|
-
*/
|
|
1959
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse = function(opt_data) {
|
|
1960
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1961
|
-
};
|
|
1962
|
-
goog.inherits(proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse, jspb.Message);
|
|
1963
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1964
|
-
/**
|
|
1965
|
-
* @public
|
|
1966
|
-
* @override
|
|
1967
|
-
*/
|
|
1968
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.displayName = 'proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse';
|
|
1969
|
-
}
|
|
1970
1926
|
/**
|
|
1971
1927
|
* Generated by JsPbCodeGenerator.
|
|
1972
1928
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3710,7 +3666,8 @@ proto.lansweeper.multitenant.v1.PreviewSite.toObject = function(includeInstance,
|
|
|
3710
3666
|
companyName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3711
3667
|
logoUrl: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3712
3668
|
mode: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
3713
|
-
createdBy: (f = msg.getCreatedBy()) && proto.lansweeper.multitenant.v1.PreviewAccount.toObject(includeInstance, f)
|
|
3669
|
+
createdBy: (f = msg.getCreatedBy()) && proto.lansweeper.multitenant.v1.PreviewAccount.toObject(includeInstance, f),
|
|
3670
|
+
currentSubscriptionId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
3714
3671
|
};
|
|
3715
3672
|
|
|
3716
3673
|
if (includeInstance) {
|
|
@@ -3772,6 +3729,10 @@ proto.lansweeper.multitenant.v1.PreviewSite.deserializeBinaryFromReader = functi
|
|
|
3772
3729
|
reader.readMessage(value,proto.lansweeper.multitenant.v1.PreviewAccount.deserializeBinaryFromReader);
|
|
3773
3730
|
msg.setCreatedBy(value);
|
|
3774
3731
|
break;
|
|
3732
|
+
case 7:
|
|
3733
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3734
|
+
msg.setCurrentSubscriptionId(value);
|
|
3735
|
+
break;
|
|
3775
3736
|
default:
|
|
3776
3737
|
reader.skipField();
|
|
3777
3738
|
break;
|
|
@@ -3844,6 +3805,13 @@ proto.lansweeper.multitenant.v1.PreviewSite.serializeBinaryToWriter = function(m
|
|
|
3844
3805
|
proto.lansweeper.multitenant.v1.PreviewAccount.serializeBinaryToWriter
|
|
3845
3806
|
);
|
|
3846
3807
|
}
|
|
3808
|
+
f = message.getCurrentSubscriptionId();
|
|
3809
|
+
if (f.length > 0) {
|
|
3810
|
+
writer.writeString(
|
|
3811
|
+
7,
|
|
3812
|
+
f
|
|
3813
|
+
);
|
|
3814
|
+
}
|
|
3847
3815
|
};
|
|
3848
3816
|
|
|
3849
3817
|
|
|
@@ -3974,6 +3942,24 @@ proto.lansweeper.multitenant.v1.PreviewSite.prototype.hasCreatedBy = function()
|
|
|
3974
3942
|
};
|
|
3975
3943
|
|
|
3976
3944
|
|
|
3945
|
+
/**
|
|
3946
|
+
* optional string current_subscription_id = 7;
|
|
3947
|
+
* @return {string}
|
|
3948
|
+
*/
|
|
3949
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.getCurrentSubscriptionId = function() {
|
|
3950
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3951
|
+
};
|
|
3952
|
+
|
|
3953
|
+
|
|
3954
|
+
/**
|
|
3955
|
+
* @param {string} value
|
|
3956
|
+
* @return {!proto.lansweeper.multitenant.v1.PreviewSite} returns this
|
|
3957
|
+
*/
|
|
3958
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.setCurrentSubscriptionId = function(value) {
|
|
3959
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
|
|
3977
3963
|
|
|
3978
3964
|
|
|
3979
3965
|
|
|
@@ -18179,266 +18165,6 @@ proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailResponse.prototype.setSe
|
|
|
18179
18165
|
|
|
18180
18166
|
|
|
18181
18167
|
|
|
18182
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18183
|
-
/**
|
|
18184
|
-
* Creates an object representation of this proto.
|
|
18185
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18186
|
-
* Optional fields that are not set will be set to undefined.
|
|
18187
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18188
|
-
* For the list of reserved names please see:
|
|
18189
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18190
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18191
|
-
* JSPB instance for transitional soy proto support:
|
|
18192
|
-
* http://goto/soy-param-migration
|
|
18193
|
-
* @return {!Object}
|
|
18194
|
-
*/
|
|
18195
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18196
|
-
return proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.toObject(opt_includeInstance, this);
|
|
18197
|
-
};
|
|
18198
|
-
|
|
18199
|
-
|
|
18200
|
-
/**
|
|
18201
|
-
* Static version of the {@see toObject} method.
|
|
18202
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18203
|
-
* the JSPB instance for transitional soy proto support:
|
|
18204
|
-
* http://goto/soy-param-migration
|
|
18205
|
-
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest} msg The msg instance to transform.
|
|
18206
|
-
* @return {!Object}
|
|
18207
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18208
|
-
*/
|
|
18209
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.toObject = function(includeInstance, msg) {
|
|
18210
|
-
var f, obj = {
|
|
18211
|
-
siteId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
18212
|
-
};
|
|
18213
|
-
|
|
18214
|
-
if (includeInstance) {
|
|
18215
|
-
obj.$jspbMessageInstance = msg;
|
|
18216
|
-
}
|
|
18217
|
-
return obj;
|
|
18218
|
-
};
|
|
18219
|
-
}
|
|
18220
|
-
|
|
18221
|
-
|
|
18222
|
-
/**
|
|
18223
|
-
* Deserializes binary data (in protobuf wire format).
|
|
18224
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18225
|
-
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest}
|
|
18226
|
-
*/
|
|
18227
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.deserializeBinary = function(bytes) {
|
|
18228
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
18229
|
-
var msg = new proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest;
|
|
18230
|
-
return proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.deserializeBinaryFromReader(msg, reader);
|
|
18231
|
-
};
|
|
18232
|
-
|
|
18233
|
-
|
|
18234
|
-
/**
|
|
18235
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
18236
|
-
* given reader into the given message object.
|
|
18237
|
-
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest} msg The message object to deserialize into.
|
|
18238
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18239
|
-
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest}
|
|
18240
|
-
*/
|
|
18241
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18242
|
-
while (reader.nextField()) {
|
|
18243
|
-
if (reader.isEndGroup()) {
|
|
18244
|
-
break;
|
|
18245
|
-
}
|
|
18246
|
-
var field = reader.getFieldNumber();
|
|
18247
|
-
switch (field) {
|
|
18248
|
-
case 1:
|
|
18249
|
-
var value = /** @type {string} */ (reader.readString());
|
|
18250
|
-
msg.setSiteId(value);
|
|
18251
|
-
break;
|
|
18252
|
-
default:
|
|
18253
|
-
reader.skipField();
|
|
18254
|
-
break;
|
|
18255
|
-
}
|
|
18256
|
-
}
|
|
18257
|
-
return msg;
|
|
18258
|
-
};
|
|
18259
|
-
|
|
18260
|
-
|
|
18261
|
-
/**
|
|
18262
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
18263
|
-
* @return {!Uint8Array}
|
|
18264
|
-
*/
|
|
18265
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.prototype.serializeBinary = function() {
|
|
18266
|
-
var writer = new jspb.BinaryWriter();
|
|
18267
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.serializeBinaryToWriter(this, writer);
|
|
18268
|
-
return writer.getResultBuffer();
|
|
18269
|
-
};
|
|
18270
|
-
|
|
18271
|
-
|
|
18272
|
-
/**
|
|
18273
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
18274
|
-
* format), writing to the given BinaryWriter.
|
|
18275
|
-
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest} message
|
|
18276
|
-
* @param {!jspb.BinaryWriter} writer
|
|
18277
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18278
|
-
*/
|
|
18279
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18280
|
-
var f = undefined;
|
|
18281
|
-
f = message.getSiteId();
|
|
18282
|
-
if (f.length > 0) {
|
|
18283
|
-
writer.writeString(
|
|
18284
|
-
1,
|
|
18285
|
-
f
|
|
18286
|
-
);
|
|
18287
|
-
}
|
|
18288
|
-
};
|
|
18289
|
-
|
|
18290
|
-
|
|
18291
|
-
/**
|
|
18292
|
-
* optional string site_id = 1;
|
|
18293
|
-
* @return {string}
|
|
18294
|
-
*/
|
|
18295
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.prototype.getSiteId = function() {
|
|
18296
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
18297
|
-
};
|
|
18298
|
-
|
|
18299
|
-
|
|
18300
|
-
/**
|
|
18301
|
-
* @param {string} value
|
|
18302
|
-
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest} returns this
|
|
18303
|
-
*/
|
|
18304
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionRequest.prototype.setSiteId = function(value) {
|
|
18305
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
18306
|
-
};
|
|
18307
|
-
|
|
18308
|
-
|
|
18309
|
-
|
|
18310
|
-
|
|
18311
|
-
|
|
18312
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18313
|
-
/**
|
|
18314
|
-
* Creates an object representation of this proto.
|
|
18315
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18316
|
-
* Optional fields that are not set will be set to undefined.
|
|
18317
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18318
|
-
* For the list of reserved names please see:
|
|
18319
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18320
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18321
|
-
* JSPB instance for transitional soy proto support:
|
|
18322
|
-
* http://goto/soy-param-migration
|
|
18323
|
-
* @return {!Object}
|
|
18324
|
-
*/
|
|
18325
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
18326
|
-
return proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.toObject(opt_includeInstance, this);
|
|
18327
|
-
};
|
|
18328
|
-
|
|
18329
|
-
|
|
18330
|
-
/**
|
|
18331
|
-
* Static version of the {@see toObject} method.
|
|
18332
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18333
|
-
* the JSPB instance for transitional soy proto support:
|
|
18334
|
-
* http://goto/soy-param-migration
|
|
18335
|
-
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse} msg The msg instance to transform.
|
|
18336
|
-
* @return {!Object}
|
|
18337
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18338
|
-
*/
|
|
18339
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.toObject = function(includeInstance, msg) {
|
|
18340
|
-
var f, obj = {
|
|
18341
|
-
type: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
18342
|
-
};
|
|
18343
|
-
|
|
18344
|
-
if (includeInstance) {
|
|
18345
|
-
obj.$jspbMessageInstance = msg;
|
|
18346
|
-
}
|
|
18347
|
-
return obj;
|
|
18348
|
-
};
|
|
18349
|
-
}
|
|
18350
|
-
|
|
18351
|
-
|
|
18352
|
-
/**
|
|
18353
|
-
* Deserializes binary data (in protobuf wire format).
|
|
18354
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18355
|
-
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse}
|
|
18356
|
-
*/
|
|
18357
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.deserializeBinary = function(bytes) {
|
|
18358
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
18359
|
-
var msg = new proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse;
|
|
18360
|
-
return proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.deserializeBinaryFromReader(msg, reader);
|
|
18361
|
-
};
|
|
18362
|
-
|
|
18363
|
-
|
|
18364
|
-
/**
|
|
18365
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
18366
|
-
* given reader into the given message object.
|
|
18367
|
-
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse} msg The message object to deserialize into.
|
|
18368
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18369
|
-
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse}
|
|
18370
|
-
*/
|
|
18371
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
18372
|
-
while (reader.nextField()) {
|
|
18373
|
-
if (reader.isEndGroup()) {
|
|
18374
|
-
break;
|
|
18375
|
-
}
|
|
18376
|
-
var field = reader.getFieldNumber();
|
|
18377
|
-
switch (field) {
|
|
18378
|
-
case 1:
|
|
18379
|
-
var value = /** @type {!proto.lansweeper.multitenant.v1.SubscriptionType} */ (reader.readEnum());
|
|
18380
|
-
msg.setType(value);
|
|
18381
|
-
break;
|
|
18382
|
-
default:
|
|
18383
|
-
reader.skipField();
|
|
18384
|
-
break;
|
|
18385
|
-
}
|
|
18386
|
-
}
|
|
18387
|
-
return msg;
|
|
18388
|
-
};
|
|
18389
|
-
|
|
18390
|
-
|
|
18391
|
-
/**
|
|
18392
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
18393
|
-
* @return {!Uint8Array}
|
|
18394
|
-
*/
|
|
18395
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.prototype.serializeBinary = function() {
|
|
18396
|
-
var writer = new jspb.BinaryWriter();
|
|
18397
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.serializeBinaryToWriter(this, writer);
|
|
18398
|
-
return writer.getResultBuffer();
|
|
18399
|
-
};
|
|
18400
|
-
|
|
18401
|
-
|
|
18402
|
-
/**
|
|
18403
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
18404
|
-
* format), writing to the given BinaryWriter.
|
|
18405
|
-
* @param {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse} message
|
|
18406
|
-
* @param {!jspb.BinaryWriter} writer
|
|
18407
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18408
|
-
*/
|
|
18409
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
18410
|
-
var f = undefined;
|
|
18411
|
-
f = message.getType();
|
|
18412
|
-
if (f !== 0.0) {
|
|
18413
|
-
writer.writeEnum(
|
|
18414
|
-
1,
|
|
18415
|
-
f
|
|
18416
|
-
);
|
|
18417
|
-
}
|
|
18418
|
-
};
|
|
18419
|
-
|
|
18420
|
-
|
|
18421
|
-
/**
|
|
18422
|
-
* optional SubscriptionType type = 1;
|
|
18423
|
-
* @return {!proto.lansweeper.multitenant.v1.SubscriptionType}
|
|
18424
|
-
*/
|
|
18425
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.prototype.getType = function() {
|
|
18426
|
-
return /** @type {!proto.lansweeper.multitenant.v1.SubscriptionType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18427
|
-
};
|
|
18428
|
-
|
|
18429
|
-
|
|
18430
|
-
/**
|
|
18431
|
-
* @param {!proto.lansweeper.multitenant.v1.SubscriptionType} value
|
|
18432
|
-
* @return {!proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse} returns this
|
|
18433
|
-
*/
|
|
18434
|
-
proto.lansweeper.multitenant.v1.GetSiteSubscriptionResponse.prototype.setType = function(value) {
|
|
18435
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
18436
|
-
};
|
|
18437
|
-
|
|
18438
|
-
|
|
18439
|
-
|
|
18440
|
-
|
|
18441
|
-
|
|
18442
18168
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18443
18169
|
/**
|
|
18444
18170
|
* Creates an object representation of this proto.
|