@lansweeper/multitenant-api-grpc 0.4.25 → 0.4.26

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.26",
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": "85f94d6bc6cb1b7a8e0c01041d2870db2c7b9512"
19
19
  }
@@ -453,6 +453,15 @@ 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
+
456
465
  service Multitenant {
457
466
  rpc CheckAccessToSiteByAccountId(CheckAccessToSiteByAccountIdRequest) returns (CheckAccessToSiteByAccountIdResponse) {}
458
467
 
@@ -515,4 +524,6 @@ service Multitenant {
515
524
  }
516
525
 
517
526
  rpc GetSiteSubscription(GetSiteSubscriptionRequest) returns (GetSiteSubscriptionResponse) {}
527
+
528
+ rpc CreateLinkingCode(CreateLinkingCodeRequest) returns (CreateLinkingCodeResponse) {}
518
529
  }