@dotcms/ai 26.8.12-1 → 26.8.13-1

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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/spec.cjs.js +55 -41
  3. package/spec.esm.js +55 -41
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/ai",
3
- "version": "26.08.12-01",
3
+ "version": "26.08.13-01",
4
4
  "description": "The dotCMS agentic runtime — run model-written or human-written code safely against a dotCMS instance, with auth and policy owned in one place.",
5
5
  "repository": {
6
6
  "type": "git",
package/spec.cjs.js CHANGED
@@ -238,7 +238,7 @@ var paths = {
238
238
  "Categories"
239
239
  ],
240
240
  summary: "Delete categories by inodes",
241
- description: "Deletes one or more categories and all their children. Accepts a JSON array of category inodes.",
241
+ description: "Deletes one or more categories and all their descendants at every depth. EDIT permission is validated on each selected category and every descendant before anything is deleted; a category that fails validation is skipped whole. Accepts a JSON array of category inodes. Inodes that could not be deleted are reported in the `fails` list of the result with the failure reason (category does not exist, insufficient permissions, or a permission-protected descendant). `successCount` counts the requested inodes that were deleted, while `deletedCount` counts every category actually removed, descendants included.",
242
242
  operationId: "deleteCategories",
243
243
  requestBody: {
244
244
  description: "JSON payload containing a list of the inodes of categories to delete.",
@@ -1747,11 +1747,11 @@ var paths = {
1747
1747
  description: "Sort direction: choose between ascending or descending.",
1748
1748
  schema: {
1749
1749
  type: "string",
1750
+ "default": "ASC",
1750
1751
  "enum": [
1751
1752
  "ASC",
1752
1753
  "DESC"
1753
- ],
1754
- "default": "ASC"
1754
+ ]
1755
1755
  }
1756
1756
  },
1757
1757
  {
@@ -1875,7 +1875,9 @@ var paths = {
1875
1875
  "ARCHIVE",
1876
1876
  "UNARCHIVE",
1877
1877
  "DELETE",
1878
- "DESTROY"
1878
+ "DESTROY",
1879
+ "LOCK",
1880
+ "UNLOCK"
1879
1881
  ]
1880
1882
  },
1881
1883
  _2: {
@@ -2081,7 +2083,9 @@ var paths = {
2081
2083
  "ARCHIVE",
2082
2084
  "UNARCHIVE",
2083
2085
  "DELETE",
2084
- "DESTROY"
2086
+ "DESTROY",
2087
+ "LOCK",
2088
+ "UNLOCK"
2085
2089
  ]
2086
2090
  },
2087
2091
  _2: {
@@ -3254,11 +3258,11 @@ var paths = {
3254
3258
  description: "Column to sort by.",
3255
3259
  schema: {
3256
3260
  type: "string",
3261
+ "default": "name",
3257
3262
  "enum": [
3258
3263
  "name",
3259
3264
  "mod_date"
3260
- ],
3261
- "default": "name"
3265
+ ]
3262
3266
  }
3263
3267
  },
3264
3268
  {
@@ -3267,11 +3271,11 @@ var paths = {
3267
3271
  description: "Sort direction",
3268
3272
  schema: {
3269
3273
  type: "string",
3274
+ "default": "ASC",
3270
3275
  "enum": [
3271
3276
  "ASC",
3272
3277
  "DESC"
3273
- ],
3274
- "default": "ASC"
3278
+ ]
3275
3279
  }
3276
3280
  },
3277
3281
  {
@@ -11007,11 +11011,11 @@ var paths = {
11007
11011
  description: "*Optional.* Case-insensitive parameter indicating how results are to be displayed.\n\nIn listing mode, all associated actions are returned; in editing mode (the default), it returns only the actions accessible to the contentlet's current workflow step.",
11008
11012
  schema: {
11009
11013
  type: "string",
11014
+ "default": "EDITING",
11010
11015
  "enum": [
11011
11016
  "EDITING",
11012
11017
  "LISTING"
11013
- ],
11014
- "default": "EDITING"
11018
+ ]
11015
11019
  }
11016
11020
  }
11017
11021
  ],
@@ -11734,7 +11738,9 @@ var paths = {
11734
11738
  "ARCHIVE",
11735
11739
  "UNARCHIVE",
11736
11740
  "DELETE",
11737
- "DESTROY"
11741
+ "DESTROY",
11742
+ "LOCK",
11743
+ "UNLOCK"
11738
11744
  ]
11739
11745
  }
11740
11746
  }
@@ -11860,7 +11866,9 @@ var paths = {
11860
11866
  "ARCHIVE",
11861
11867
  "UNARCHIVE",
11862
11868
  "DELETE",
11863
- "DESTROY"
11869
+ "DESTROY",
11870
+ "LOCK",
11871
+ "UNLOCK"
11864
11872
  ]
11865
11873
  }
11866
11874
  }
@@ -11992,7 +12000,9 @@ var paths = {
11992
12000
  "ARCHIVE",
11993
12001
  "UNARCHIVE",
11994
12002
  "DELETE",
11995
- "DESTROY"
12003
+ "DESTROY",
12004
+ "LOCK",
12005
+ "UNLOCK"
11996
12006
  ]
11997
12007
  }
11998
12008
  }
@@ -12098,7 +12108,7 @@ var paths = {
12098
12108
  "Workflow"
12099
12109
  ],
12100
12110
  summary: "Modify specific fields on multiple contentlets",
12101
- description: "Assigns values to the specified fields across multiple [contentlets](https://www.dotcms.com/docs/latest/content#Contentlets) simultaneously.\n\nCan use a [Lucene query](https://www.dotcms.com/docs/latest/content-search-syntax#Lucene) in its body to select all resulting content items.\n\nReturns a list of resultant contentlet maps, each with an additional `AUTO_ASSIGN_WORKFLOW` property, which can be referenced by delegate services that handle automatically assigning workflow schemes to content with none.",
12111
+ description: "Assigns values to the specified fields across multiple [contentlets](https://www.dotcms.com/docs/latest/content#Contentlets) simultaneously.\n\nCan use a [Lucene query](https://www.dotcms.com/docs/latest/content-search-syntax#Lucene) in its body to select all resulting content items.\n\nReturns a list of resultant contentlet maps, each with an additional `AUTO_ASSIGN_WORKFLOW` property, which can be referenced by delegate services that handle automatically assigning workflow schemes to content with none.\n\n**`LOCK` and `UNLOCK` are not supported by this endpoint** and are rejected with a `400`. Locking is per-user state on the contentlet's version info rather than a content change, so there is nothing for a merge to apply — accepting the call would lock the contentlet and silently discard the submitted field values. Use `POST` or `PUT /v1/workflow/actions/default/fire/{systemAction}` for those two.",
12102
12112
  operationId: "patchFireMergeSystemAction",
12103
12113
  parameters: [
12104
12114
  {
@@ -13685,6 +13695,15 @@ var paths = {
13685
13695
  hasOnlyBatchActionlet: {
13686
13696
  type: "boolean"
13687
13697
  },
13698
+ hasSaveActionlet: {
13699
+ type: "boolean"
13700
+ },
13701
+ hasDeleteActionlet: {
13702
+ type: "boolean"
13703
+ },
13704
+ hasResetActionlet: {
13705
+ type: "boolean"
13706
+ },
13688
13707
  hasPublishActionlet: {
13689
13708
  type: "boolean"
13690
13709
  },
@@ -13711,15 +13730,6 @@ var paths = {
13711
13730
  },
13712
13731
  hasMoveActionletActionlet: {
13713
13732
  type: "boolean"
13714
- },
13715
- hasSaveActionlet: {
13716
- type: "boolean"
13717
- },
13718
- hasDeleteActionlet: {
13719
- type: "boolean"
13720
- },
13721
- hasResetActionlet: {
13722
- type: "boolean"
13723
13733
  }
13724
13734
  }
13725
13735
  }
@@ -13835,7 +13845,9 @@ var paths = {
13835
13845
  "ARCHIVE",
13836
13846
  "UNARCHIVE",
13837
13847
  "DELETE",
13838
- "DESTROY"
13848
+ "DESTROY",
13849
+ "LOCK",
13850
+ "UNLOCK"
13839
13851
  ]
13840
13852
  },
13841
13853
  workflowAction: {
@@ -13959,6 +13971,15 @@ var paths = {
13959
13971
  hasOnlyBatchActionlet: {
13960
13972
  type: "boolean"
13961
13973
  },
13974
+ hasSaveActionlet: {
13975
+ type: "boolean"
13976
+ },
13977
+ hasDeleteActionlet: {
13978
+ type: "boolean"
13979
+ },
13980
+ hasResetActionlet: {
13981
+ type: "boolean"
13982
+ },
13962
13983
  hasPublishActionlet: {
13963
13984
  type: "boolean"
13964
13985
  },
@@ -13985,15 +14006,6 @@ var paths = {
13985
14006
  },
13986
14007
  hasMoveActionletActionlet: {
13987
14008
  type: "boolean"
13988
- },
13989
- hasSaveActionlet: {
13990
- type: "boolean"
13991
- },
13992
- hasDeleteActionlet: {
13993
- type: "boolean"
13994
- },
13995
- hasResetActionlet: {
13996
- type: "boolean"
13997
14009
  }
13998
14010
  }
13999
14011
  },
@@ -14446,7 +14458,9 @@ var paths = {
14446
14458
  "ARCHIVE",
14447
14459
  "UNARCHIVE",
14448
14460
  "DELETE",
14449
- "DESTROY"
14461
+ "DESTROY",
14462
+ "LOCK",
14463
+ "UNLOCK"
14450
14464
  ]
14451
14465
  }
14452
14466
  }
@@ -14518,11 +14532,11 @@ var paths = {
14518
14532
  description: "Asset version to retrieve. Accepted values: working (default), live.",
14519
14533
  schema: {
14520
14534
  type: "string",
14535
+ "default": "working",
14521
14536
  "enum": [
14522
14537
  "working",
14523
14538
  "live"
14524
- ],
14525
- "default": "working"
14539
+ ]
14526
14540
  },
14527
14541
  example: "working"
14528
14542
  }
@@ -14600,11 +14614,11 @@ var paths = {
14600
14614
  description: "Asset version to retrieve. Accepted values: working (default), live.",
14601
14615
  schema: {
14602
14616
  type: "string",
14617
+ "default": "working",
14603
14618
  "enum": [
14604
14619
  "working",
14605
14620
  "live"
14606
- ],
14607
- "default": "working"
14621
+ ]
14608
14622
  },
14609
14623
  example: "working"
14610
14624
  }
@@ -15707,11 +15721,11 @@ var paths = {
15707
15721
  description: "Export format",
15708
15722
  schema: {
15709
15723
  type: "string",
15724
+ "default": "csv",
15710
15725
  "enum": [
15711
15726
  "csv",
15712
15727
  "json"
15713
- ],
15714
- "default": "csv"
15728
+ ]
15715
15729
  },
15716
15730
  example: "csv"
15717
15731
  },
package/spec.esm.js CHANGED
@@ -236,7 +236,7 @@ var paths = {
236
236
  "Categories"
237
237
  ],
238
238
  summary: "Delete categories by inodes",
239
- description: "Deletes one or more categories and all their children. Accepts a JSON array of category inodes.",
239
+ description: "Deletes one or more categories and all their descendants at every depth. EDIT permission is validated on each selected category and every descendant before anything is deleted; a category that fails validation is skipped whole. Accepts a JSON array of category inodes. Inodes that could not be deleted are reported in the `fails` list of the result with the failure reason (category does not exist, insufficient permissions, or a permission-protected descendant). `successCount` counts the requested inodes that were deleted, while `deletedCount` counts every category actually removed, descendants included.",
240
240
  operationId: "deleteCategories",
241
241
  requestBody: {
242
242
  description: "JSON payload containing a list of the inodes of categories to delete.",
@@ -1745,11 +1745,11 @@ var paths = {
1745
1745
  description: "Sort direction: choose between ascending or descending.",
1746
1746
  schema: {
1747
1747
  type: "string",
1748
+ "default": "ASC",
1748
1749
  "enum": [
1749
1750
  "ASC",
1750
1751
  "DESC"
1751
- ],
1752
- "default": "ASC"
1752
+ ]
1753
1753
  }
1754
1754
  },
1755
1755
  {
@@ -1873,7 +1873,9 @@ var paths = {
1873
1873
  "ARCHIVE",
1874
1874
  "UNARCHIVE",
1875
1875
  "DELETE",
1876
- "DESTROY"
1876
+ "DESTROY",
1877
+ "LOCK",
1878
+ "UNLOCK"
1877
1879
  ]
1878
1880
  },
1879
1881
  _2: {
@@ -2079,7 +2081,9 @@ var paths = {
2079
2081
  "ARCHIVE",
2080
2082
  "UNARCHIVE",
2081
2083
  "DELETE",
2082
- "DESTROY"
2084
+ "DESTROY",
2085
+ "LOCK",
2086
+ "UNLOCK"
2083
2087
  ]
2084
2088
  },
2085
2089
  _2: {
@@ -3252,11 +3256,11 @@ var paths = {
3252
3256
  description: "Column to sort by.",
3253
3257
  schema: {
3254
3258
  type: "string",
3259
+ "default": "name",
3255
3260
  "enum": [
3256
3261
  "name",
3257
3262
  "mod_date"
3258
- ],
3259
- "default": "name"
3263
+ ]
3260
3264
  }
3261
3265
  },
3262
3266
  {
@@ -3265,11 +3269,11 @@ var paths = {
3265
3269
  description: "Sort direction",
3266
3270
  schema: {
3267
3271
  type: "string",
3272
+ "default": "ASC",
3268
3273
  "enum": [
3269
3274
  "ASC",
3270
3275
  "DESC"
3271
- ],
3272
- "default": "ASC"
3276
+ ]
3273
3277
  }
3274
3278
  },
3275
3279
  {
@@ -11005,11 +11009,11 @@ var paths = {
11005
11009
  description: "*Optional.* Case-insensitive parameter indicating how results are to be displayed.\n\nIn listing mode, all associated actions are returned; in editing mode (the default), it returns only the actions accessible to the contentlet's current workflow step.",
11006
11010
  schema: {
11007
11011
  type: "string",
11012
+ "default": "EDITING",
11008
11013
  "enum": [
11009
11014
  "EDITING",
11010
11015
  "LISTING"
11011
- ],
11012
- "default": "EDITING"
11016
+ ]
11013
11017
  }
11014
11018
  }
11015
11019
  ],
@@ -11732,7 +11736,9 @@ var paths = {
11732
11736
  "ARCHIVE",
11733
11737
  "UNARCHIVE",
11734
11738
  "DELETE",
11735
- "DESTROY"
11739
+ "DESTROY",
11740
+ "LOCK",
11741
+ "UNLOCK"
11736
11742
  ]
11737
11743
  }
11738
11744
  }
@@ -11858,7 +11864,9 @@ var paths = {
11858
11864
  "ARCHIVE",
11859
11865
  "UNARCHIVE",
11860
11866
  "DELETE",
11861
- "DESTROY"
11867
+ "DESTROY",
11868
+ "LOCK",
11869
+ "UNLOCK"
11862
11870
  ]
11863
11871
  }
11864
11872
  }
@@ -11990,7 +11998,9 @@ var paths = {
11990
11998
  "ARCHIVE",
11991
11999
  "UNARCHIVE",
11992
12000
  "DELETE",
11993
- "DESTROY"
12001
+ "DESTROY",
12002
+ "LOCK",
12003
+ "UNLOCK"
11994
12004
  ]
11995
12005
  }
11996
12006
  }
@@ -12096,7 +12106,7 @@ var paths = {
12096
12106
  "Workflow"
12097
12107
  ],
12098
12108
  summary: "Modify specific fields on multiple contentlets",
12099
- description: "Assigns values to the specified fields across multiple [contentlets](https://www.dotcms.com/docs/latest/content#Contentlets) simultaneously.\n\nCan use a [Lucene query](https://www.dotcms.com/docs/latest/content-search-syntax#Lucene) in its body to select all resulting content items.\n\nReturns a list of resultant contentlet maps, each with an additional `AUTO_ASSIGN_WORKFLOW` property, which can be referenced by delegate services that handle automatically assigning workflow schemes to content with none.",
12109
+ description: "Assigns values to the specified fields across multiple [contentlets](https://www.dotcms.com/docs/latest/content#Contentlets) simultaneously.\n\nCan use a [Lucene query](https://www.dotcms.com/docs/latest/content-search-syntax#Lucene) in its body to select all resulting content items.\n\nReturns a list of resultant contentlet maps, each with an additional `AUTO_ASSIGN_WORKFLOW` property, which can be referenced by delegate services that handle automatically assigning workflow schemes to content with none.\n\n**`LOCK` and `UNLOCK` are not supported by this endpoint** and are rejected with a `400`. Locking is per-user state on the contentlet's version info rather than a content change, so there is nothing for a merge to apply — accepting the call would lock the contentlet and silently discard the submitted field values. Use `POST` or `PUT /v1/workflow/actions/default/fire/{systemAction}` for those two.",
12100
12110
  operationId: "patchFireMergeSystemAction",
12101
12111
  parameters: [
12102
12112
  {
@@ -13683,6 +13693,15 @@ var paths = {
13683
13693
  hasOnlyBatchActionlet: {
13684
13694
  type: "boolean"
13685
13695
  },
13696
+ hasSaveActionlet: {
13697
+ type: "boolean"
13698
+ },
13699
+ hasDeleteActionlet: {
13700
+ type: "boolean"
13701
+ },
13702
+ hasResetActionlet: {
13703
+ type: "boolean"
13704
+ },
13686
13705
  hasPublishActionlet: {
13687
13706
  type: "boolean"
13688
13707
  },
@@ -13709,15 +13728,6 @@ var paths = {
13709
13728
  },
13710
13729
  hasMoveActionletActionlet: {
13711
13730
  type: "boolean"
13712
- },
13713
- hasSaveActionlet: {
13714
- type: "boolean"
13715
- },
13716
- hasDeleteActionlet: {
13717
- type: "boolean"
13718
- },
13719
- hasResetActionlet: {
13720
- type: "boolean"
13721
13731
  }
13722
13732
  }
13723
13733
  }
@@ -13833,7 +13843,9 @@ var paths = {
13833
13843
  "ARCHIVE",
13834
13844
  "UNARCHIVE",
13835
13845
  "DELETE",
13836
- "DESTROY"
13846
+ "DESTROY",
13847
+ "LOCK",
13848
+ "UNLOCK"
13837
13849
  ]
13838
13850
  },
13839
13851
  workflowAction: {
@@ -13957,6 +13969,15 @@ var paths = {
13957
13969
  hasOnlyBatchActionlet: {
13958
13970
  type: "boolean"
13959
13971
  },
13972
+ hasSaveActionlet: {
13973
+ type: "boolean"
13974
+ },
13975
+ hasDeleteActionlet: {
13976
+ type: "boolean"
13977
+ },
13978
+ hasResetActionlet: {
13979
+ type: "boolean"
13980
+ },
13960
13981
  hasPublishActionlet: {
13961
13982
  type: "boolean"
13962
13983
  },
@@ -13983,15 +14004,6 @@ var paths = {
13983
14004
  },
13984
14005
  hasMoveActionletActionlet: {
13985
14006
  type: "boolean"
13986
- },
13987
- hasSaveActionlet: {
13988
- type: "boolean"
13989
- },
13990
- hasDeleteActionlet: {
13991
- type: "boolean"
13992
- },
13993
- hasResetActionlet: {
13994
- type: "boolean"
13995
14007
  }
13996
14008
  }
13997
14009
  },
@@ -14444,7 +14456,9 @@ var paths = {
14444
14456
  "ARCHIVE",
14445
14457
  "UNARCHIVE",
14446
14458
  "DELETE",
14447
- "DESTROY"
14459
+ "DESTROY",
14460
+ "LOCK",
14461
+ "UNLOCK"
14448
14462
  ]
14449
14463
  }
14450
14464
  }
@@ -14516,11 +14530,11 @@ var paths = {
14516
14530
  description: "Asset version to retrieve. Accepted values: working (default), live.",
14517
14531
  schema: {
14518
14532
  type: "string",
14533
+ "default": "working",
14519
14534
  "enum": [
14520
14535
  "working",
14521
14536
  "live"
14522
- ],
14523
- "default": "working"
14537
+ ]
14524
14538
  },
14525
14539
  example: "working"
14526
14540
  }
@@ -14598,11 +14612,11 @@ var paths = {
14598
14612
  description: "Asset version to retrieve. Accepted values: working (default), live.",
14599
14613
  schema: {
14600
14614
  type: "string",
14615
+ "default": "working",
14601
14616
  "enum": [
14602
14617
  "working",
14603
14618
  "live"
14604
- ],
14605
- "default": "working"
14619
+ ]
14606
14620
  },
14607
14621
  example: "working"
14608
14622
  }
@@ -15705,11 +15719,11 @@ var paths = {
15705
15719
  description: "Export format",
15706
15720
  schema: {
15707
15721
  type: "string",
15722
+ "default": "csv",
15708
15723
  "enum": [
15709
15724
  "csv",
15710
15725
  "json"
15711
- ],
15712
- "default": "csv"
15726
+ ]
15713
15727
  },
15714
15728
  example: "csv"
15715
15729
  },