@lansweeper/multitenant-api-grpc 0.4.9 → 0.4.10
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 +34 -0
- package/gen-proto/multitenant_grpc_pb.js +66 -0
- package/gen-proto/multitenant_pb.d.ts +128 -0
- package/gen-proto/multitenant_pb.js +1458 -415
- package/package.json +2 -2
- package/proto/multitenant.proto +31 -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.10",
|
|
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": "321f8a52b866be586a8b5d58ed1d1798852c0ccd"
|
|
19
19
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -168,6 +168,19 @@ message CreateInstallResponse{
|
|
|
168
168
|
InstallCredentials credentials = 2;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
message CreateAndLinkInstallRequest{
|
|
172
|
+
string site_id = 1;
|
|
173
|
+
string display_name = 2;
|
|
174
|
+
string description = 3;
|
|
175
|
+
string global_id = 4;
|
|
176
|
+
InstallType type = 5;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
message CreateAndLinkInstallResponse{
|
|
180
|
+
Install install = 1;
|
|
181
|
+
InstallCredentials credentials = 2;
|
|
182
|
+
}
|
|
183
|
+
|
|
171
184
|
message UpdateInstallByClientIdRequest{
|
|
172
185
|
string client_id = 1;
|
|
173
186
|
string display_name = 2;
|
|
@@ -212,6 +225,20 @@ message UnlinkInstallByClientIdResponse {
|
|
|
212
225
|
bool success = 1;
|
|
213
226
|
}
|
|
214
227
|
|
|
228
|
+
message LinkTrialInstallByClientIdRequest {
|
|
229
|
+
string client_id = 1;
|
|
230
|
+
string display_name = 2;
|
|
231
|
+
string description = 3;
|
|
232
|
+
string global_id = 4;
|
|
233
|
+
InstallType type = 5;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
message LinkTrialInstallByClientIdResponse {
|
|
237
|
+
Install install = 1;
|
|
238
|
+
InstallCredentials credentials = 2;
|
|
239
|
+
PreviewSite site = 3;
|
|
240
|
+
}
|
|
241
|
+
|
|
215
242
|
message RemoveInstallDataBySiteIdRequest {
|
|
216
243
|
string site_id = 1;
|
|
217
244
|
repeated string install_ids = 2;
|
|
@@ -364,6 +391,8 @@ service Multitenant {
|
|
|
364
391
|
|
|
365
392
|
rpc CreateInstall(CreateInstallRequest) returns (CreateInstallResponse) {}
|
|
366
393
|
|
|
394
|
+
rpc CreateAndLinkInstall(CreateAndLinkInstallRequest) returns (CreateAndLinkInstallResponse) {}
|
|
395
|
+
|
|
367
396
|
rpc GetInstallsBySite(GetInstallsBySiteRequest) returns (GetInstallsBySiteResponse) {}
|
|
368
397
|
|
|
369
398
|
rpc GetInstallsCountBySite(GetInstallsCountBySiteRequest) returns (GetInstallsCountResponse) {}
|
|
@@ -374,6 +403,8 @@ service Multitenant {
|
|
|
374
403
|
|
|
375
404
|
rpc RotateInstallByClientId(RotateInstallByClientIdRequest) returns (RotateInstallByClientIdResponse) {}
|
|
376
405
|
|
|
406
|
+
rpc LinkTrialInstallByClientId(LinkTrialInstallByClientIdRequest) returns (LinkTrialInstallByClientIdResponse) {}
|
|
407
|
+
|
|
377
408
|
rpc UnlinkInstallByClientId(UnlinkInstallByClientIdRequest) returns (UnlinkInstallByClientIdResponse) {}
|
|
378
409
|
|
|
379
410
|
rpc RemoveInstallDataBySiteId(RemoveInstallDataBySiteIdRequest) returns (RemoveInstallDataBySiteIdResponse) {}
|