@lansweeper/multitenant-api-grpc 0.4.25 → 0.4.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/multitenant-api-grpc",
3
- "version": "0.4.25",
3
+ "version": "0.4.27",
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": "d7f6c88fbe2103dc928ae81c66f8a0a3b9a1fd0a"
18
+ "gitHead": "e183058922daf5c10bd24c1fd0f1d34bcaae2527"
19
19
  }
@@ -453,6 +453,19 @@ 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
+
465
+ message GetSiteIdsWithIntegrationData {
466
+ repeated string site_ids = 1;
467
+ }
468
+
456
469
  service Multitenant {
457
470
  rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
458
471
 
@@ -515,4 +528,8 @@ service Multitenant {
515
528
  }
516
529
 
517
530
  rpc GetSiteSubscription(GetSiteSubscriptionRequest) returns (GetSiteSubscriptionResponse) {}
531
+
532
+ rpc CreateLinkingCode(CreateLinkingCodeRequest) returns (CreateLinkingCodeResponse) {}
533
+
534
+ rpc GetSiteIdsWithIntegrationBySiteId(GetSiteIdsWithIntegrationData) returns (GetSiteIdsWithIntegrationData) {}
518
535
  }