@lansweeper/multitenant-api-grpc 0.4.25 → 0.4.26
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 +8 -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 +43 -0
- package/gen-proto/multitenant_pb.js +334 -0
- package/generated-go/multitenant.pb.go +3619 -947
- package/generated-go/multitenant_grpc.pb.go +577 -36
- package/package.json +2 -2
- package/proto/multitenant.proto +11 -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.26",
|
|
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": "85f94d6bc6cb1b7a8e0c01041d2870db2c7b9512"
|
|
19
19
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -453,6 +453,15 @@ 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
|
+
|
|
456
465
|
service Multitenant {
|
|
457
466
|
rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
|
|
458
467
|
|
|
@@ -515,4 +524,6 @@ service Multitenant {
|
|
|
515
524
|
}
|
|
516
525
|
|
|
517
526
|
rpc GetSiteSubscription(GetSiteSubscriptionRequest) returns (GetSiteSubscriptionResponse) {}
|
|
527
|
+
|
|
528
|
+
rpc CreateLinkingCode(CreateLinkingCodeRequest) returns (CreateLinkingCodeResponse) {}
|
|
518
529
|
}
|