@lansweeper/multitenant-api-grpc 0.3.3 → 0.3.5
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 +17 -0
- package/gen-proto/multitenant_grpc_pb.js +33 -0
- package/gen-proto/multitenant_pb.d.ts +88 -0
- package/gen-proto/multitenant_pb.js +726 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +23 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/multitenant-api-grpc",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Multitenant grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@types/google-protobuf": "^3.15.5"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "04c3bea101d40508b23954b7ba28bbbbf70ef5bd"
|
|
16
16
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -260,6 +260,27 @@ message ValidateApplicationPersonalAccessTokenResponse {
|
|
|
260
260
|
string application_id = 2;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
message DisableWebhookEmailRequest {
|
|
264
|
+
string application_name = 1;
|
|
265
|
+
string email = 2;
|
|
266
|
+
|
|
267
|
+
message WebhookError {
|
|
268
|
+
string code = 1;
|
|
269
|
+
string messsage = 2 [deprecated = true];
|
|
270
|
+
string timestamp = 3;
|
|
271
|
+
string message = 4;
|
|
272
|
+
}
|
|
273
|
+
repeated WebhookError errors = 3;
|
|
274
|
+
|
|
275
|
+
string payload_url = 4;
|
|
276
|
+
string webhook_name = 5;
|
|
277
|
+
string webhook_url = 6;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
message DisableWebhookEmailResponse {
|
|
281
|
+
bool mail_sent = 1;
|
|
282
|
+
}
|
|
283
|
+
|
|
263
284
|
service Multitenant {
|
|
264
285
|
rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
|
|
265
286
|
|
|
@@ -292,4 +313,6 @@ service Multitenant {
|
|
|
292
313
|
rpc GetUserPermissions(GetUserPermissionsRequest) returns (GetUserPermissionsResponse) {}
|
|
293
314
|
|
|
294
315
|
rpc ValidateApplicationPersonalAccessToken(ValidateApplicationPersonalAccessTokenRequest) returns (ValidateApplicationPersonalAccessTokenResponse) {}
|
|
316
|
+
|
|
317
|
+
rpc SendDisabledWebhookEmail(DisableWebhookEmailRequest) returns (DisableWebhookEmailResponse) {}
|
|
295
318
|
}
|