@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/lib/types.js CHANGED
@@ -64,6 +64,7 @@
64
64
  * // checkFollowing,
65
65
  * // followUser,
66
66
  * // unfollowUser,
67
+ * // getUserInvites,
67
68
  * // getTags,
68
69
  * // getAuditLogs,
69
70
  * // getLauncherSession,
@@ -2598,24 +2599,24 @@
2598
2599
  */
2599
2600
 
2600
2601
  /**
2601
- * Structure of ABTNodeClient.RequestUserFollowsInput
2602
+ * Structure of ABTNodeClient.RequestUserRelationCountInput
2602
2603
  *
2603
2604
  * @memberof ABTNodeClient
2604
- * @typedef {object} ABTNodeClient.RequestUserFollowsInput
2605
+ * @typedef {object} ABTNodeClient.RequestUserRelationCountInput
2605
2606
  * @property {string} teamDid
2606
- * @property {string} userDid
2607
- * @property {...ABTNodeClient.PagingInput} paging
2608
- * @property {...ABTNodeClient.UserSortInput} sort
2609
- * @property {...ABTNodeClient.QueryUserFollowOptionsInput} options
2607
+ * @property {Array<...ABTNodeClient.null>} userDids
2610
2608
  */
2611
2609
 
2612
2610
  /**
2613
- * Structure of ABTNodeClient.RequestUserFollowsStatsInput
2611
+ * Structure of ABTNodeClient.RequestUserRelationQueryInput
2614
2612
  *
2615
2613
  * @memberof ABTNodeClient
2616
- * @typedef {object} ABTNodeClient.RequestUserFollowsStatsInput
2614
+ * @typedef {object} ABTNodeClient.RequestUserRelationQueryInput
2617
2615
  * @property {string} teamDid
2618
- * @property {Array<...ABTNodeClient.null>} userDids
2616
+ * @property {string} userDid
2617
+ * @property {...ABTNodeClient.PagingInput} paging
2618
+ * @property {...ABTNodeClient.UserSortInput} sort
2619
+ * @property {...ABTNodeClient.QueryUserFollowOptionsInput} options
2619
2620
  */
2620
2621
 
2621
2622
  /**
@@ -4486,6 +4487,7 @@
4486
4487
  * @property {...ABTNodeClient.NotificationActivity} activity
4487
4488
  * @property {...ABTNodeClient.UserInfo} actorInfo
4488
4489
  * @property {any} options
4490
+ * @property {...ABTNodeClient.TUTM} utm
4489
4491
  */
4490
4492
 
4491
4493
  /**
@@ -4498,6 +4500,7 @@
4498
4500
  * @property {string} link
4499
4501
  * @property {string} name
4500
4502
  * @property {string} title
4503
+ * @property {...ABTNodeClient.TUTM} utm
4501
4504
  */
4502
4505
 
4503
4506
  /**
@@ -4811,10 +4814,11 @@
4811
4814
  * @property {...ABTNodeClient.ResponseUser} destroySelf
4812
4815
  * @property {...ABTNodeClient.ResponseUserFollows} getUserFollowers
4813
4816
  * @property {...ABTNodeClient.ResponseUserFollows} getUserFollowing
4814
- * @property {...ABTNodeClient.ResponseFollowStats} getUserFollowStats
4817
+ * @property {...ABTNodeClient.ResponseUserRelationCount} getUserFollowStats
4815
4818
  * @property {...ABTNodeClient.ResponseCheckFollowing} checkFollowing
4816
4819
  * @property {...ABTNodeClient.GeneralResponse} followUser
4817
4820
  * @property {...ABTNodeClient.GeneralResponse} unfollowUser
4821
+ * @property {...ABTNodeClient.ResponseUsers} getUserInvites
4818
4822
  * @property {...ABTNodeClient.ResponseTags} getTags
4819
4823
  * @property {...ABTNodeClient.ResponseGetAuditLogs} getAuditLogs
4820
4824
  * @property {...ABTNodeClient.ResponseGetLauncherSession} getLauncherSession
@@ -5553,22 +5557,6 @@
5553
5557
  * @property {...ABTNodeClient.Certificate} cert
5554
5558
  */
5555
5559
 
5556
- /**
5557
- * Structure of ABTNodeClient.ResponseFollowStats
5558
- *
5559
- * Checkout the following snippet for the format of ResponseFollowStats:
5560
- * ```json
5561
- {
5562
- "code": "ok"
5563
- }
5564
- * ```
5565
- *
5566
- * @memberof ABTNodeClient
5567
- * @typedef {object} ABTNodeClient.ResponseFollowStats
5568
- * @property {...ABTNodeClient.StatusCode} code
5569
- * @property {any} data
5570
- */
5571
-
5572
5560
  /**
5573
5561
  * Structure of ABTNodeClient.ResponseGateway
5574
5562
  *
@@ -6379,6 +6367,22 @@
6379
6367
  * @property {...ABTNodeClient.Paging} paging
6380
6368
  */
6381
6369
 
6370
+ /**
6371
+ * Structure of ABTNodeClient.ResponseUserRelationCount
6372
+ *
6373
+ * Checkout the following snippet for the format of ResponseUserRelationCount:
6374
+ * ```json
6375
+ {
6376
+ "code": "ok"
6377
+ }
6378
+ * ```
6379
+ *
6380
+ * @memberof ABTNodeClient
6381
+ * @typedef {object} ABTNodeClient.ResponseUserRelationCount
6382
+ * @property {...ABTNodeClient.StatusCode} code
6383
+ * @property {any} data
6384
+ */
6385
+
6382
6386
  /**
6383
6387
  * Structure of ABTNodeClient.ResponseUserSessions
6384
6388
  *
@@ -6606,6 +6610,17 @@
6606
6610
  * @property {number} failed
6607
6611
  */
6608
6612
 
6613
+ /**
6614
+ * Structure of ABTNodeClient.TUTM
6615
+ *
6616
+ * @memberof ABTNodeClient
6617
+ * @typedef {object} ABTNodeClient.TUTM
6618
+ * @property {string} source
6619
+ * @property {string} medium
6620
+ * @property {string} campaign
6621
+ * @property {string} content
6622
+ */
6623
+
6609
6624
  /**
6610
6625
  * Structure of ABTNodeClient.Tag
6611
6626
  *
@@ -7499,7 +7514,7 @@
7499
7514
  *
7500
7515
  * @memberof ABTNodeClient
7501
7516
  * @typedef {object} ABTNodeClient.GetUserFollowersParams
7502
- * @property {...ABTNodeClient.RequestUserFollowsInput} input
7517
+ * @property {...ABTNodeClient.RequestUserRelationQueryInput} input
7503
7518
  */
7504
7519
 
7505
7520
  /**
@@ -7512,7 +7527,7 @@
7512
7527
  *
7513
7528
  * @memberof ABTNodeClient
7514
7529
  * @typedef {object} ABTNodeClient.GetUserFollowingParams
7515
- * @property {...ABTNodeClient.RequestUserFollowsInput} input
7530
+ * @property {...ABTNodeClient.RequestUserRelationQueryInput} input
7516
7531
  */
7517
7532
 
7518
7533
  /**
@@ -7525,7 +7540,7 @@
7525
7540
  *
7526
7541
  * @memberof ABTNodeClient
7527
7542
  * @typedef {object} ABTNodeClient.GetUserFollowStatsParams
7528
- * @property {...ABTNodeClient.RequestUserFollowsStatsInput} input
7543
+ * @property {...ABTNodeClient.RequestUserRelationCountInput} input
7529
7544
  */
7530
7545
 
7531
7546
  /**
@@ -7567,6 +7582,19 @@
7567
7582
  * @property {...ABTNodeClient.RequestFollowUserActionInput} input
7568
7583
  */
7569
7584
 
7585
+ /**
7586
+ * Structure of ABTNodeClient.GetUserInvitesParams
7587
+ *
7588
+ * Checkout the following snippet for the format of GetUserInvitesParams:
7589
+ * ```json
7590
+ {}
7591
+ * ```
7592
+ *
7593
+ * @memberof ABTNodeClient
7594
+ * @typedef {object} ABTNodeClient.GetUserInvitesParams
7595
+ * @property {...ABTNodeClient.RequestUserRelationQueryInput} input
7596
+ */
7597
+
7570
7598
  /**
7571
7599
  * Structure of ABTNodeClient.GetTagsParams
7572
7600
  *
@@ -10206,7 +10234,7 @@
10206
10234
  * @param {ABTNodeClient.GetUserFollowStatsParams} params
10207
10235
  * @function
10208
10236
  * @memberof ABTNodeClient
10209
- * @returns {Promise<ABTNodeClient.ResponseFollowStats>} Checkout {@link ABTNodeClient.ResponseFollowStats} for resolved data format
10237
+ * @returns {Promise<ABTNodeClient.ResponseUserRelationCount>} Checkout {@link ABTNodeClient.ResponseUserRelationCount} for resolved data format
10210
10238
  */
10211
10239
 
10212
10240
  /**
@@ -10239,6 +10267,16 @@
10239
10267
  * @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
10240
10268
  */
10241
10269
 
10270
+ /**
10271
+ * getUserInvites
10272
+ *
10273
+ * @name ABTNodeClient#getUserInvites
10274
+ * @param {ABTNodeClient.GetUserInvitesParams} params
10275
+ * @function
10276
+ * @memberof ABTNodeClient
10277
+ * @returns {Promise<ABTNodeClient.ResponseUsers>} Checkout {@link ABTNodeClient.ResponseUsers} for resolved data format
10278
+ */
10279
+
10242
10280
  /**
10243
10281
  * getTags
10244
10282
  *