@lansweeper/multitenant-api-grpc 0.4.28 → 0.4.30
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_pb.d.ts +17 -0
- package/gen-proto/multitenant_pb.js +165 -3
- package/generated-go/multitenant.pb.go +1001 -961
- package/package.json +2 -2
- package/proto/multitenant.proto +3 -0
|
@@ -96,6 +96,11 @@ export class PreviewSite extends jspb.Message {
|
|
|
96
96
|
getMode(): SiteMode;
|
|
97
97
|
setMode(value: SiteMode): PreviewSite;
|
|
98
98
|
|
|
99
|
+
hasCreatedBy(): boolean;
|
|
100
|
+
clearCreatedBy(): void;
|
|
101
|
+
getCreatedBy(): PreviewAccount | undefined;
|
|
102
|
+
setCreatedBy(value?: PreviewAccount): PreviewSite;
|
|
103
|
+
|
|
99
104
|
serializeBinary(): Uint8Array;
|
|
100
105
|
toObject(includeInstance?: boolean): PreviewSite.AsObject;
|
|
101
106
|
static toObject(includeInstance: boolean, msg: PreviewSite): PreviewSite.AsObject;
|
|
@@ -113,6 +118,7 @@ export namespace PreviewSite {
|
|
|
113
118
|
companyName: string,
|
|
114
119
|
logoUrl: string,
|
|
115
120
|
mode: SiteMode,
|
|
121
|
+
createdBy?: PreviewAccount.AsObject,
|
|
116
122
|
}
|
|
117
123
|
}
|
|
118
124
|
|
|
@@ -1885,6 +1891,15 @@ export namespace AllProfilesExistRequest {
|
|
|
1885
1891
|
export class AllProfilesExistResponse extends jspb.Message {
|
|
1886
1892
|
getAll(): boolean;
|
|
1887
1893
|
setAll(value: boolean): AllProfilesExistResponse;
|
|
1894
|
+
clearProfilesList(): void;
|
|
1895
|
+
getProfilesList(): Array<Profile>;
|
|
1896
|
+
setProfilesList(value: Array<Profile>): AllProfilesExistResponse;
|
|
1897
|
+
addProfiles(value?: Profile, index?: number): Profile;
|
|
1898
|
+
|
|
1899
|
+
hasCreatedby(): boolean;
|
|
1900
|
+
clearCreatedby(): void;
|
|
1901
|
+
getCreatedby(): PreviewAccount | undefined;
|
|
1902
|
+
setCreatedby(value?: PreviewAccount): AllProfilesExistResponse;
|
|
1888
1903
|
|
|
1889
1904
|
serializeBinary(): Uint8Array;
|
|
1890
1905
|
toObject(includeInstance?: boolean): AllProfilesExistResponse.AsObject;
|
|
@@ -1899,6 +1914,8 @@ export class AllProfilesExistResponse extends jspb.Message {
|
|
|
1899
1914
|
export namespace AllProfilesExistResponse {
|
|
1900
1915
|
export type AsObject = {
|
|
1901
1916
|
all: boolean,
|
|
1917
|
+
profilesList: Array<Profile.AsObject>,
|
|
1918
|
+
createdby?: PreviewAccount.AsObject,
|
|
1902
1919
|
}
|
|
1903
1920
|
}
|
|
1904
1921
|
|
|
@@ -1623,7 +1623,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1623
1623
|
* @constructor
|
|
1624
1624
|
*/
|
|
1625
1625
|
proto.lansweeper.multitenant.v1.AllProfilesExistResponse = function(opt_data) {
|
|
1626
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1626
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.AllProfilesExistResponse.repeatedFields_, null);
|
|
1627
1627
|
};
|
|
1628
1628
|
goog.inherits(proto.lansweeper.multitenant.v1.AllProfilesExistResponse, jspb.Message);
|
|
1629
1629
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2377,7 +2377,8 @@ proto.lansweeper.multitenant.v1.PreviewSite.toObject = function(includeInstance,
|
|
|
2377
2377
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2378
2378
|
companyName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2379
2379
|
logoUrl: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2380
|
-
mode: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
2380
|
+
mode: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
2381
|
+
createdBy: (f = msg.getCreatedBy()) && proto.lansweeper.multitenant.v1.PreviewAccount.toObject(includeInstance, f)
|
|
2381
2382
|
};
|
|
2382
2383
|
|
|
2383
2384
|
if (includeInstance) {
|
|
@@ -2434,6 +2435,11 @@ proto.lansweeper.multitenant.v1.PreviewSite.deserializeBinaryFromReader = functi
|
|
|
2434
2435
|
var value = /** @type {!proto.lansweeper.multitenant.v1.SiteMode} */ (reader.readEnum());
|
|
2435
2436
|
msg.setMode(value);
|
|
2436
2437
|
break;
|
|
2438
|
+
case 6:
|
|
2439
|
+
var value = new proto.lansweeper.multitenant.v1.PreviewAccount;
|
|
2440
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.PreviewAccount.deserializeBinaryFromReader);
|
|
2441
|
+
msg.setCreatedBy(value);
|
|
2442
|
+
break;
|
|
2437
2443
|
default:
|
|
2438
2444
|
reader.skipField();
|
|
2439
2445
|
break;
|
|
@@ -2498,6 +2504,14 @@ proto.lansweeper.multitenant.v1.PreviewSite.serializeBinaryToWriter = function(m
|
|
|
2498
2504
|
f
|
|
2499
2505
|
);
|
|
2500
2506
|
}
|
|
2507
|
+
f = message.getCreatedBy();
|
|
2508
|
+
if (f != null) {
|
|
2509
|
+
writer.writeMessage(
|
|
2510
|
+
6,
|
|
2511
|
+
f,
|
|
2512
|
+
proto.lansweeper.multitenant.v1.PreviewAccount.serializeBinaryToWriter
|
|
2513
|
+
);
|
|
2514
|
+
}
|
|
2501
2515
|
};
|
|
2502
2516
|
|
|
2503
2517
|
|
|
@@ -2591,6 +2605,43 @@ proto.lansweeper.multitenant.v1.PreviewSite.prototype.setMode = function(value)
|
|
|
2591
2605
|
};
|
|
2592
2606
|
|
|
2593
2607
|
|
|
2608
|
+
/**
|
|
2609
|
+
* optional PreviewAccount created_by = 6;
|
|
2610
|
+
* @return {?proto.lansweeper.multitenant.v1.PreviewAccount}
|
|
2611
|
+
*/
|
|
2612
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.getCreatedBy = function() {
|
|
2613
|
+
return /** @type{?proto.lansweeper.multitenant.v1.PreviewAccount} */ (
|
|
2614
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.PreviewAccount, 6));
|
|
2615
|
+
};
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* @param {?proto.lansweeper.multitenant.v1.PreviewAccount|undefined} value
|
|
2620
|
+
* @return {!proto.lansweeper.multitenant.v1.PreviewSite} returns this
|
|
2621
|
+
*/
|
|
2622
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.setCreatedBy = function(value) {
|
|
2623
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2624
|
+
};
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* Clears the message field making it undefined.
|
|
2629
|
+
* @return {!proto.lansweeper.multitenant.v1.PreviewSite} returns this
|
|
2630
|
+
*/
|
|
2631
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.clearCreatedBy = function() {
|
|
2632
|
+
return this.setCreatedBy(undefined);
|
|
2633
|
+
};
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* Returns whether this field is set.
|
|
2638
|
+
* @return {boolean}
|
|
2639
|
+
*/
|
|
2640
|
+
proto.lansweeper.multitenant.v1.PreviewSite.prototype.hasCreatedBy = function() {
|
|
2641
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2642
|
+
};
|
|
2643
|
+
|
|
2644
|
+
|
|
2594
2645
|
|
|
2595
2646
|
|
|
2596
2647
|
|
|
@@ -15281,6 +15332,13 @@ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.clearEmailsLis
|
|
|
15281
15332
|
|
|
15282
15333
|
|
|
15283
15334
|
|
|
15335
|
+
/**
|
|
15336
|
+
* List of repeated fields within this message type.
|
|
15337
|
+
* @private {!Array<number>}
|
|
15338
|
+
* @const
|
|
15339
|
+
*/
|
|
15340
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.repeatedFields_ = [2];
|
|
15341
|
+
|
|
15284
15342
|
|
|
15285
15343
|
|
|
15286
15344
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -15312,7 +15370,10 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.toObject = fu
|
|
|
15312
15370
|
*/
|
|
15313
15371
|
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.toObject = function(includeInstance, msg) {
|
|
15314
15372
|
var f, obj = {
|
|
15315
|
-
all: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
15373
|
+
all: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
15374
|
+
profilesList: jspb.Message.toObjectList(msg.getProfilesList(),
|
|
15375
|
+
proto.lansweeper.multitenant.v1.Profile.toObject, includeInstance),
|
|
15376
|
+
createdby: (f = msg.getCreatedby()) && proto.lansweeper.multitenant.v1.PreviewAccount.toObject(includeInstance, f)
|
|
15316
15377
|
};
|
|
15317
15378
|
|
|
15318
15379
|
if (includeInstance) {
|
|
@@ -15353,6 +15414,16 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.deserializeBinaryFromRe
|
|
|
15353
15414
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
15354
15415
|
msg.setAll(value);
|
|
15355
15416
|
break;
|
|
15417
|
+
case 2:
|
|
15418
|
+
var value = new proto.lansweeper.multitenant.v1.Profile;
|
|
15419
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.Profile.deserializeBinaryFromReader);
|
|
15420
|
+
msg.addProfiles(value);
|
|
15421
|
+
break;
|
|
15422
|
+
case 3:
|
|
15423
|
+
var value = new proto.lansweeper.multitenant.v1.PreviewAccount;
|
|
15424
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.PreviewAccount.deserializeBinaryFromReader);
|
|
15425
|
+
msg.setCreatedby(value);
|
|
15426
|
+
break;
|
|
15356
15427
|
default:
|
|
15357
15428
|
reader.skipField();
|
|
15358
15429
|
break;
|
|
@@ -15389,6 +15460,22 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.serializeBinaryToWriter
|
|
|
15389
15460
|
f
|
|
15390
15461
|
);
|
|
15391
15462
|
}
|
|
15463
|
+
f = message.getProfilesList();
|
|
15464
|
+
if (f.length > 0) {
|
|
15465
|
+
writer.writeRepeatedMessage(
|
|
15466
|
+
2,
|
|
15467
|
+
f,
|
|
15468
|
+
proto.lansweeper.multitenant.v1.Profile.serializeBinaryToWriter
|
|
15469
|
+
);
|
|
15470
|
+
}
|
|
15471
|
+
f = message.getCreatedby();
|
|
15472
|
+
if (f != null) {
|
|
15473
|
+
writer.writeMessage(
|
|
15474
|
+
3,
|
|
15475
|
+
f,
|
|
15476
|
+
proto.lansweeper.multitenant.v1.PreviewAccount.serializeBinaryToWriter
|
|
15477
|
+
);
|
|
15478
|
+
}
|
|
15392
15479
|
};
|
|
15393
15480
|
|
|
15394
15481
|
|
|
@@ -15410,6 +15497,81 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.setAll = func
|
|
|
15410
15497
|
};
|
|
15411
15498
|
|
|
15412
15499
|
|
|
15500
|
+
/**
|
|
15501
|
+
* repeated Profile profiles = 2;
|
|
15502
|
+
* @return {!Array<!proto.lansweeper.multitenant.v1.Profile>}
|
|
15503
|
+
*/
|
|
15504
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.getProfilesList = function() {
|
|
15505
|
+
return /** @type{!Array<!proto.lansweeper.multitenant.v1.Profile>} */ (
|
|
15506
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.Profile, 2));
|
|
15507
|
+
};
|
|
15508
|
+
|
|
15509
|
+
|
|
15510
|
+
/**
|
|
15511
|
+
* @param {!Array<!proto.lansweeper.multitenant.v1.Profile>} value
|
|
15512
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} returns this
|
|
15513
|
+
*/
|
|
15514
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.setProfilesList = function(value) {
|
|
15515
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
15516
|
+
};
|
|
15517
|
+
|
|
15518
|
+
|
|
15519
|
+
/**
|
|
15520
|
+
* @param {!proto.lansweeper.multitenant.v1.Profile=} opt_value
|
|
15521
|
+
* @param {number=} opt_index
|
|
15522
|
+
* @return {!proto.lansweeper.multitenant.v1.Profile}
|
|
15523
|
+
*/
|
|
15524
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.addProfiles = function(opt_value, opt_index) {
|
|
15525
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.lansweeper.multitenant.v1.Profile, opt_index);
|
|
15526
|
+
};
|
|
15527
|
+
|
|
15528
|
+
|
|
15529
|
+
/**
|
|
15530
|
+
* Clears the list making it empty but non-null.
|
|
15531
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} returns this
|
|
15532
|
+
*/
|
|
15533
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.clearProfilesList = function() {
|
|
15534
|
+
return this.setProfilesList([]);
|
|
15535
|
+
};
|
|
15536
|
+
|
|
15537
|
+
|
|
15538
|
+
/**
|
|
15539
|
+
* optional PreviewAccount createdBy = 3;
|
|
15540
|
+
* @return {?proto.lansweeper.multitenant.v1.PreviewAccount}
|
|
15541
|
+
*/
|
|
15542
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.getCreatedby = function() {
|
|
15543
|
+
return /** @type{?proto.lansweeper.multitenant.v1.PreviewAccount} */ (
|
|
15544
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.PreviewAccount, 3));
|
|
15545
|
+
};
|
|
15546
|
+
|
|
15547
|
+
|
|
15548
|
+
/**
|
|
15549
|
+
* @param {?proto.lansweeper.multitenant.v1.PreviewAccount|undefined} value
|
|
15550
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} returns this
|
|
15551
|
+
*/
|
|
15552
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.setCreatedby = function(value) {
|
|
15553
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
15554
|
+
};
|
|
15555
|
+
|
|
15556
|
+
|
|
15557
|
+
/**
|
|
15558
|
+
* Clears the message field making it undefined.
|
|
15559
|
+
* @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} returns this
|
|
15560
|
+
*/
|
|
15561
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.clearCreatedby = function() {
|
|
15562
|
+
return this.setCreatedby(undefined);
|
|
15563
|
+
};
|
|
15564
|
+
|
|
15565
|
+
|
|
15566
|
+
/**
|
|
15567
|
+
* Returns whether this field is set.
|
|
15568
|
+
* @return {boolean}
|
|
15569
|
+
*/
|
|
15570
|
+
proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.hasCreatedby = function() {
|
|
15571
|
+
return jspb.Message.getField(this, 3) != null;
|
|
15572
|
+
};
|
|
15573
|
+
|
|
15574
|
+
|
|
15413
15575
|
|
|
15414
15576
|
|
|
15415
15577
|
|