@lansweeper/multitenant-api-grpc 0.4.25 → 0.4.27
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 +55 -0
- package/gen-proto/multitenant_pb.d.ts +65 -0
- package/gen-proto/multitenant_pb.js +512 -0
- package/generated-go/multitenant.pb.go +3681 -934
- package/generated-go/multitenant_grpc.pb.go +614 -36
- package/package.json +2 -2
- package/proto/multitenant.proto +17 -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.27",
|
|
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": "e183058922daf5c10bd24c1fd0f1d34bcaae2527"
|
|
19
19
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -453,6 +453,19 @@ message GetSiteSubscriptionResponse {
|
|
|
453
453
|
SubscriptionType type = 1;
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
+
message CreateLinkingCodeRequest {
|
|
457
|
+
string site_id = 1;
|
|
458
|
+
string account_id = 2;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
message CreateLinkingCodeResponse {
|
|
462
|
+
string code = 1;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
message GetSiteIdsWithIntegrationData {
|
|
466
|
+
repeated string site_ids = 1;
|
|
467
|
+
}
|
|
468
|
+
|
|
456
469
|
service Multitenant {
|
|
457
470
|
rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
|
|
458
471
|
|
|
@@ -515,4 +528,8 @@ service Multitenant {
|
|
|
515
528
|
}
|
|
516
529
|
|
|
517
530
|
rpc GetSiteSubscription(GetSiteSubscriptionRequest) returns (GetSiteSubscriptionResponse) {}
|
|
531
|
+
|
|
532
|
+
rpc CreateLinkingCode(CreateLinkingCodeRequest) returns (CreateLinkingCodeResponse) {}
|
|
533
|
+
|
|
534
|
+
rpc GetSiteIdsWithIntegrationBySiteId(GetSiteIdsWithIntegrationData) returns (GetSiteIdsWithIntegrationData) {}
|
|
518
535
|
}
|