@lansweeper/multitenant-api-grpc 0.4.32 → 0.4.34
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 +22 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_pb.d.ts +6 -0
- package/gen-proto/multitenant_pb.js +62 -2
- package/generated-go/multitenant.pb.go +252 -226
- package/package.json +2 -2
- package/proto/multitenant.proto +3 -1
|
@@ -392,6 +392,8 @@ export class Install extends jspb.Message {
|
|
|
392
392
|
setLicense(value: string): Install;
|
|
393
393
|
getType(): string;
|
|
394
394
|
setType(value: string): Install;
|
|
395
|
+
getInstallType(): InstallType;
|
|
396
|
+
setInstallType(value: InstallType): Install;
|
|
395
397
|
|
|
396
398
|
serializeBinary(): Uint8Array;
|
|
397
399
|
toObject(includeInstance?: boolean): Install.AsObject;
|
|
@@ -417,6 +419,7 @@ export namespace Install {
|
|
|
417
419
|
createdAt: string,
|
|
418
420
|
license: string,
|
|
419
421
|
type: string,
|
|
422
|
+
installType: InstallType,
|
|
420
423
|
}
|
|
421
424
|
|
|
422
425
|
|
|
@@ -793,6 +796,8 @@ export class CreateAndLinkInstallRequest extends jspb.Message {
|
|
|
793
796
|
setCreatedById(value: string): CreateAndLinkInstallRequest;
|
|
794
797
|
getClientId(): string;
|
|
795
798
|
setClientId(value: string): CreateAndLinkInstallRequest;
|
|
799
|
+
getExternalId(): string;
|
|
800
|
+
setExternalId(value: string): CreateAndLinkInstallRequest;
|
|
796
801
|
|
|
797
802
|
serializeBinary(): Uint8Array;
|
|
798
803
|
toObject(includeInstance?: boolean): CreateAndLinkInstallRequest.AsObject;
|
|
@@ -813,6 +818,7 @@ export namespace CreateAndLinkInstallRequest {
|
|
|
813
818
|
type: InstallType,
|
|
814
819
|
createdById: string,
|
|
815
820
|
clientId: string,
|
|
821
|
+
externalId: string,
|
|
816
822
|
}
|
|
817
823
|
}
|
|
818
824
|
|
|
@@ -4387,7 +4387,8 @@ proto.lansweeper.multitenant.v1.Install.toObject = function(includeInstance, msg
|
|
|
4387
4387
|
state: (f = msg.getState()) && proto.lansweeper.multitenant.v1.Install.InstallState.toObject(includeInstance, f),
|
|
4388
4388
|
createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4389
4389
|
license: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4390
|
-
type: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
4390
|
+
type: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
4391
|
+
installType: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
4391
4392
|
};
|
|
4392
4393
|
|
|
4393
4394
|
if (includeInstance) {
|
|
@@ -4473,6 +4474,10 @@ proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader = function(m
|
|
|
4473
4474
|
var value = /** @type {string} */ (reader.readString());
|
|
4474
4475
|
msg.setType(value);
|
|
4475
4476
|
break;
|
|
4477
|
+
case 13:
|
|
4478
|
+
var value = /** @type {!proto.lansweeper.multitenant.v1.InstallType} */ (reader.readEnum());
|
|
4479
|
+
msg.setInstallType(value);
|
|
4480
|
+
break;
|
|
4476
4481
|
default:
|
|
4477
4482
|
reader.skipField();
|
|
4478
4483
|
break;
|
|
@@ -4587,6 +4592,13 @@ proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter = function(messa
|
|
|
4587
4592
|
f
|
|
4588
4593
|
);
|
|
4589
4594
|
}
|
|
4595
|
+
f = message.getInstallType();
|
|
4596
|
+
if (f !== 0.0) {
|
|
4597
|
+
writer.writeEnum(
|
|
4598
|
+
13,
|
|
4599
|
+
f
|
|
4600
|
+
);
|
|
4601
|
+
}
|
|
4590
4602
|
};
|
|
4591
4603
|
|
|
4592
4604
|
|
|
@@ -4955,6 +4967,24 @@ proto.lansweeper.multitenant.v1.Install.prototype.setType = function(value) {
|
|
|
4955
4967
|
};
|
|
4956
4968
|
|
|
4957
4969
|
|
|
4970
|
+
/**
|
|
4971
|
+
* optional InstallType install_type = 13;
|
|
4972
|
+
* @return {!proto.lansweeper.multitenant.v1.InstallType}
|
|
4973
|
+
*/
|
|
4974
|
+
proto.lansweeper.multitenant.v1.Install.prototype.getInstallType = function() {
|
|
4975
|
+
return /** @type {!proto.lansweeper.multitenant.v1.InstallType} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
4976
|
+
};
|
|
4977
|
+
|
|
4978
|
+
|
|
4979
|
+
/**
|
|
4980
|
+
* @param {!proto.lansweeper.multitenant.v1.InstallType} value
|
|
4981
|
+
* @return {!proto.lansweeper.multitenant.v1.Install} returns this
|
|
4982
|
+
*/
|
|
4983
|
+
proto.lansweeper.multitenant.v1.Install.prototype.setInstallType = function(value) {
|
|
4984
|
+
return jspb.Message.setProto3EnumField(this, 13, value);
|
|
4985
|
+
};
|
|
4986
|
+
|
|
4987
|
+
|
|
4958
4988
|
|
|
4959
4989
|
|
|
4960
4990
|
|
|
@@ -7337,7 +7367,8 @@ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.toObject = function(
|
|
|
7337
7367
|
globalId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7338
7368
|
type: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
7339
7369
|
createdById: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
7340
|
-
clientId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
7370
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7371
|
+
externalId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
7341
7372
|
};
|
|
7342
7373
|
|
|
7343
7374
|
if (includeInstance) {
|
|
@@ -7402,6 +7433,10 @@ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.deserializeBinaryFro
|
|
|
7402
7433
|
var value = /** @type {string} */ (reader.readString());
|
|
7403
7434
|
msg.setClientId(value);
|
|
7404
7435
|
break;
|
|
7436
|
+
case 8:
|
|
7437
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7438
|
+
msg.setExternalId(value);
|
|
7439
|
+
break;
|
|
7405
7440
|
default:
|
|
7406
7441
|
reader.skipField();
|
|
7407
7442
|
break;
|
|
@@ -7480,6 +7515,13 @@ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.serializeBinaryToWri
|
|
|
7480
7515
|
f
|
|
7481
7516
|
);
|
|
7482
7517
|
}
|
|
7518
|
+
f = message.getExternalId();
|
|
7519
|
+
if (f.length > 0) {
|
|
7520
|
+
writer.writeString(
|
|
7521
|
+
8,
|
|
7522
|
+
f
|
|
7523
|
+
);
|
|
7524
|
+
}
|
|
7483
7525
|
};
|
|
7484
7526
|
|
|
7485
7527
|
|
|
@@ -7609,6 +7651,24 @@ proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.prototype.setClientI
|
|
|
7609
7651
|
};
|
|
7610
7652
|
|
|
7611
7653
|
|
|
7654
|
+
/**
|
|
7655
|
+
* optional string external_id = 8;
|
|
7656
|
+
* @return {string}
|
|
7657
|
+
*/
|
|
7658
|
+
proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.prototype.getExternalId = function() {
|
|
7659
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
7660
|
+
};
|
|
7661
|
+
|
|
7662
|
+
|
|
7663
|
+
/**
|
|
7664
|
+
* @param {string} value
|
|
7665
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest} returns this
|
|
7666
|
+
*/
|
|
7667
|
+
proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest.prototype.setExternalId = function(value) {
|
|
7668
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
7669
|
+
};
|
|
7670
|
+
|
|
7671
|
+
|
|
7612
7672
|
|
|
7613
7673
|
|
|
7614
7674
|
|