@blocklet/server-js 1.16.52-beta-20250908-085420-224a58fa → 1.16.52-beta-20250911-023851-d988be85

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/dist/browser.d.ts CHANGED
@@ -147,12 +147,13 @@ declare class ABTNodeClient {
147
147
  ): Promise<ABTNodeClient.ResponseUserFollows>;
148
148
  getUserFollowStats(
149
149
  params: PartialDeep<ABTNodeClient.GetUserFollowStatsParams>
150
- ): Promise<ABTNodeClient.ResponseFollowStats>;
150
+ ): Promise<ABTNodeClient.ResponseUserRelationCount>;
151
151
  checkFollowing(
152
152
  params: PartialDeep<ABTNodeClient.CheckFollowingParams>
153
153
  ): Promise<ABTNodeClient.ResponseCheckFollowing>;
154
154
  followUser(params: PartialDeep<ABTNodeClient.FollowUserParams>): Promise<ABTNodeClient.GeneralResponse>;
155
155
  unfollowUser(params: PartialDeep<ABTNodeClient.UnfollowUserParams>): Promise<ABTNodeClient.GeneralResponse>;
156
+ getUserInvites(params: PartialDeep<ABTNodeClient.GetUserInvitesParams>): Promise<ABTNodeClient.ResponseUsers>;
156
157
  getTags(params: PartialDeep<ABTNodeClient.GetTagsParams>): Promise<ABTNodeClient.ResponseTags>;
157
158
  getAuditLogs(params: PartialDeep<ABTNodeClient.GetAuditLogsParams>): Promise<ABTNodeClient.ResponseGetAuditLogs>;
158
159
  getLauncherSession(
@@ -2102,7 +2103,12 @@ declare namespace ABTNodeClient {
2102
2103
  sessionId: string;
2103
2104
  }
2104
2105
 
2105
- interface RequestUserFollowsInput {
2106
+ interface RequestUserRelationCountInput {
2107
+ teamDid: string;
2108
+ userDids: string[];
2109
+ }
2110
+
2111
+ interface RequestUserRelationQueryInput {
2106
2112
  teamDid: string;
2107
2113
  userDid: string;
2108
2114
  paging: ABTNodeClient.PagingInput;
@@ -2110,11 +2116,6 @@ declare namespace ABTNodeClient {
2110
2116
  options: ABTNodeClient.QueryUserFollowOptionsInput;
2111
2117
  }
2112
2118
 
2113
- interface RequestUserFollowsStatsInput {
2114
- teamDid: string;
2115
- userDids: string[];
2116
- }
2117
-
2118
2119
  interface RequestUserSessionsCountInput {
2119
2120
  teamDid: string;
2120
2121
  query: ABTNodeClient.UserSessionQueryInput;
@@ -3467,6 +3468,7 @@ declare namespace ABTNodeClient {
3467
3468
  activity: ABTNodeClient.NotificationActivity;
3468
3469
  actorInfo: ABTNodeClient.UserInfo;
3469
3470
  options: Record<string, any>;
3471
+ utm: ABTNodeClient.TUTM;
3470
3472
  }
3471
3473
 
3472
3474
  interface NotificationAction {
@@ -3475,6 +3477,7 @@ declare namespace ABTNodeClient {
3475
3477
  link: string;
3476
3478
  name: string;
3477
3479
  title: string;
3480
+ utm: ABTNodeClient.TUTM;
3478
3481
  }
3479
3482
 
3480
3483
  interface NotificationActivity {
@@ -3716,10 +3719,11 @@ declare namespace ABTNodeClient {
3716
3719
  destroySelf: ABTNodeClient.ResponseUser;
3717
3720
  getUserFollowers: ABTNodeClient.ResponseUserFollows;
3718
3721
  getUserFollowing: ABTNodeClient.ResponseUserFollows;
3719
- getUserFollowStats: ABTNodeClient.ResponseFollowStats;
3722
+ getUserFollowStats: ABTNodeClient.ResponseUserRelationCount;
3720
3723
  checkFollowing: ABTNodeClient.ResponseCheckFollowing;
3721
3724
  followUser: ABTNodeClient.GeneralResponse;
3722
3725
  unfollowUser: ABTNodeClient.GeneralResponse;
3726
+ getUserInvites: ABTNodeClient.ResponseUsers;
3723
3727
  getTags: ABTNodeClient.ResponseTags;
3724
3728
  getAuditLogs: ABTNodeClient.ResponseGetAuditLogs;
3725
3729
  getLauncherSession: ABTNodeClient.ResponseGetLauncherSession;
@@ -4010,11 +4014,6 @@ declare namespace ABTNodeClient {
4010
4014
  cert: ABTNodeClient.Certificate;
4011
4015
  }
4012
4016
 
4013
- interface ResponseFollowStats {
4014
- code: ABTNodeClient.StatusCode;
4015
- data: Record<string, any>;
4016
- }
4017
-
4018
4017
  interface ResponseGateway {
4019
4018
  code: ABTNodeClient.StatusCode;
4020
4019
  gateway: ABTNodeClient.Gateway;
@@ -4364,6 +4363,11 @@ declare namespace ABTNodeClient {
4364
4363
  paging: ABTNodeClient.Paging;
4365
4364
  }
4366
4365
 
4366
+ interface ResponseUserRelationCount {
4367
+ code: ABTNodeClient.StatusCode;
4368
+ data: Record<string, any>;
4369
+ }
4370
+
4367
4371
  interface ResponseUserSessions {
4368
4372
  code: ABTNodeClient.StatusCode;
4369
4373
  list: ABTNodeClient.UserSession[];
@@ -4508,6 +4512,13 @@ declare namespace ABTNodeClient {
4508
4512
  failed: number;
4509
4513
  }
4510
4514
 
4515
+ interface TUTM {
4516
+ source: string;
4517
+ medium: string;
4518
+ campaign: string;
4519
+ content: string;
4520
+ }
4521
+
4511
4522
  interface Tag {
4512
4523
  id: number;
4513
4524
  title: string;
@@ -4933,15 +4944,15 @@ declare namespace ABTNodeClient {
4933
4944
  }
4934
4945
 
4935
4946
  interface GetUserFollowersParams {
4936
- input: ABTNodeClient.RequestUserFollowsInput;
4947
+ input: ABTNodeClient.RequestUserRelationQueryInput;
4937
4948
  }
4938
4949
 
4939
4950
  interface GetUserFollowingParams {
4940
- input: ABTNodeClient.RequestUserFollowsInput;
4951
+ input: ABTNodeClient.RequestUserRelationQueryInput;
4941
4952
  }
4942
4953
 
4943
4954
  interface GetUserFollowStatsParams {
4944
- input: ABTNodeClient.RequestUserFollowsStatsInput;
4955
+ input: ABTNodeClient.RequestUserRelationCountInput;
4945
4956
  }
4946
4957
 
4947
4958
  interface CheckFollowingParams {
@@ -4956,6 +4967,10 @@ declare namespace ABTNodeClient {
4956
4967
  input: ABTNodeClient.RequestFollowUserActionInput;
4957
4968
  }
4958
4969
 
4970
+ interface GetUserInvitesParams {
4971
+ input: ABTNodeClient.RequestUserRelationQueryInput;
4972
+ }
4973
+
4959
4974
  interface GetTagsParams {
4960
4975
  input: ABTNodeClient.RequestTagsInput;
4961
4976
  }