@lansweeper/multitenant-api-grpc 0.5.1 → 0.5.2
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 +4 -0
- package/gen-proto/image.json +1 -1
- package/generated-go/multitenant.pb.go +5 -3
- package/java.json +7 -0
- package/model/src/main/proto/limits/limits.proto +62 -0
- package/model/src/main/proto/multitenant.proto +719 -0
- package/model/target/classes/limits/limits.proto +62 -0
- package/model/target/classes/multitenant.proto +719 -0
- package/model/target/maven-archiver/pom.properties +5 -0
- package/model/target/multitenant-model-0.5.1-sources.jar +0 -0
- package/model/target/multitenant-model-0.5.1.jar +0 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/any.proto +162 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/api.proto +207 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/descriptor.proto +1218 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/duration.proto +115 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/empty.proto +51 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/field_mask.proto +245 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/source_context.proto +48 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/struct.proto +95 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/timestamp.proto +144 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/type.proto +193 -0
- package/model/target/protoc-dependencies/0d6de794fadfe1c99e96dde2e1e14e65/google/protobuf/wrappers.proto +123 -0
- package/model/target/protoc-plugins/protoc-3.25.1-linux-x86_64.exe +0 -0
- package/package.json +1 -1
- package/proto/multitenant.proto +2 -0
- package/service/target/maven-archiver/pom.properties +5 -0
- package/service/target/multitenant-service-0.5.1-sources.jar +0 -0
- package/service/target/multitenant-service-0.5.1.jar +0 -0
|
@@ -0,0 +1,719 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package lansweeper.multitenant.v1;
|
|
3
|
+
option go_package = "./generated-go";
|
|
4
|
+
option java_multiple_files = true;
|
|
5
|
+
option java_package = "lansweeper.multitenant.v1";
|
|
6
|
+
|
|
7
|
+
import "limits/limits.proto";
|
|
8
|
+
import "google/protobuf/empty.proto";
|
|
9
|
+
|
|
10
|
+
message PreviewAccount {
|
|
11
|
+
string id = 1;
|
|
12
|
+
string username = 2;
|
|
13
|
+
string name = 3;
|
|
14
|
+
string surname = 4;
|
|
15
|
+
string email = 5;
|
|
16
|
+
string image_url = 6;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message GetPreviewAccountByIdRequest {
|
|
20
|
+
string id = 1;
|
|
21
|
+
}
|
|
22
|
+
message GetPreviewAccountByIdResponse {
|
|
23
|
+
PreviewAccount account = 1;
|
|
24
|
+
}
|
|
25
|
+
message SearchPreviewAccountsBySiteIdsRequest {
|
|
26
|
+
repeated string site_ids = 1;
|
|
27
|
+
string search = 2;
|
|
28
|
+
}
|
|
29
|
+
message SearchPreviewAccountsBySiteIdsResponse {
|
|
30
|
+
repeated PreviewAccount accounts = 1;
|
|
31
|
+
}
|
|
32
|
+
message GetPreviewAccountsByAccountIdsRequest {
|
|
33
|
+
repeated string account_ids = 1;
|
|
34
|
+
}
|
|
35
|
+
message GetPreviewAccountsByAccountIdsResponse {
|
|
36
|
+
repeated PreviewAccount accounts = 1;
|
|
37
|
+
}
|
|
38
|
+
enum SiteMode {
|
|
39
|
+
UNESPECIFIED = 0;
|
|
40
|
+
CLOUD_NATIVE = 1;
|
|
41
|
+
DEMO = 2;
|
|
42
|
+
HYBRID = 3;
|
|
43
|
+
DUAL = 4;
|
|
44
|
+
}
|
|
45
|
+
message SiteMetadata {
|
|
46
|
+
bool payg = 1;
|
|
47
|
+
}
|
|
48
|
+
message PreviewSite {
|
|
49
|
+
string id = 1;
|
|
50
|
+
string name = 2;
|
|
51
|
+
string company_name = 3;
|
|
52
|
+
string logo_url = 4;
|
|
53
|
+
SiteMode mode = 5;
|
|
54
|
+
PreviewAccount created_by = 6;
|
|
55
|
+
string current_subscription_id = 7 [deprecated = true];
|
|
56
|
+
string deleted_on = 8;
|
|
57
|
+
SiteMetadata metadata = 9;
|
|
58
|
+
Subscription subscription = 10;
|
|
59
|
+
}
|
|
60
|
+
message PatchSiteModeRequest {
|
|
61
|
+
string id = 1;
|
|
62
|
+
SiteMode mode = 2;
|
|
63
|
+
}
|
|
64
|
+
message PatchSiteModeResponse {
|
|
65
|
+
bool success = 1;
|
|
66
|
+
}
|
|
67
|
+
message Profile {
|
|
68
|
+
string id = 1;
|
|
69
|
+
string site_id = 2;
|
|
70
|
+
PreviewSite site = 3;
|
|
71
|
+
bool is_owner = 4;
|
|
72
|
+
}
|
|
73
|
+
message ListProfilesByAccountIdRequest{
|
|
74
|
+
string account_id = 1;
|
|
75
|
+
bool include_blocks = 2;
|
|
76
|
+
bool being_owner_or_administrator = 3;
|
|
77
|
+
}
|
|
78
|
+
message ListProfilesByAccountIdResponse {
|
|
79
|
+
repeated Profile profile = 1;
|
|
80
|
+
}
|
|
81
|
+
message ListAuthorizedLinkProfilesRequest {
|
|
82
|
+
string account_id = 1;
|
|
83
|
+
bool include_blocks = 2 [deprecated = true];
|
|
84
|
+
}
|
|
85
|
+
message ListAuthorizedLinkProfilesResponse {
|
|
86
|
+
repeated Profile profile = 1;
|
|
87
|
+
}
|
|
88
|
+
message CheckAccessToSiteByAccountIdRequest {
|
|
89
|
+
string account_id = 1;
|
|
90
|
+
string site_id = 2;
|
|
91
|
+
bool only_owner = 3;
|
|
92
|
+
message UserInfo {
|
|
93
|
+
bool has_mfa = 1;
|
|
94
|
+
bool is_sso_login = 2;
|
|
95
|
+
}
|
|
96
|
+
UserInfo user_info = 4;
|
|
97
|
+
}
|
|
98
|
+
message CheckAccessToSiteByAccountIdResponse {
|
|
99
|
+
bool access = 1;
|
|
100
|
+
}
|
|
101
|
+
message CheckAccessToSiteByClientIdRequest {
|
|
102
|
+
string client_id = 1;
|
|
103
|
+
string site_id = 2;
|
|
104
|
+
}
|
|
105
|
+
message CheckAccessToSiteByClientIdResponse {
|
|
106
|
+
bool access = 1;
|
|
107
|
+
}
|
|
108
|
+
enum InstallStateValue {
|
|
109
|
+
INSTALL_STATE_VALUE_UNESPECIFIED = 0;
|
|
110
|
+
INSTALL_STATE_VALUE_SYNC = 1;
|
|
111
|
+
INSTALL_STATE_VALUE_UNSYNC = 2;
|
|
112
|
+
}
|
|
113
|
+
message Install {
|
|
114
|
+
string id = 1;
|
|
115
|
+
string site_id = 2;
|
|
116
|
+
string display_name = 3;
|
|
117
|
+
string description = 4;
|
|
118
|
+
string status = 5;
|
|
119
|
+
string fqdn = 6;
|
|
120
|
+
string created_by_id = 7;
|
|
121
|
+
string global_id = 8;
|
|
122
|
+
message InstallState {
|
|
123
|
+
InstallStateValue value = 1;
|
|
124
|
+
string deleted_on = 2;
|
|
125
|
+
string deleted_data_started_on = 3;
|
|
126
|
+
}
|
|
127
|
+
InstallState state = 9;
|
|
128
|
+
string created_at = 10;
|
|
129
|
+
string license = 11;
|
|
130
|
+
string type = 12 [deprecated = true];
|
|
131
|
+
InstallType install_type = 13;
|
|
132
|
+
string external_id = 14;
|
|
133
|
+
}
|
|
134
|
+
message InstallCredentials {
|
|
135
|
+
string client_id = 1;
|
|
136
|
+
string client_secret = 2;
|
|
137
|
+
}
|
|
138
|
+
message GetInstallsCountBySiteRequest {
|
|
139
|
+
string site_id = 1;
|
|
140
|
+
}
|
|
141
|
+
message GetInstallsCountResponse {
|
|
142
|
+
int64 count = 1;
|
|
143
|
+
}
|
|
144
|
+
message GetInstallsByIdRequest {
|
|
145
|
+
repeated string install_ids = 1;
|
|
146
|
+
}
|
|
147
|
+
message GetInstallsByIdResponse {
|
|
148
|
+
repeated Install install = 1;
|
|
149
|
+
}
|
|
150
|
+
message GetInstallsByExternalIdsRequest {
|
|
151
|
+
repeated string external_ids = 1;
|
|
152
|
+
}
|
|
153
|
+
message GetInstallsByExternalIdsResponse {
|
|
154
|
+
repeated Install install = 1;
|
|
155
|
+
}
|
|
156
|
+
message NullableInstallType {
|
|
157
|
+
oneof kind {
|
|
158
|
+
InstallType data = 1;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
message GetInstallsBySiteRequest {
|
|
162
|
+
string site_id = 1;
|
|
163
|
+
message Filter {
|
|
164
|
+
InstallStateValue state = 1;
|
|
165
|
+
InstallType type=2 [deprecated = true];
|
|
166
|
+
NullableInstallType install_type=3;
|
|
167
|
+
}
|
|
168
|
+
Filter filter = 2;
|
|
169
|
+
}
|
|
170
|
+
message GetInstallsBySiteResponse {
|
|
171
|
+
repeated Install install = 1;
|
|
172
|
+
}
|
|
173
|
+
message GetInstallsForMultipleSitesRequest {
|
|
174
|
+
repeated string site_ids = 1;
|
|
175
|
+
}
|
|
176
|
+
message GetInstallsForMultipleSitesResponse {
|
|
177
|
+
repeated Install installs = 1;
|
|
178
|
+
}
|
|
179
|
+
message GetInstallbyClientIdRequest {
|
|
180
|
+
string client_id = 1;
|
|
181
|
+
}
|
|
182
|
+
message GetInstallbyClientIdResponse {
|
|
183
|
+
Install install = 1;
|
|
184
|
+
}
|
|
185
|
+
message CreateInstallRequest{
|
|
186
|
+
reserved 2, 8;
|
|
187
|
+
string site_id = 1;
|
|
188
|
+
string display_name = 3;
|
|
189
|
+
string description = 4;
|
|
190
|
+
string status = 5;
|
|
191
|
+
string fqdn = 6;
|
|
192
|
+
string created_by_id = 7;
|
|
193
|
+
|
|
194
|
+
string global_id = 9;
|
|
195
|
+
InstallType type = 10;
|
|
196
|
+
string client_id = 11;
|
|
197
|
+
}
|
|
198
|
+
enum InstallType {
|
|
199
|
+
IT=0;
|
|
200
|
+
OT=1;
|
|
201
|
+
IT_AGENT=2;
|
|
202
|
+
CLOUD=3;
|
|
203
|
+
NETWORK_DISCOVERY=4;
|
|
204
|
+
MANUAL=5; // vNEXT manual reconciled installation, that will link all the manual assets that will come to vNEXT.
|
|
205
|
+
}
|
|
206
|
+
message CreateInstallResponse{
|
|
207
|
+
Install install = 1;
|
|
208
|
+
InstallCredentials credentials = 2;
|
|
209
|
+
}
|
|
210
|
+
message CreateAndLinkInstallRequest{
|
|
211
|
+
string site_id = 1;
|
|
212
|
+
string display_name = 2;
|
|
213
|
+
string description = 3;
|
|
214
|
+
string global_id = 4;
|
|
215
|
+
InstallType type = 5;
|
|
216
|
+
string created_by_id = 6;
|
|
217
|
+
string client_id = 7;
|
|
218
|
+
string external_id = 8;
|
|
219
|
+
}
|
|
220
|
+
message CreateAndLinkInstallResponse{
|
|
221
|
+
Install install = 1;
|
|
222
|
+
InstallCredentials credentials = 2;
|
|
223
|
+
string license = 3;
|
|
224
|
+
}
|
|
225
|
+
message UpdateInstallByClientIdRequest{
|
|
226
|
+
string client_id = 1;
|
|
227
|
+
string display_name = 2;
|
|
228
|
+
string description = 3;
|
|
229
|
+
string status = 4;
|
|
230
|
+
string fqdn = 5;
|
|
231
|
+
message SyncerSettings {
|
|
232
|
+
string send_changed_data_timeout = 1;
|
|
233
|
+
string send_fast_changing_data_timeout = 2;
|
|
234
|
+
string send_non_changed_data_timeout = 3;
|
|
235
|
+
string sync_interval_in_seconds = 4;
|
|
236
|
+
}
|
|
237
|
+
SyncerSettings syncer_settings = 6;
|
|
238
|
+
}
|
|
239
|
+
message UpdateInstallByClientIdResponse{
|
|
240
|
+
Install install = 1;
|
|
241
|
+
}
|
|
242
|
+
message RotateInstallByClientIdRequest{
|
|
243
|
+
string client_id = 1;
|
|
244
|
+
string track_id = 2;
|
|
245
|
+
}
|
|
246
|
+
message RotateInstallByClientIdResponse {
|
|
247
|
+
bool success = 1;
|
|
248
|
+
string site_id = 2;
|
|
249
|
+
string old_install_id = 3;
|
|
250
|
+
string new_install_id = 4;
|
|
251
|
+
}
|
|
252
|
+
message UnlinkInstallByClientIdRequest {
|
|
253
|
+
string client_id = 1;
|
|
254
|
+
string track_id = 2;
|
|
255
|
+
bool remove_data = 3;
|
|
256
|
+
bool from_onprem = 4;
|
|
257
|
+
}
|
|
258
|
+
message UnlinkInstallByClientIdResponse {
|
|
259
|
+
bool success = 1;
|
|
260
|
+
}
|
|
261
|
+
message LinkTrialInstallByClientIdRequest {
|
|
262
|
+
string client_id = 1;
|
|
263
|
+
string display_name = 2;
|
|
264
|
+
string description = 3;
|
|
265
|
+
string global_id = 4;
|
|
266
|
+
InstallType type = 5;
|
|
267
|
+
}
|
|
268
|
+
message LinkTrialInstallByClientIdResponse {
|
|
269
|
+
Install install = 1;
|
|
270
|
+
InstallCredentials credentials = 2;
|
|
271
|
+
PreviewSite site = 3;
|
|
272
|
+
string license = 4;
|
|
273
|
+
}
|
|
274
|
+
message RemoveInstallDataBySiteIdRequest {
|
|
275
|
+
string site_id = 1;
|
|
276
|
+
repeated string install_ids = 2;
|
|
277
|
+
string user_id = 3;
|
|
278
|
+
}
|
|
279
|
+
message RemoveInstallDataBySiteIdResponse {
|
|
280
|
+
message Result {
|
|
281
|
+
string install_id = 1;
|
|
282
|
+
bool queued = 2;
|
|
283
|
+
}
|
|
284
|
+
repeated Result result = 1;
|
|
285
|
+
}
|
|
286
|
+
message GetDuplicatedInstallsByGlobalIdRequest {
|
|
287
|
+
string site_id = 1;
|
|
288
|
+
string global_id = 2;
|
|
289
|
+
}
|
|
290
|
+
message GetDuplicatedInstallsByGlobalIdResponse {
|
|
291
|
+
repeated Install install = 1;
|
|
292
|
+
}
|
|
293
|
+
message GetUserPermissionsRequest {
|
|
294
|
+
string site_id = 1;
|
|
295
|
+
string account_id = 2;
|
|
296
|
+
}
|
|
297
|
+
message GetUserPermissionsResponse {
|
|
298
|
+
message AuthorizationAction {
|
|
299
|
+
string key = 1;
|
|
300
|
+
bytes derived_permissions = 2;
|
|
301
|
+
}
|
|
302
|
+
message Scope {
|
|
303
|
+
string id = 1;
|
|
304
|
+
}
|
|
305
|
+
message Role {
|
|
306
|
+
string id = 1;
|
|
307
|
+
repeated AuthorizationAction actions = 2;
|
|
308
|
+
repeated Install installations = 3;
|
|
309
|
+
repeated Scope scopes = 4;
|
|
310
|
+
}
|
|
311
|
+
repeated Role roles = 1;
|
|
312
|
+
}
|
|
313
|
+
message ValidateApplicationPersonalAccessTokenRequest {
|
|
314
|
+
string personal_access_token = 1;
|
|
315
|
+
string trace_id = 2;
|
|
316
|
+
}
|
|
317
|
+
message ValidateApplicationPersonalAccessTokenResponse {
|
|
318
|
+
string user_id = 1;
|
|
319
|
+
string application_id = 2;
|
|
320
|
+
}
|
|
321
|
+
message DisableWebhookEmailRequest {
|
|
322
|
+
string application_name = 1;
|
|
323
|
+
string email = 2 [deprecated = true];
|
|
324
|
+
|
|
325
|
+
message WebhookError {
|
|
326
|
+
string code = 1;
|
|
327
|
+
string messsage = 2 [deprecated = true];
|
|
328
|
+
string timestamp = 3;
|
|
329
|
+
string message = 4;
|
|
330
|
+
}
|
|
331
|
+
repeated WebhookError errors = 3;
|
|
332
|
+
|
|
333
|
+
string payload_url = 4;
|
|
334
|
+
string webhook_name = 5;
|
|
335
|
+
string webhook_url = 6 [deprecated = true];
|
|
336
|
+
string webhook_id = 7;
|
|
337
|
+
string application_id = 8;
|
|
338
|
+
}
|
|
339
|
+
message DisableWebhookEmailResponse {
|
|
340
|
+
bool mail_sent = 1;
|
|
341
|
+
}
|
|
342
|
+
message Site {
|
|
343
|
+
string id = 1;
|
|
344
|
+
}
|
|
345
|
+
message AuthorizedSitesRequest {
|
|
346
|
+
string application_id = 1;
|
|
347
|
+
string trace_id = 2;
|
|
348
|
+
}
|
|
349
|
+
message AuthorizedSitesResponse {
|
|
350
|
+
repeated Site site = 1;
|
|
351
|
+
}
|
|
352
|
+
message GetAccountIdsBySiteIdRequest {
|
|
353
|
+
string site_id = 1;
|
|
354
|
+
}
|
|
355
|
+
message GetAccountIdsBySiteIdResponse {
|
|
356
|
+
repeated string account_ids = 1;
|
|
357
|
+
}
|
|
358
|
+
message CheckManagerInApplicationRequest {
|
|
359
|
+
string application_id = 1;
|
|
360
|
+
string manager_id = 2;
|
|
361
|
+
}
|
|
362
|
+
message CheckManagerInApplicationResponse {
|
|
363
|
+
bool is_manager = 1;
|
|
364
|
+
}
|
|
365
|
+
enum SubscriptionType {
|
|
366
|
+
SUBSCRIPTION_TYPE_VALUE_UNESPECIFIED = 0;
|
|
367
|
+
SUBSCRIPTION_TYPE_VALUE_TRIAL = 1;
|
|
368
|
+
SUBSCRIPTION_TYPE_VALUE_FREEWARE = 2;
|
|
369
|
+
SUBSCRIPTION_TYPE_VALUE_STARTER = 3;
|
|
370
|
+
SUBSCRIPTION_TYPE_VALUE_PRO = 4;
|
|
371
|
+
SUBSCRIPTION_TYPE_VALUE_ENTERPRISE = 5;
|
|
372
|
+
}
|
|
373
|
+
message Subscription {
|
|
374
|
+
string id = 1;
|
|
375
|
+
string site_id = 2;
|
|
376
|
+
SubscriptionType type = 3;
|
|
377
|
+
int32 assets_limit = 4;
|
|
378
|
+
string expiration_date = 5;
|
|
379
|
+
string created_at = 6;
|
|
380
|
+
string created_by = 7;
|
|
381
|
+
}
|
|
382
|
+
message UpdateSiteSubscriptionRequest {
|
|
383
|
+
string site_id = 1;
|
|
384
|
+
SubscriptionType type = 2;
|
|
385
|
+
int32 assets_limit = 3;
|
|
386
|
+
string expiration_date = 4;
|
|
387
|
+
string updated_by = 5;
|
|
388
|
+
}
|
|
389
|
+
message UpdateSiteSubscriptionResponse {
|
|
390
|
+
Subscription subscription = 1;
|
|
391
|
+
}
|
|
392
|
+
message CreateTrialSiteAndInstallerRequest {
|
|
393
|
+
string user_id = 1;
|
|
394
|
+
}
|
|
395
|
+
message CreateTrialSiteAndInstallerResponse {
|
|
396
|
+
string installer_credentials = 1;
|
|
397
|
+
}
|
|
398
|
+
message GetInstallationLicenseByClientIdRequest {
|
|
399
|
+
string client_id = 1;
|
|
400
|
+
}
|
|
401
|
+
message GetInstallationLicenseByClientIdResponse {
|
|
402
|
+
string license = 1;
|
|
403
|
+
}
|
|
404
|
+
message AllProfileExistsRequest{
|
|
405
|
+
option deprecated = true;
|
|
406
|
+
string site_id = 1;
|
|
407
|
+
repeated string emails = 2;
|
|
408
|
+
}
|
|
409
|
+
message AllProfileExistsResponse{
|
|
410
|
+
option deprecated = true;
|
|
411
|
+
bool all = 1;
|
|
412
|
+
}
|
|
413
|
+
message AllProfilesExistRequest{
|
|
414
|
+
string site_id = 1;
|
|
415
|
+
repeated string emails = 2;
|
|
416
|
+
}
|
|
417
|
+
message AllProfilesExistResponse{
|
|
418
|
+
bool all = 1;
|
|
419
|
+
repeated Profile profiles = 2;
|
|
420
|
+
PreviewAccount createdBy = 3;
|
|
421
|
+
}
|
|
422
|
+
message SendInviteLocalUsersMailRequest{
|
|
423
|
+
string site_id = 1;
|
|
424
|
+
}
|
|
425
|
+
message SendInviteLocalUsersMailResponse{
|
|
426
|
+
bool sent = 1;
|
|
427
|
+
}
|
|
428
|
+
message CreateLinkingCodeRequest {
|
|
429
|
+
string site_id = 1;
|
|
430
|
+
string account_id = 2;
|
|
431
|
+
}
|
|
432
|
+
message CreateLinkingCodeResponse {
|
|
433
|
+
string code = 1;
|
|
434
|
+
}
|
|
435
|
+
message GetSiteIdsWithIntegrationData {
|
|
436
|
+
repeated string site_ids = 1;
|
|
437
|
+
}
|
|
438
|
+
message CheckStandardizedSoftwareEnabledRequest {
|
|
439
|
+
string site_id = 1;
|
|
440
|
+
}
|
|
441
|
+
message CheckStandardizedSoftwareEnabledResponse {
|
|
442
|
+
bool is_enabled = 1;
|
|
443
|
+
}
|
|
444
|
+
message UpdateSiteMetadataRequest {
|
|
445
|
+
string site_id = 1;
|
|
446
|
+
string key = 2;
|
|
447
|
+
string value = 3;
|
|
448
|
+
}
|
|
449
|
+
message UpdateSiteMetadataResponse {
|
|
450
|
+
bool success = 1;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
message UpdateSiteSkipDataExportRequest {
|
|
454
|
+
string site_id = 1;
|
|
455
|
+
bool skip_data_export = 2;
|
|
456
|
+
string updated_by = 3;
|
|
457
|
+
}
|
|
458
|
+
message UpdateSiteSkipDataExportResponse {
|
|
459
|
+
bool success = 1;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
message GetSiteLimitsRequest {
|
|
463
|
+
repeated string site_ids = 1;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
message GetSiteLimitsResponse {
|
|
467
|
+
map<string, lansweeper.shared.limits.v1.SiteLimits> site_limits = 1;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
message GetSiteHierarchyIdsRequest {
|
|
471
|
+
optional string offset_id = 1;
|
|
472
|
+
optional int32 limit = 2;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
message SiteHierarchyIdsItem{
|
|
476
|
+
enum ParentType {
|
|
477
|
+
UNKNOWN = 0;
|
|
478
|
+
NONE = 1;
|
|
479
|
+
ORG = 2;
|
|
480
|
+
MSMP = 3;
|
|
481
|
+
}
|
|
482
|
+
string site_id = 1;
|
|
483
|
+
ParentType parent_type = 2;
|
|
484
|
+
string parent_id = 3;
|
|
485
|
+
bool is_customer_account = 4;
|
|
486
|
+
bool skip_hivemind_export = 5;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
message SiteHierarchyIdsPageInfo{
|
|
490
|
+
string offset_id = 1;
|
|
491
|
+
int32 limit = 2;
|
|
492
|
+
bool has_next_page = 3;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
message GetSiteHierarchyIdsResponse {
|
|
496
|
+
int32 count = 1;
|
|
497
|
+
repeated SiteHierarchyIdsItem items = 2;
|
|
498
|
+
SiteHierarchyIdsPageInfo page_info = 3;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
message GetSitesOptions {
|
|
502
|
+
optional string offset_id = 1;
|
|
503
|
+
optional int32 limit = 2;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
message GetSitesRequest {
|
|
507
|
+
optional GetSitesOptions options = 1;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
message SiteItemMetadata {
|
|
511
|
+
bool enabled_metadata_fields_federation = 1;
|
|
512
|
+
bool enabled_custom_fields_federation = 2;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
message SiteItem {
|
|
516
|
+
string id = 1;
|
|
517
|
+
optional SiteItemMetadata metadata = 2;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
message GetSitesPageInfo{
|
|
521
|
+
string offset_id = 1;
|
|
522
|
+
int32 limit = 2;
|
|
523
|
+
bool has_next_page = 3;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
message GetSitesResponse {
|
|
527
|
+
int32 count = 1;
|
|
528
|
+
repeated SiteItem items = 2;
|
|
529
|
+
GetSitesPageInfo page_info = 3;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
message MsmpPagination {
|
|
533
|
+
int32 offset = 1;
|
|
534
|
+
int32 limit = 2;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
message MsmpPaginationInfo {
|
|
538
|
+
int32 total = 1;
|
|
539
|
+
int32 offset = 2;
|
|
540
|
+
int32 limit = 3;
|
|
541
|
+
bool has_next_page = 4;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
message GetMsmpOrganizationListRequest {
|
|
545
|
+
string user_id = 1;
|
|
546
|
+
message MsmpPaginationRequest {
|
|
547
|
+
int32 offset = 1;
|
|
548
|
+
int32 limit = 2;
|
|
549
|
+
}
|
|
550
|
+
MsmpPaginationRequest msmp_pagination = 2;
|
|
551
|
+
string trace_id = 3;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
message GetMsmpOrganizationListResponse {
|
|
555
|
+
message MsmpOrganization {
|
|
556
|
+
string id = 1;
|
|
557
|
+
string name = 2;
|
|
558
|
+
}
|
|
559
|
+
repeated MsmpOrganization organizations = 1;
|
|
560
|
+
message MsmpPageInfo {
|
|
561
|
+
int32 total = 1;
|
|
562
|
+
int32 offset = 2;
|
|
563
|
+
int32 limit = 3;
|
|
564
|
+
bool has_next_page = 4;
|
|
565
|
+
}
|
|
566
|
+
MsmpPageInfo msmp_page_info = 2;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
message GetMsmpOrganizationAccountRequest {
|
|
570
|
+
string user_id = 1;
|
|
571
|
+
string msmp_organization_id = 2;
|
|
572
|
+
string trace_id = 3;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
message GetMsmpOrganizationAccountResponse {
|
|
576
|
+
string id = 1;
|
|
577
|
+
string role = 2;
|
|
578
|
+
bool is_pending = 3;
|
|
579
|
+
bool has_accessed_multi_site_management_portal = 4;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
message GetSitesByMsmpOrganizationIdRequest {
|
|
583
|
+
string user_id = 1;
|
|
584
|
+
string msmp_organization_id = 2;
|
|
585
|
+
MsmpPagination msmp_pagination = 3;
|
|
586
|
+
string trace_id = 4;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
message GetSitesByMsmpOrganizationIdResponse {
|
|
590
|
+
repeated PreviewSite sites = 1;
|
|
591
|
+
MsmpPaginationInfo msmp_pagination_info = 2;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
message SetEnabledCustomFieldsFederationRequest {
|
|
595
|
+
string site_id = 1;
|
|
596
|
+
bool enabled = 2;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
message IsCustomFieldsFederationEnabledRequest {
|
|
600
|
+
string site_id = 1;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
message IsMetadataFieldsFederationEnabledRequest {
|
|
604
|
+
string site_id = 1;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
message IsCustomFieldsFederationEnabledResponse {
|
|
608
|
+
bool is_enabled = 1;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
message IsMetadataFieldsFederationEnabledResponse {
|
|
612
|
+
bool is_enabled = 1;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
message GetSitePreviewRequest {
|
|
616
|
+
string site_id = 1;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
message GetSitePreviewResponse {
|
|
620
|
+
PreviewSite site = 1;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
message CreateOwnerPersonalAccessTokenRequest {
|
|
624
|
+
string name = 1;
|
|
625
|
+
string partner_integration_id = 2;
|
|
626
|
+
repeated string site_ids = 3;
|
|
627
|
+
optional string description = 4;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
message CreateOwnerPersonalAccessTokenResponse {
|
|
631
|
+
string token = 1;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
message GetInstallationSettingsRequest {
|
|
635
|
+
string site_id = 1;
|
|
636
|
+
string install_id = 2;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
message GetInstallationSettingsResponse {
|
|
640
|
+
string digitalLicenseToken = 1;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
message CreateFlowBuilderBotAccountRequest {
|
|
644
|
+
string trace_id = 1;
|
|
645
|
+
string site_id = 2;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
message CreateFlowBuilderBotAccountResponse {
|
|
649
|
+
string account_id = 1;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
message GetManualInstallationRequest {
|
|
653
|
+
string site_id = 1;
|
|
654
|
+
optional string user_id = 2;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
message GetManualInstallationResponse {
|
|
658
|
+
string manual_install_id = 1;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
service Multitenant {
|
|
662
|
+
rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
|
|
663
|
+
rpc CheckAccessToSiteByClientId(CheckAccessToSiteByClientIdRequest) returns (CheckAccessToSiteByClientIdResponse) {}
|
|
664
|
+
rpc GetPreviewAccountById(GetPreviewAccountByIdRequest) returns (GetPreviewAccountByIdResponse) {}
|
|
665
|
+
rpc SearchPreviewAccountsBySiteIds(SearchPreviewAccountsBySiteIdsRequest) returns (SearchPreviewAccountsBySiteIdsResponse) {}
|
|
666
|
+
rpc GetPreviewAccountsByAccountIds(GetPreviewAccountsByAccountIdsRequest) returns (GetPreviewAccountsByAccountIdsResponse) {}
|
|
667
|
+
rpc ListProfilesByAccountId(ListProfilesByAccountIdRequest) returns (ListProfilesByAccountIdResponse) {}
|
|
668
|
+
|
|
669
|
+
rpc ListAuthorizedLinkProfiles(ListAuthorizedLinkProfilesRequest) returns (ListAuthorizedLinkProfilesResponse) {}
|
|
670
|
+
rpc PatchSiteMode(PatchSiteModeRequest) returns (PatchSiteModeResponse) {}
|
|
671
|
+
rpc CreateInstall(CreateInstallRequest) returns (CreateInstallResponse) {}
|
|
672
|
+
rpc CreateAndLinkInstall(CreateAndLinkInstallRequest) returns (CreateAndLinkInstallResponse) {}
|
|
673
|
+
rpc GetInstallsBySite(GetInstallsBySiteRequest) returns (GetInstallsBySiteResponse) {}
|
|
674
|
+
rpc GetInstallsforMultipleSites(GetInstallsForMultipleSitesRequest) returns (GetInstallsForMultipleSitesResponse) {}
|
|
675
|
+
rpc GetInstallsById(GetInstallsByIdRequest) returns (GetInstallsByIdResponse) {}
|
|
676
|
+
rpc GetInstallsCountBySite(GetInstallsCountBySiteRequest) returns (GetInstallsCountResponse) {}
|
|
677
|
+
rpc GetInstallbyClientId(GetInstallbyClientIdRequest) returns (GetInstallbyClientIdResponse) {}
|
|
678
|
+
rpc UpdateInstallByClientId(UpdateInstallByClientIdRequest) returns (UpdateInstallByClientIdResponse) {}
|
|
679
|
+
rpc RotateInstallByClientId(RotateInstallByClientIdRequest) returns (RotateInstallByClientIdResponse) {}
|
|
680
|
+
rpc LinkTrialInstallByClientId(LinkTrialInstallByClientIdRequest) returns (LinkTrialInstallByClientIdResponse) {}
|
|
681
|
+
rpc UnlinkInstallByClientId(UnlinkInstallByClientIdRequest) returns (UnlinkInstallByClientIdResponse) {}
|
|
682
|
+
rpc RemoveInstallDataBySiteId(RemoveInstallDataBySiteIdRequest) returns (RemoveInstallDataBySiteIdResponse) {}
|
|
683
|
+
rpc GetDuplicatedInstallsByGlobalId(GetDuplicatedInstallsByGlobalIdRequest) returns (GetDuplicatedInstallsByGlobalIdResponse) {}
|
|
684
|
+
rpc GetUserPermissions(GetUserPermissionsRequest) returns (GetUserPermissionsResponse) {}
|
|
685
|
+
rpc ValidateApplicationPersonalAccessToken(ValidateApplicationPersonalAccessTokenRequest) returns (ValidateApplicationPersonalAccessTokenResponse) {}
|
|
686
|
+
rpc SendDisabledWebhookEmail(DisableWebhookEmailRequest) returns (DisableWebhookEmailResponse) {}
|
|
687
|
+
rpc GetAuthorizedSitesByApplicationId(AuthorizedSitesRequest) returns (AuthorizedSitesResponse) {}
|
|
688
|
+
rpc GetAccountIdsBySiteId(GetAccountIdsBySiteIdRequest) returns (GetAccountIdsBySiteIdResponse) {}
|
|
689
|
+
rpc CheckManagerInApplication(CheckManagerInApplicationRequest) returns (CheckManagerInApplicationResponse) {}
|
|
690
|
+
rpc UpdateSiteSubscription(UpdateSiteSubscriptionRequest) returns (UpdateSiteSubscriptionResponse) {}
|
|
691
|
+
rpc CreateTrialSiteAndInstaller(CreateTrialSiteAndInstallerRequest) returns (CreateTrialSiteAndInstallerResponse) {}
|
|
692
|
+
rpc GetInstallationLicenseByClientId(GetInstallationLicenseByClientIdRequest) returns (GetInstallationLicenseByClientIdResponse) {}
|
|
693
|
+
rpc AllProfilesExist(AllProfilesExistRequest) returns (AllProfilesExistResponse) {}
|
|
694
|
+
rpc SendInviteLocalUsersMail(SendInviteLocalUsersMailRequest) returns (SendInviteLocalUsersMailResponse) {}
|
|
695
|
+
rpc AllProfileExists(AllProfileExistsRequest) returns (AllProfileExistsResponse) {
|
|
696
|
+
option deprecated = true;
|
|
697
|
+
}
|
|
698
|
+
rpc CreateLinkingCode(CreateLinkingCodeRequest) returns (CreateLinkingCodeResponse) {}
|
|
699
|
+
rpc GetSiteIdsWithIntegrationBySiteId(GetSiteIdsWithIntegrationData) returns (GetSiteIdsWithIntegrationData) {}
|
|
700
|
+
rpc CheckStandardizedSoftwareEnabled(CheckStandardizedSoftwareEnabledRequest) returns (CheckStandardizedSoftwareEnabledResponse) {}
|
|
701
|
+
rpc UpdateSiteMetadata(UpdateSiteMetadataRequest) returns (UpdateSiteMetadataResponse) {}
|
|
702
|
+
rpc GetSiteLimits(GetSiteLimitsRequest) returns (GetSiteLimitsResponse) {}
|
|
703
|
+
rpc GetMsmpOrganizationList(GetMsmpOrganizationListRequest) returns (GetMsmpOrganizationListResponse) {}
|
|
704
|
+
rpc GetMsmpOrganizationAccount(GetMsmpOrganizationAccountRequest) returns (GetMsmpOrganizationAccountResponse) {}
|
|
705
|
+
rpc GetSitesByMsmpOrganizationId(GetSitesByMsmpOrganizationIdRequest) returns (GetSitesByMsmpOrganizationIdResponse) {}
|
|
706
|
+
rpc GetInstallsByExternalIds(GetInstallsByExternalIdsRequest) returns (GetInstallsByExternalIdsResponse) {}
|
|
707
|
+
rpc SetEnabledCustomFieldsFederation(SetEnabledCustomFieldsFederationRequest) returns (google.protobuf.Empty) {}
|
|
708
|
+
rpc IsCustomFieldsFederationEnabled(IsCustomFieldsFederationEnabledRequest) returns (IsCustomFieldsFederationEnabledResponse) {}
|
|
709
|
+
rpc IsMetadataFieldsFederationEnabled(IsMetadataFieldsFederationEnabledRequest) returns (IsMetadataFieldsFederationEnabledResponse) {}
|
|
710
|
+
rpc GetSitePreview(GetSitePreviewRequest) returns (GetSitePreviewResponse) {}
|
|
711
|
+
rpc UpdateSiteSkipDataExport(UpdateSiteSkipDataExportRequest) returns (UpdateSiteSkipDataExportResponse) {}
|
|
712
|
+
rpc GetSiteHierarchyIds(GetSiteHierarchyIdsRequest) returns (GetSiteHierarchyIdsResponse) {}
|
|
713
|
+
rpc GetSites(GetSitesRequest) returns (GetSitesResponse) {}
|
|
714
|
+
rpc CreateOwnerPersonalAccessToken(CreateOwnerPersonalAccessTokenRequest) returns (CreateOwnerPersonalAccessTokenResponse) {}
|
|
715
|
+
rpc GetInstallationSettings(GetInstallationSettingsRequest) returns (GetInstallationSettingsResponse) {}
|
|
716
|
+
rpc CreateFlowBuilderBotAccount(CreateFlowBuilderBotAccountRequest) returns (CreateFlowBuilderBotAccountResponse) {}
|
|
717
|
+
rpc GetManualInstallation(GetManualInstallationRequest) returns (GetManualInstallationResponse) {}
|
|
718
|
+
|
|
719
|
+
}
|