@lansweeper/multitenant-api-grpc 0.4.2 → 0.4.4
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 +107 -0
- package/gen-proto/multitenant_pb.js +846 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +25 -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.4",
|
|
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": "8b155f8405960dc59b48be300ced815e1f5a9b77"
|
|
19
19
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -292,6 +292,27 @@ message DisableWebhookEmailResponse {
|
|
|
292
292
|
bool mail_sent = 1;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
+
message Site {
|
|
296
|
+
string id = 1;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
message AuthorizedSitesRequest {
|
|
300
|
+
string application_id = 1;
|
|
301
|
+
string trace_id = 2;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
message AuthorizedSitesResponse {
|
|
305
|
+
repeated Site site = 1;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
message GetAccountIdsBySiteIdRequest {
|
|
309
|
+
string site_id = 1;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
message GetAccountIdsBySiteIdResponse {
|
|
313
|
+
repeated string account_ids = 1;
|
|
314
|
+
}
|
|
315
|
+
|
|
295
316
|
service Multitenant {
|
|
296
317
|
rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
|
|
297
318
|
|
|
@@ -326,4 +347,8 @@ service Multitenant {
|
|
|
326
347
|
rpc ValidateApplicationPersonalAccessToken(ValidateApplicationPersonalAccessTokenRequest) returns (ValidateApplicationPersonalAccessTokenResponse) {}
|
|
327
348
|
|
|
328
349
|
rpc SendDisabledWebhookEmail(DisableWebhookEmailRequest) returns (DisableWebhookEmailResponse) {}
|
|
350
|
+
|
|
351
|
+
rpc GetAuthorizedSitesByApplicationId(AuthorizedSitesRequest) returns (AuthorizedSitesResponse) {}
|
|
352
|
+
|
|
353
|
+
rpc GetAccountIdsBySiteId(GetAccountIdsBySiteIdRequest) returns (GetAccountIdsBySiteIdResponse) {}
|
|
329
354
|
}
|