@lansweeper/multitenant-api-grpc 0.4.3 → 0.4.5
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 +34 -0
- package/gen-proto/multitenant_grpc_pb.js +66 -0
- package/gen-proto/multitenant_pb.d.ts +87 -0
- package/gen-proto/multitenant_pb.js +692 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +21 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/multitenant-api-grpc",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "Multitenant grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@grpc/grpc-js": "^1.6.2"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "51d4082d6310ae15458b60e91a36a13f735d9121"
|
|
19
19
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -305,6 +305,23 @@ message AuthorizedSitesResponse {
|
|
|
305
305
|
repeated Site site = 1;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
+
message GetAccountIdsBySiteIdRequest {
|
|
309
|
+
string site_id = 1;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
message GetAccountIdsBySiteIdResponse {
|
|
313
|
+
repeated string account_ids = 1;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
message CheckManagerInApplicationRequest {
|
|
317
|
+
string application_id = 1;
|
|
318
|
+
string manager_id = 2;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
message CheckManagerInApplicationResponse {
|
|
322
|
+
repeated bool is_manager = 1;
|
|
323
|
+
}
|
|
324
|
+
|
|
308
325
|
service Multitenant {
|
|
309
326
|
rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
|
|
310
327
|
|
|
@@ -341,4 +358,8 @@ service Multitenant {
|
|
|
341
358
|
rpc SendDisabledWebhookEmail(DisableWebhookEmailRequest) returns (DisableWebhookEmailResponse) {}
|
|
342
359
|
|
|
343
360
|
rpc GetAuthorizedSitesByApplicationId(AuthorizedSitesRequest) returns (AuthorizedSitesResponse) {}
|
|
361
|
+
|
|
362
|
+
rpc GetAccountIdsBySiteId(GetAccountIdsBySiteIdRequest) returns (GetAccountIdsBySiteIdResponse) {}
|
|
363
|
+
|
|
364
|
+
rpc CheckManagerInApplication(CheckManagerInApplicationRequest) returns (CheckManagerInApplicationResponse) {}
|
|
344
365
|
}
|