@dotcms/ai 26.8.12-2 → 26.8.14-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.
- package/package.json +1 -1
- package/spec.cjs.js +23 -9
- package/spec.esm.js +23 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcms/ai",
|
|
3
|
-
"version": "26.08.
|
|
3
|
+
"version": "26.08.14-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
|
|
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.",
|
|
@@ -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: {
|
|
@@ -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
|
{
|
|
@@ -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: {
|
|
@@ -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
|
}
|
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
|
|
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.",
|
|
@@ -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: {
|
|
@@ -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
|
{
|
|
@@ -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: {
|
|
@@ -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
|
}
|