@lansweeper/multitenant-api-grpc 0.4.83 → 0.5.1
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 +28 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_pb.d.ts +6 -0
- package/gen-proto/multitenant_pb.js +52 -1
- package/generated-go/multitenant.pb.go +1605 -1589
- package/package.json +7 -2
- package/proto/multitenant.proto +2 -1
|
@@ -223,6 +223,11 @@ export class PreviewSite extends jspb.Message {
|
|
|
223
223
|
getMetadata(): SiteMetadata | undefined;
|
|
224
224
|
setMetadata(value?: SiteMetadata): PreviewSite;
|
|
225
225
|
|
|
226
|
+
hasSubscription(): boolean;
|
|
227
|
+
clearSubscription(): void;
|
|
228
|
+
getSubscription(): Subscription | undefined;
|
|
229
|
+
setSubscription(value?: Subscription): PreviewSite;
|
|
230
|
+
|
|
226
231
|
serializeBinary(): Uint8Array;
|
|
227
232
|
toObject(includeInstance?: boolean): PreviewSite.AsObject;
|
|
228
233
|
static toObject(includeInstance: boolean, msg: PreviewSite): PreviewSite.AsObject;
|
|
@@ -244,6 +249,7 @@ export namespace PreviewSite {
|
|
|
244
249
|
currentSubscriptionId: string,
|
|
245
250
|
deletedOn: string,
|
|
246
251
|
metadata?: SiteMetadata.AsObject,
|
|
252
|
+
subscription?: Subscription.AsObject,
|
|
247
253
|
}
|
|
248
254
|
}
|
|
249
255
|
|
|
@@ -4350,7 +4350,8 @@ proto.lansweeper.multitenant.v1.PreviewSite.toObject = function(includeInstance,
|
|
|
4350
4350
|
createdBy: (f = msg.getCreatedBy()) && proto.lansweeper.multitenant.v1.PreviewAccount.toObject(includeInstance, f),
|
|
4351
4351
|
currentSubscriptionId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4352
4352
|
deletedOn: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4353
|
-
metadata: (f = msg.getMetadata()) && proto.lansweeper.multitenant.v1.SiteMetadata.toObject(includeInstance, f)
|
|
4353
|
+
metadata: (f = msg.getMetadata()) && proto.lansweeper.multitenant.v1.SiteMetadata.toObject(includeInstance, f),
|
|
4354
|
+
subscription: (f = msg.getSubscription()) && proto.lansweeper.multitenant.v1.Subscription.toObject(includeInstance, f)
|
|
4354
4355
|
};
|
|
4355
4356
|
|
|
4356
4357
|
if (includeInstance) {
|
|
@@ -4425,6 +4426,11 @@ proto.lansweeper.multitenant.v1.PreviewSite.deserializeBinaryFromReader = functi
|
|
|
4425
4426
|
reader.readMessage(value,proto.lansweeper.multitenant.v1.SiteMetadata.deserializeBinaryFromReader);
|
|
4426
4427
|
msg.setMetadata(value);
|
|
4427
4428
|
break;
|
|
4429
|
+
case 10:
|
|
4430
|
+
var value = new proto.lansweeper.multitenant.v1.Subscription;
|
|
4431
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.Subscription.deserializeBinaryFromReader);
|
|
4432
|
+
msg.setSubscription(value);
|
|
4433
|
+
break;
|
|
4428
4434
|
default:
|
|
4429
4435
|
reader.skipField();
|
|
4430
4436
|
break;
|
|
@@ -4519,6 +4525,14 @@ proto.lansweeper.multitenant.v1.PreviewSite.serializeBinaryToWriter = function(m
|
|
|
4519
4525
|
proto.lansweeper.multitenant.v1.SiteMetadata.serializeBinaryToWriter
|
|
4520
4526
|
);
|
|
4521
4527
|
}
|
|
4528
|
+
f = message.getSubscription();
|
|
4529
|
+
if (f != null) {
|
|
4530
|
+
writer.writeMessage(
|
|
4531
|
+
10,
|
|
4532
|
+
f,
|
|
4533
|
+
proto.lansweeper.multitenant.v1.Subscription.serializeBinaryToWriter
|
|
4534
|
+
);
|
|
4535
|
+
}
|
|
4522
4536
|
};
|
|
4523
4537
|
|
|
4524
4538
|
|
|
@@ -4722,6 +4736,43 @@ proto.lansweeper.multitenant.v1.PreviewSite.prototype.hasMetadata = function() {
|
|
|
4722
4736
|
};
|
|
4723
4737
|
|
|
4724
4738
|
|
|
4739
|
+
/**
|
|
4740
|
+
* optional Subscription subscription = 10;
|
|
4741
|
+
* @return {?proto.lansweeper.multitenant.v1.Subscription}
|
|
4742
|
+
*/
|
|
4743
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.getSubscription = function() {
|
|
4744
|
+
return /** @type{?proto.lansweeper.multitenant.v1.Subscription} */ (
|
|
4745
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.Subscription, 10));
|
|
4746
|
+
};
|
|
4747
|
+
|
|
4748
|
+
|
|
4749
|
+
/**
|
|
4750
|
+
* @param {?proto.lansweeper.multitenant.v1.Subscription|undefined} value
|
|
4751
|
+
* @return {!proto.lansweeper.multitenant.v1.PreviewSite} returns this
|
|
4752
|
+
*/
|
|
4753
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.setSubscription = function(value) {
|
|
4754
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
4755
|
+
};
|
|
4756
|
+
|
|
4757
|
+
|
|
4758
|
+
/**
|
|
4759
|
+
* Clears the message field making it undefined.
|
|
4760
|
+
* @return {!proto.lansweeper.multitenant.v1.PreviewSite} returns this
|
|
4761
|
+
*/
|
|
4762
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.clearSubscription = function() {
|
|
4763
|
+
return this.setSubscription(undefined);
|
|
4764
|
+
};
|
|
4765
|
+
|
|
4766
|
+
|
|
4767
|
+
/**
|
|
4768
|
+
* Returns whether this field is set.
|
|
4769
|
+
* @return {boolean}
|
|
4770
|
+
*/
|
|
4771
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.hasSubscription = function() {
|
|
4772
|
+
return jspb.Message.getField(this, 10) != null;
|
|
4773
|
+
};
|
|
4774
|
+
|
|
4775
|
+
|
|
4725
4776
|
|
|
4726
4777
|
|
|
4727
4778
|
|