@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.
@@ -10900,7 +10900,46 @@
10900
10900
  },
10901
10901
  {
10902
10902
  "kind": "INPUT_OBJECT",
10903
- "name": "RequestUserFollowsInput",
10903
+ "name": "RequestUserRelationCountInput",
10904
+ "description": null,
10905
+ "fields": null,
10906
+ "inputFields": [
10907
+ {
10908
+ "name": "teamDid",
10909
+ "description": null,
10910
+ "type": {
10911
+ "kind": "SCALAR",
10912
+ "name": "String",
10913
+ "ofType": null
10914
+ },
10915
+ "defaultValue": null
10916
+ },
10917
+ {
10918
+ "name": "userDids",
10919
+ "description": null,
10920
+ "type": {
10921
+ "kind": "LIST",
10922
+ "name": null,
10923
+ "ofType": {
10924
+ "kind": "NON_NULL",
10925
+ "name": null,
10926
+ "ofType": {
10927
+ "kind": "SCALAR",
10928
+ "name": "String",
10929
+ "ofType": null
10930
+ }
10931
+ }
10932
+ },
10933
+ "defaultValue": null
10934
+ }
10935
+ ],
10936
+ "interfaces": null,
10937
+ "enumValues": null,
10938
+ "possibleTypes": null
10939
+ },
10940
+ {
10941
+ "kind": "INPUT_OBJECT",
10942
+ "name": "RequestUserRelationQueryInput",
10904
10943
  "description": null,
10905
10944
  "fields": null,
10906
10945
  "inputFields": [
@@ -10959,45 +10998,6 @@
10959
10998
  "enumValues": null,
10960
10999
  "possibleTypes": null
10961
11000
  },
10962
- {
10963
- "kind": "INPUT_OBJECT",
10964
- "name": "RequestUserFollowsStatsInput",
10965
- "description": null,
10966
- "fields": null,
10967
- "inputFields": [
10968
- {
10969
- "name": "teamDid",
10970
- "description": null,
10971
- "type": {
10972
- "kind": "SCALAR",
10973
- "name": "String",
10974
- "ofType": null
10975
- },
10976
- "defaultValue": null
10977
- },
10978
- {
10979
- "name": "userDids",
10980
- "description": null,
10981
- "type": {
10982
- "kind": "LIST",
10983
- "name": null,
10984
- "ofType": {
10985
- "kind": "NON_NULL",
10986
- "name": null,
10987
- "ofType": {
10988
- "kind": "SCALAR",
10989
- "name": "String",
10990
- "ofType": null
10991
- }
10992
- }
10993
- },
10994
- "defaultValue": null
10995
- }
10996
- ],
10997
- "interfaces": null,
10998
- "enumValues": null,
10999
- "possibleTypes": null
11000
- },
11001
11001
  {
11002
11002
  "kind": "INPUT_OBJECT",
11003
11003
  "name": "RequestUserSessionsInput",
@@ -22603,6 +22603,18 @@
22603
22603
  },
22604
22604
  "isDeprecated": false,
22605
22605
  "deprecationReason": null
22606
+ },
22607
+ {
22608
+ "name": "utm",
22609
+ "description": null,
22610
+ "args": [],
22611
+ "type": {
22612
+ "kind": "OBJECT",
22613
+ "name": "TUTM",
22614
+ "ofType": null
22615
+ },
22616
+ "isDeprecated": false,
22617
+ "deprecationReason": null
22606
22618
  }
22607
22619
  ],
22608
22620
  "inputFields": null,
@@ -22674,6 +22686,18 @@
22674
22686
  },
22675
22687
  "isDeprecated": false,
22676
22688
  "deprecationReason": null
22689
+ },
22690
+ {
22691
+ "name": "utm",
22692
+ "description": null,
22693
+ "args": [],
22694
+ "type": {
22695
+ "kind": "OBJECT",
22696
+ "name": "TUTM",
22697
+ "ofType": null
22698
+ },
22699
+ "isDeprecated": false,
22700
+ "deprecationReason": null
22677
22701
  }
22678
22702
  ],
22679
22703
  "inputFields": null,
@@ -26648,41 +26672,6 @@
26648
26672
  "enumValues": null,
26649
26673
  "possibleTypes": null
26650
26674
  },
26651
- {
26652
- "kind": "OBJECT",
26653
- "name": "ResponseFollowStats",
26654
- "description": null,
26655
- "fields": [
26656
- {
26657
- "name": "code",
26658
- "description": null,
26659
- "args": [],
26660
- "type": {
26661
- "kind": "ENUM",
26662
- "name": "StatusCode",
26663
- "ofType": null
26664
- },
26665
- "isDeprecated": false,
26666
- "deprecationReason": null
26667
- },
26668
- {
26669
- "name": "data",
26670
- "description": null,
26671
- "args": [],
26672
- "type": {
26673
- "kind": "SCALAR",
26674
- "name": "Any",
26675
- "ofType": null
26676
- },
26677
- "isDeprecated": false,
26678
- "deprecationReason": null
26679
- }
26680
- ],
26681
- "inputFields": null,
26682
- "interfaces": [],
26683
- "enumValues": null,
26684
- "possibleTypes": null
26685
- },
26686
26675
  {
26687
26676
  "kind": "OBJECT",
26688
26677
  "name": "ResponseGateway",
@@ -29418,6 +29407,41 @@
29418
29407
  "enumValues": null,
29419
29408
  "possibleTypes": null
29420
29409
  },
29410
+ {
29411
+ "kind": "OBJECT",
29412
+ "name": "ResponseUserRelationCount",
29413
+ "description": null,
29414
+ "fields": [
29415
+ {
29416
+ "name": "code",
29417
+ "description": null,
29418
+ "args": [],
29419
+ "type": {
29420
+ "kind": "ENUM",
29421
+ "name": "StatusCode",
29422
+ "ofType": null
29423
+ },
29424
+ "isDeprecated": false,
29425
+ "deprecationReason": null
29426
+ },
29427
+ {
29428
+ "name": "data",
29429
+ "description": null,
29430
+ "args": [],
29431
+ "type": {
29432
+ "kind": "SCALAR",
29433
+ "name": "Any",
29434
+ "ofType": null
29435
+ },
29436
+ "isDeprecated": false,
29437
+ "deprecationReason": null
29438
+ }
29439
+ ],
29440
+ "inputFields": null,
29441
+ "interfaces": [],
29442
+ "enumValues": null,
29443
+ "possibleTypes": null
29444
+ },
29421
29445
  {
29422
29446
  "kind": "OBJECT",
29423
29447
  "name": "ResponseUserSessions",
@@ -30735,6 +30759,65 @@
30735
30759
  "enumValues": null,
30736
30760
  "possibleTypes": null
30737
30761
  },
30762
+ {
30763
+ "kind": "OBJECT",
30764
+ "name": "TUTM",
30765
+ "description": null,
30766
+ "fields": [
30767
+ {
30768
+ "name": "source",
30769
+ "description": null,
30770
+ "args": [],
30771
+ "type": {
30772
+ "kind": "SCALAR",
30773
+ "name": "String",
30774
+ "ofType": null
30775
+ },
30776
+ "isDeprecated": false,
30777
+ "deprecationReason": null
30778
+ },
30779
+ {
30780
+ "name": "medium",
30781
+ "description": null,
30782
+ "args": [],
30783
+ "type": {
30784
+ "kind": "SCALAR",
30785
+ "name": "String",
30786
+ "ofType": null
30787
+ },
30788
+ "isDeprecated": false,
30789
+ "deprecationReason": null
30790
+ },
30791
+ {
30792
+ "name": "campaign",
30793
+ "description": null,
30794
+ "args": [],
30795
+ "type": {
30796
+ "kind": "SCALAR",
30797
+ "name": "String",
30798
+ "ofType": null
30799
+ },
30800
+ "isDeprecated": false,
30801
+ "deprecationReason": null
30802
+ },
30803
+ {
30804
+ "name": "content",
30805
+ "description": null,
30806
+ "args": [],
30807
+ "type": {
30808
+ "kind": "SCALAR",
30809
+ "name": "String",
30810
+ "ofType": null
30811
+ },
30812
+ "isDeprecated": false,
30813
+ "deprecationReason": null
30814
+ }
30815
+ ],
30816
+ "inputFields": null,
30817
+ "interfaces": [],
30818
+ "enumValues": null,
30819
+ "possibleTypes": null
30820
+ },
30738
30821
  {
30739
30822
  "kind": "OBJECT",
30740
30823
  "name": "Tag",
@@ -38164,7 +38247,7 @@
38164
38247
  "description": null,
38165
38248
  "type": {
38166
38249
  "kind": "INPUT_OBJECT",
38167
- "name": "RequestUserFollowsInput",
38250
+ "name": "RequestUserRelationQueryInput",
38168
38251
  "ofType": null
38169
38252
  },
38170
38253
  "defaultValue": null
@@ -38187,7 +38270,7 @@
38187
38270
  "description": null,
38188
38271
  "type": {
38189
38272
  "kind": "INPUT_OBJECT",
38190
- "name": "RequestUserFollowsInput",
38273
+ "name": "RequestUserRelationQueryInput",
38191
38274
  "ofType": null
38192
38275
  },
38193
38276
  "defaultValue": null
@@ -38210,7 +38293,7 @@
38210
38293
  "description": null,
38211
38294
  "type": {
38212
38295
  "kind": "INPUT_OBJECT",
38213
- "name": "RequestUserFollowsStatsInput",
38296
+ "name": "RequestUserRelationCountInput",
38214
38297
  "ofType": null
38215
38298
  },
38216
38299
  "defaultValue": null
@@ -38218,7 +38301,7 @@
38218
38301
  ],
38219
38302
  "type": {
38220
38303
  "kind": "OBJECT",
38221
- "name": "ResponseFollowStats",
38304
+ "name": "ResponseUserRelationCount",
38222
38305
  "ofType": null
38223
38306
  },
38224
38307
  "isDeprecated": false,
@@ -38293,6 +38376,29 @@
38293
38376
  "isDeprecated": false,
38294
38377
  "deprecationReason": null
38295
38378
  },
38379
+ {
38380
+ "name": "getUserInvites",
38381
+ "description": null,
38382
+ "args": [
38383
+ {
38384
+ "name": "input",
38385
+ "description": null,
38386
+ "type": {
38387
+ "kind": "INPUT_OBJECT",
38388
+ "name": "RequestUserRelationQueryInput",
38389
+ "ofType": null
38390
+ },
38391
+ "defaultValue": null
38392
+ }
38393
+ ],
38394
+ "type": {
38395
+ "kind": "OBJECT",
38396
+ "name": "ResponseUsers",
38397
+ "ofType": null
38398
+ },
38399
+ "isDeprecated": false,
38400
+ "deprecationReason": null
38401
+ },
38296
38402
  {
38297
38403
  "name": "getTags",
38298
38404
  "description": null,
package/dist/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
  *