@lansweeper/multitenant-api-grpc 0.4.1 → 0.4.3
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 +19 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_grpc_pb.d.ts +17 -0
- package/gen-proto/multitenant_grpc_pb.js +33 -0
- package/gen-proto/multitenant_pb.d.ts +65 -0
- package/gen-proto/multitenant_pb.js +516 -0
- package/generated-go/multitenant.pb.go +491 -554
- package/package.json +2 -2
- package/proto/multitenant.proto +15 -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.3",
|
|
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": "493bd0cf31ed6000b8899c7b72435e5f5dfce47c"
|
|
19
19
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -292,6 +292,19 @@ 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
|
+
|
|
295
308
|
service Multitenant {
|
|
296
309
|
rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
|
|
297
310
|
|
|
@@ -326,4 +339,6 @@ service Multitenant {
|
|
|
326
339
|
rpc ValidateApplicationPersonalAccessToken(ValidateApplicationPersonalAccessTokenRequest) returns (ValidateApplicationPersonalAccessTokenResponse) {}
|
|
327
340
|
|
|
328
341
|
rpc SendDisabledWebhookEmail(DisableWebhookEmailRequest) returns (DisableWebhookEmailResponse) {}
|
|
342
|
+
|
|
343
|
+
rpc GetAuthorizedSitesByApplicationId(AuthorizedSitesRequest) returns (AuthorizedSitesResponse) {}
|
|
329
344
|
}
|