@blocklet/server-js 1.16.52-beta-20250928-042319-ff3f0e04 → 1.16.52-beta-20250930-134044-9b691563

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/node.d.ts CHANGED
@@ -393,6 +393,8 @@ declare class ABTNodeClient {
393
393
  createTag(params: PartialDeep<ABTNodeClient.CreateTagParams>): Promise<ABTNodeClient.ResponseTag>;
394
394
  updateTag(params: PartialDeep<ABTNodeClient.UpdateTagParams>): Promise<ABTNodeClient.ResponseTag>;
395
395
  deleteTag(params: PartialDeep<ABTNodeClient.DeleteTagParams>): Promise<ABTNodeClient.ResponseTag>;
396
+ createTagging(params: PartialDeep<ABTNodeClient.CreateTaggingParams>): Promise<ABTNodeClient.ResponseTagging>;
397
+ deleteTagging(params: PartialDeep<ABTNodeClient.DeleteTaggingParams>): Promise<ABTNodeClient.ResponseTagging>;
396
398
  readNotifications(
397
399
  params: PartialDeep<ABTNodeClient.ReadNotificationsParams>
398
400
  ): Promise<ABTNodeClient.ResponseReadNotifications>;
@@ -1936,6 +1938,12 @@ declare namespace ABTNodeClient {
1936
1938
  interface RequestTagInput {
1937
1939
  teamDid: string;
1938
1940
  tag: ABTNodeClient.TagInput;
1941
+ moveTo: number;
1942
+ }
1943
+
1944
+ interface RequestTaggingInput {
1945
+ teamDid: string;
1946
+ tagging: ABTNodeClient.TaggingInput;
1939
1947
  }
1940
1948
 
1941
1949
  interface RequestTagsInput {
@@ -2238,6 +2246,18 @@ declare namespace ABTNodeClient {
2238
2246
  color: string;
2239
2247
  createdAt: number;
2240
2248
  updatedAt: number;
2249
+ slug: string;
2250
+ type: string;
2251
+ componentDid: string;
2252
+ parentId: number;
2253
+ createdBy: string;
2254
+ updatedBy: string;
2255
+ }
2256
+
2257
+ interface TaggingInput {
2258
+ tagId: number;
2259
+ taggableType: string;
2260
+ taggableIds: string[];
2241
2261
  }
2242
2262
 
2243
2263
  interface TeamInput {
@@ -3316,6 +3336,8 @@ declare namespace ABTNodeClient {
3316
3336
  createTag: ABTNodeClient.ResponseTag;
3317
3337
  updateTag: ABTNodeClient.ResponseTag;
3318
3338
  deleteTag: ABTNodeClient.ResponseTag;
3339
+ createTagging: ABTNodeClient.ResponseTagging;
3340
+ deleteTagging: ABTNodeClient.ResponseTagging;
3319
3341
  readNotifications: ABTNodeClient.ResponseReadNotifications;
3320
3342
  unreadNotifications: ABTNodeClient.ResponseReadNotifications;
3321
3343
  addRoutingSite: ABTNodeClient.ResponseRoutingSite;
@@ -4332,6 +4354,11 @@ declare namespace ABTNodeClient {
4332
4354
  tag: ABTNodeClient.Tag;
4333
4355
  }
4334
4356
 
4357
+ interface ResponseTagging {
4358
+ code: ABTNodeClient.StatusCode;
4359
+ tagging: ABTNodeClient.Tagging[];
4360
+ }
4361
+
4335
4362
  interface ResponseTags {
4336
4363
  code: ABTNodeClient.StatusCode;
4337
4364
  tags: ABTNodeClient.Tag[];
@@ -4535,6 +4562,18 @@ declare namespace ABTNodeClient {
4535
4562
  color: string;
4536
4563
  createdAt: number;
4537
4564
  updatedAt: number;
4565
+ slug: string;
4566
+ type: string;
4567
+ componentDid: string;
4568
+ parentId: number;
4569
+ createdBy: string;
4570
+ updatedBy: string;
4571
+ }
4572
+
4573
+ interface Tagging {
4574
+ tagId: number;
4575
+ taggableType: string;
4576
+ taggableIds: string[];
4538
4577
  }
4539
4578
 
4540
4579
  interface TrafficInsight {
@@ -5428,6 +5467,14 @@ declare namespace ABTNodeClient {
5428
5467
  input: ABTNodeClient.RequestTagInput;
5429
5468
  }
5430
5469
 
5470
+ interface CreateTaggingParams {
5471
+ input: ABTNodeClient.RequestTaggingInput;
5472
+ }
5473
+
5474
+ interface DeleteTaggingParams {
5475
+ input: ABTNodeClient.RequestTaggingInput;
5476
+ }
5477
+
5431
5478
  interface ReadNotificationsParams {
5432
5479
  input: ABTNodeClient.RequestReadNotificationsInput;
5433
5480
  }
@@ -9734,6 +9734,47 @@
9734
9734
  "ofType": null
9735
9735
  },
9736
9736
  "defaultValue": null
9737
+ },
9738
+ {
9739
+ "name": "moveTo",
9740
+ "description": null,
9741
+ "type": {
9742
+ "kind": "SCALAR",
9743
+ "name": "Uint32",
9744
+ "ofType": null
9745
+ },
9746
+ "defaultValue": null
9747
+ }
9748
+ ],
9749
+ "interfaces": null,
9750
+ "enumValues": null,
9751
+ "possibleTypes": null
9752
+ },
9753
+ {
9754
+ "kind": "INPUT_OBJECT",
9755
+ "name": "RequestTaggingInput",
9756
+ "description": null,
9757
+ "fields": null,
9758
+ "inputFields": [
9759
+ {
9760
+ "name": "teamDid",
9761
+ "description": null,
9762
+ "type": {
9763
+ "kind": "SCALAR",
9764
+ "name": "String",
9765
+ "ofType": null
9766
+ },
9767
+ "defaultValue": null
9768
+ },
9769
+ {
9770
+ "name": "tagging",
9771
+ "description": null,
9772
+ "type": {
9773
+ "kind": "INPUT_OBJECT",
9774
+ "name": "TaggingInput",
9775
+ "ofType": null
9776
+ },
9777
+ "defaultValue": null
9737
9778
  }
9738
9779
  ],
9739
9780
  "interfaces": null,
@@ -11960,6 +12001,115 @@
11960
12001
  "ofType": null
11961
12002
  },
11962
12003
  "defaultValue": null
12004
+ },
12005
+ {
12006
+ "name": "slug",
12007
+ "description": null,
12008
+ "type": {
12009
+ "kind": "SCALAR",
12010
+ "name": "String",
12011
+ "ofType": null
12012
+ },
12013
+ "defaultValue": null
12014
+ },
12015
+ {
12016
+ "name": "type",
12017
+ "description": null,
12018
+ "type": {
12019
+ "kind": "SCALAR",
12020
+ "name": "String",
12021
+ "ofType": null
12022
+ },
12023
+ "defaultValue": null
12024
+ },
12025
+ {
12026
+ "name": "componentDid",
12027
+ "description": null,
12028
+ "type": {
12029
+ "kind": "SCALAR",
12030
+ "name": "String",
12031
+ "ofType": null
12032
+ },
12033
+ "defaultValue": null
12034
+ },
12035
+ {
12036
+ "name": "parentId",
12037
+ "description": null,
12038
+ "type": {
12039
+ "kind": "SCALAR",
12040
+ "name": "Uint32",
12041
+ "ofType": null
12042
+ },
12043
+ "defaultValue": null
12044
+ },
12045
+ {
12046
+ "name": "createdBy",
12047
+ "description": null,
12048
+ "type": {
12049
+ "kind": "SCALAR",
12050
+ "name": "String",
12051
+ "ofType": null
12052
+ },
12053
+ "defaultValue": null
12054
+ },
12055
+ {
12056
+ "name": "updatedBy",
12057
+ "description": null,
12058
+ "type": {
12059
+ "kind": "SCALAR",
12060
+ "name": "String",
12061
+ "ofType": null
12062
+ },
12063
+ "defaultValue": null
12064
+ }
12065
+ ],
12066
+ "interfaces": null,
12067
+ "enumValues": null,
12068
+ "possibleTypes": null
12069
+ },
12070
+ {
12071
+ "kind": "INPUT_OBJECT",
12072
+ "name": "TaggingInput",
12073
+ "description": null,
12074
+ "fields": null,
12075
+ "inputFields": [
12076
+ {
12077
+ "name": "tagId",
12078
+ "description": null,
12079
+ "type": {
12080
+ "kind": "SCALAR",
12081
+ "name": "Uint32",
12082
+ "ofType": null
12083
+ },
12084
+ "defaultValue": null
12085
+ },
12086
+ {
12087
+ "name": "taggableType",
12088
+ "description": null,
12089
+ "type": {
12090
+ "kind": "SCALAR",
12091
+ "name": "String",
12092
+ "ofType": null
12093
+ },
12094
+ "defaultValue": null
12095
+ },
12096
+ {
12097
+ "name": "taggableIds",
12098
+ "description": null,
12099
+ "type": {
12100
+ "kind": "LIST",
12101
+ "name": null,
12102
+ "ofType": {
12103
+ "kind": "NON_NULL",
12104
+ "name": null,
12105
+ "ofType": {
12106
+ "kind": "SCALAR",
12107
+ "name": "String",
12108
+ "ofType": null
12109
+ }
12110
+ }
12111
+ },
12112
+ "defaultValue": null
11963
12113
  }
11964
12114
  ],
11965
12115
  "interfaces": null,
@@ -29182,6 +29332,49 @@
29182
29332
  "enumValues": null,
29183
29333
  "possibleTypes": null
29184
29334
  },
29335
+ {
29336
+ "kind": "OBJECT",
29337
+ "name": "ResponseTagging",
29338
+ "description": null,
29339
+ "fields": [
29340
+ {
29341
+ "name": "code",
29342
+ "description": null,
29343
+ "args": [],
29344
+ "type": {
29345
+ "kind": "ENUM",
29346
+ "name": "StatusCode",
29347
+ "ofType": null
29348
+ },
29349
+ "isDeprecated": false,
29350
+ "deprecationReason": null
29351
+ },
29352
+ {
29353
+ "name": "tagging",
29354
+ "description": null,
29355
+ "args": [],
29356
+ "type": {
29357
+ "kind": "LIST",
29358
+ "name": null,
29359
+ "ofType": {
29360
+ "kind": "NON_NULL",
29361
+ "name": null,
29362
+ "ofType": {
29363
+ "kind": "OBJECT",
29364
+ "name": "Tagging",
29365
+ "ofType": null
29366
+ }
29367
+ }
29368
+ },
29369
+ "isDeprecated": false,
29370
+ "deprecationReason": null
29371
+ }
29372
+ ],
29373
+ "inputFields": null,
29374
+ "interfaces": [],
29375
+ "enumValues": null,
29376
+ "possibleTypes": null
29377
+ },
29185
29378
  {
29186
29379
  "kind": "OBJECT",
29187
29380
  "name": "ResponseTags",
@@ -30965,6 +31158,133 @@
30965
31158
  },
30966
31159
  "isDeprecated": false,
30967
31160
  "deprecationReason": null
31161
+ },
31162
+ {
31163
+ "name": "slug",
31164
+ "description": null,
31165
+ "args": [],
31166
+ "type": {
31167
+ "kind": "SCALAR",
31168
+ "name": "String",
31169
+ "ofType": null
31170
+ },
31171
+ "isDeprecated": false,
31172
+ "deprecationReason": null
31173
+ },
31174
+ {
31175
+ "name": "type",
31176
+ "description": null,
31177
+ "args": [],
31178
+ "type": {
31179
+ "kind": "SCALAR",
31180
+ "name": "String",
31181
+ "ofType": null
31182
+ },
31183
+ "isDeprecated": false,
31184
+ "deprecationReason": null
31185
+ },
31186
+ {
31187
+ "name": "componentDid",
31188
+ "description": null,
31189
+ "args": [],
31190
+ "type": {
31191
+ "kind": "SCALAR",
31192
+ "name": "String",
31193
+ "ofType": null
31194
+ },
31195
+ "isDeprecated": false,
31196
+ "deprecationReason": null
31197
+ },
31198
+ {
31199
+ "name": "parentId",
31200
+ "description": null,
31201
+ "args": [],
31202
+ "type": {
31203
+ "kind": "SCALAR",
31204
+ "name": "Uint32",
31205
+ "ofType": null
31206
+ },
31207
+ "isDeprecated": false,
31208
+ "deprecationReason": null
31209
+ },
31210
+ {
31211
+ "name": "createdBy",
31212
+ "description": null,
31213
+ "args": [],
31214
+ "type": {
31215
+ "kind": "SCALAR",
31216
+ "name": "String",
31217
+ "ofType": null
31218
+ },
31219
+ "isDeprecated": false,
31220
+ "deprecationReason": null
31221
+ },
31222
+ {
31223
+ "name": "updatedBy",
31224
+ "description": null,
31225
+ "args": [],
31226
+ "type": {
31227
+ "kind": "SCALAR",
31228
+ "name": "String",
31229
+ "ofType": null
31230
+ },
31231
+ "isDeprecated": false,
31232
+ "deprecationReason": null
31233
+ }
31234
+ ],
31235
+ "inputFields": null,
31236
+ "interfaces": [],
31237
+ "enumValues": null,
31238
+ "possibleTypes": null
31239
+ },
31240
+ {
31241
+ "kind": "OBJECT",
31242
+ "name": "Tagging",
31243
+ "description": null,
31244
+ "fields": [
31245
+ {
31246
+ "name": "tagId",
31247
+ "description": null,
31248
+ "args": [],
31249
+ "type": {
31250
+ "kind": "SCALAR",
31251
+ "name": "Uint32",
31252
+ "ofType": null
31253
+ },
31254
+ "isDeprecated": false,
31255
+ "deprecationReason": null
31256
+ },
31257
+ {
31258
+ "name": "taggableType",
31259
+ "description": null,
31260
+ "args": [],
31261
+ "type": {
31262
+ "kind": "SCALAR",
31263
+ "name": "String",
31264
+ "ofType": null
31265
+ },
31266
+ "isDeprecated": false,
31267
+ "deprecationReason": null
31268
+ },
31269
+ {
31270
+ "name": "taggableIds",
31271
+ "description": null,
31272
+ "args": [],
31273
+ "type": {
31274
+ "kind": "LIST",
31275
+ "name": null,
31276
+ "ofType": {
31277
+ "kind": "NON_NULL",
31278
+ "name": null,
31279
+ "ofType": {
31280
+ "kind": "SCALAR",
31281
+ "name": "String",
31282
+ "ofType": null
31283
+ }
31284
+ }
31285
+ },
31286
+ "isDeprecated": false,
31287
+ "deprecationReason": null
30968
31288
  }
30969
31289
  ],
30970
31290
  "inputFields": null,
@@ -36073,6 +36393,52 @@
36073
36393
  "isDeprecated": false,
36074
36394
  "deprecationReason": null
36075
36395
  },
36396
+ {
36397
+ "name": "createTagging",
36398
+ "description": null,
36399
+ "args": [
36400
+ {
36401
+ "name": "input",
36402
+ "description": null,
36403
+ "type": {
36404
+ "kind": "INPUT_OBJECT",
36405
+ "name": "RequestTaggingInput",
36406
+ "ofType": null
36407
+ },
36408
+ "defaultValue": null
36409
+ }
36410
+ ],
36411
+ "type": {
36412
+ "kind": "OBJECT",
36413
+ "name": "ResponseTagging",
36414
+ "ofType": null
36415
+ },
36416
+ "isDeprecated": false,
36417
+ "deprecationReason": null
36418
+ },
36419
+ {
36420
+ "name": "deleteTagging",
36421
+ "description": null,
36422
+ "args": [
36423
+ {
36424
+ "name": "input",
36425
+ "description": null,
36426
+ "type": {
36427
+ "kind": "INPUT_OBJECT",
36428
+ "name": "RequestTaggingInput",
36429
+ "ofType": null
36430
+ },
36431
+ "defaultValue": null
36432
+ }
36433
+ ],
36434
+ "type": {
36435
+ "kind": "OBJECT",
36436
+ "name": "ResponseTagging",
36437
+ "ofType": null
36438
+ },
36439
+ "isDeprecated": false,
36440
+ "deprecationReason": null
36441
+ },
36076
36442
  {
36077
36443
  "name": "readNotifications",
36078
36444
  "description": null,
package/lib/types.js CHANGED
@@ -192,6 +192,8 @@
192
192
  * // createTag,
193
193
  * // updateTag,
194
194
  * // deleteTag,
195
+ * // createTagging,
196
+ * // deleteTagging,
195
197
  * // readNotifications,
196
198
  * // unreadNotifications,
197
199
  * // addRoutingSite,
@@ -2319,6 +2321,16 @@
2319
2321
  * @typedef {object} ABTNodeClient.RequestTagInput
2320
2322
  * @property {string} teamDid
2321
2323
  * @property {...ABTNodeClient.TagInput} tag
2324
+ * @property {number} moveTo
2325
+ */
2326
+
2327
+ /**
2328
+ * Structure of ABTNodeClient.RequestTaggingInput
2329
+ *
2330
+ * @memberof ABTNodeClient
2331
+ * @typedef {object} ABTNodeClient.RequestTaggingInput
2332
+ * @property {string} teamDid
2333
+ * @property {...ABTNodeClient.TaggingInput} tagging
2322
2334
  */
2323
2335
 
2324
2336
  /**
@@ -2805,6 +2817,22 @@
2805
2817
  * @property {string} color
2806
2818
  * @property {number} createdAt
2807
2819
  * @property {number} updatedAt
2820
+ * @property {string} slug
2821
+ * @property {string} type
2822
+ * @property {string} componentDid
2823
+ * @property {number} parentId
2824
+ * @property {string} createdBy
2825
+ * @property {string} updatedBy
2826
+ */
2827
+
2828
+ /**
2829
+ * Structure of ABTNodeClient.TaggingInput
2830
+ *
2831
+ * @memberof ABTNodeClient
2832
+ * @typedef {object} ABTNodeClient.TaggingInput
2833
+ * @property {number} tagId
2834
+ * @property {string} taggableType
2835
+ * @property {Array<...ABTNodeClient.null>} taggableIds
2808
2836
  */
2809
2837
 
2810
2838
  /**
@@ -4315,6 +4343,8 @@
4315
4343
  * @property {...ABTNodeClient.ResponseTag} createTag
4316
4344
  * @property {...ABTNodeClient.ResponseTag} updateTag
4317
4345
  * @property {...ABTNodeClient.ResponseTag} deleteTag
4346
+ * @property {...ABTNodeClient.ResponseTagging} createTagging
4347
+ * @property {...ABTNodeClient.ResponseTagging} deleteTagging
4318
4348
  * @property {...ABTNodeClient.ResponseReadNotifications} readNotifications
4319
4349
  * @property {...ABTNodeClient.ResponseReadNotifications} unreadNotifications
4320
4350
  * @property {...ABTNodeClient.ResponseRoutingSite} addRoutingSite
@@ -6254,7 +6284,12 @@
6254
6284
  "tag": {
6255
6285
  "title": "abc",
6256
6286
  "description": "abc",
6257
- "color": "abc"
6287
+ "color": "abc",
6288
+ "slug": "abc",
6289
+ "type": "abc",
6290
+ "componentDid": "abc",
6291
+ "createdBy": "abc",
6292
+ "updatedBy": "abc"
6258
6293
  }
6259
6294
  }
6260
6295
  * ```
@@ -6265,6 +6300,15 @@
6265
6300
  * @property {...ABTNodeClient.Tag} tag
6266
6301
  */
6267
6302
 
6303
+ /**
6304
+ * Structure of ABTNodeClient.ResponseTagging
6305
+ *
6306
+ * @memberof ABTNodeClient
6307
+ * @typedef {object} ABTNodeClient.ResponseTagging
6308
+ * @property {...ABTNodeClient.StatusCode} code
6309
+ * @property {Array<...ABTNodeClient.null>} tagging
6310
+ */
6311
+
6268
6312
  /**
6269
6313
  * Structure of ABTNodeClient.ResponseTags
6270
6314
  *
@@ -6645,6 +6689,22 @@
6645
6689
  * @property {string} color
6646
6690
  * @property {number} createdAt
6647
6691
  * @property {number} updatedAt
6692
+ * @property {string} slug
6693
+ * @property {string} type
6694
+ * @property {string} componentDid
6695
+ * @property {number} parentId
6696
+ * @property {string} createdBy
6697
+ * @property {string} updatedBy
6698
+ */
6699
+
6700
+ /**
6701
+ * Structure of ABTNodeClient.Tagging
6702
+ *
6703
+ * @memberof ABTNodeClient
6704
+ * @typedef {object} ABTNodeClient.Tagging
6705
+ * @property {number} tagId
6706
+ * @property {string} taggableType
6707
+ * @property {Array<...ABTNodeClient.null>} taggableIds
6648
6708
  */
6649
6709
 
6650
6710
  /**
@@ -9064,6 +9124,32 @@
9064
9124
  * @property {...ABTNodeClient.RequestTagInput} input
9065
9125
  */
9066
9126
 
9127
+ /**
9128
+ * Structure of ABTNodeClient.CreateTaggingParams
9129
+ *
9130
+ * Checkout the following snippet for the format of CreateTaggingParams:
9131
+ * ```json
9132
+ {}
9133
+ * ```
9134
+ *
9135
+ * @memberof ABTNodeClient
9136
+ * @typedef {object} ABTNodeClient.CreateTaggingParams
9137
+ * @property {...ABTNodeClient.RequestTaggingInput} input
9138
+ */
9139
+
9140
+ /**
9141
+ * Structure of ABTNodeClient.DeleteTaggingParams
9142
+ *
9143
+ * Checkout the following snippet for the format of DeleteTaggingParams:
9144
+ * ```json
9145
+ {}
9146
+ * ```
9147
+ *
9148
+ * @memberof ABTNodeClient
9149
+ * @typedef {object} ABTNodeClient.DeleteTaggingParams
9150
+ * @property {...ABTNodeClient.RequestTaggingInput} input
9151
+ */
9152
+
9067
9153
  /**
9068
9154
  * Structure of ABTNodeClient.ReadNotificationsParams
9069
9155
  *
@@ -11419,6 +11505,26 @@
11419
11505
  * @returns {Promise<ABTNodeClient.ResponseTag>} Checkout {@link ABTNodeClient.ResponseTag} for resolved data format
11420
11506
  */
11421
11507
 
11508
+ /**
11509
+ * createTagging
11510
+ *
11511
+ * @name ABTNodeClient#createTagging
11512
+ * @param {ABTNodeClient.CreateTaggingParams} params
11513
+ * @function
11514
+ * @memberof ABTNodeClient
11515
+ * @returns {Promise<ABTNodeClient.ResponseTagging>} Checkout {@link ABTNodeClient.ResponseTagging} for resolved data format
11516
+ */
11517
+
11518
+ /**
11519
+ * deleteTagging
11520
+ *
11521
+ * @name ABTNodeClient#deleteTagging
11522
+ * @param {ABTNodeClient.DeleteTaggingParams} params
11523
+ * @function
11524
+ * @memberof ABTNodeClient
11525
+ * @returns {Promise<ABTNodeClient.ResponseTagging>} Checkout {@link ABTNodeClient.ResponseTagging} for resolved data format
11526
+ */
11527
+
11422
11528
  /**
11423
11529
  * readNotifications
11424
11530
  *