@lansweeper/multitenant-api-grpc 0.3.7 → 0.4.1
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_pb.d.ts +11 -3
- package/gen-proto/multitenant_pb.js +70 -31
- package/generated-go/multitenant.pb.go +554 -491
- package/package.json +6 -3
- package/proto/multitenant.proto +9 -2
package/package.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/multitenant-api-grpc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Multitenant grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@grpc/grpc-js": "^1.5.1",
|
|
10
9
|
"google-protobuf": "^3.17.0"
|
|
11
10
|
},
|
|
12
11
|
"devDependencies": {
|
|
12
|
+
"@grpc/grpc-js": "^1.6.2",
|
|
13
13
|
"@types/google-protobuf": "^3.15.5"
|
|
14
14
|
},
|
|
15
|
-
"
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@grpc/grpc-js": "^1.6.2"
|
|
17
|
+
},
|
|
18
|
+
"gitHead": "4d37e0f5755714b3879bedf02f0192868566cf7b"
|
|
16
19
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -145,15 +145,22 @@ message GetInstallbyClientIdResponse {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
message CreateInstallRequest{
|
|
148
|
+
reserved 2;
|
|
148
149
|
string site_id = 1;
|
|
149
|
-
string global_id = 9;
|
|
150
150
|
string display_name = 3;
|
|
151
151
|
string description = 4;
|
|
152
152
|
string status = 5;
|
|
153
153
|
string fqdn = 6;
|
|
154
154
|
string created_by_id = 7;
|
|
155
|
-
|
|
155
|
+
|
|
156
156
|
bool create_sqs_queue = 8;
|
|
157
|
+
string global_id = 9;
|
|
158
|
+
InstallType type = 10;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
enum InstallType {
|
|
162
|
+
IT=0;
|
|
163
|
+
OT=1;
|
|
157
164
|
}
|
|
158
165
|
|
|
159
166
|
message CreateInstallResponse{
|