@dotcms/ai 26.9.2-1 → 26.9.3-1-next.2632

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 +11 -2
  3. package/spec.esm.js +11 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/ai",
3
- "version": "26.09.02-01",
3
+ "version": "26.9.3-1-next.2632",
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
@@ -7881,7 +7881,7 @@ var paths = {
7881
7881
  },
7882
7882
  "/api/v1/users/filter": {
7883
7883
  get: {
7884
- description: "Returns a list of dotCMS users based on specified search criteria with pagination support",
7884
+ description: "Returns a list of dotCMS users based on specified search criteria with pagination support. Each item is the user's data map. When `includeRoles=true` is passed, each item additionally carries a `roles` array listing the user's directly assigned roles as `{id, name, roleKey}` objects (`roleKey` may be null for roles created without a key); roles held through the role hierarchy and the user's personal role are not included. Requesting roles requires being a CMS Administrator or having access to both the Roles and Users portlets (403 otherwise). Without the flag the payload is unchanged.",
7885
7885
  operationId: "filterUsers",
7886
7886
  parameters: [
7887
7887
  {
@@ -7972,6 +7972,15 @@ var paths = {
7972
7972
  type: "string"
7973
7973
  }
7974
7974
  }
7975
+ },
7976
+ {
7977
+ description: "When true, each user carries a `roles` array of its directly assigned roles as {id, name, roleKey}; inherited roles and the user's personal role are excluded. Requires CMS Administrator or Roles+Users portlet access (403 otherwise). Defaults to false (payload unchanged)",
7978
+ "in": "query",
7979
+ name: "includeRoles",
7980
+ schema: {
7981
+ type: "boolean",
7982
+ "default": false
7983
+ }
7975
7984
  }
7976
7985
  ],
7977
7986
  responses: {
@@ -8004,7 +8013,7 @@ var paths = {
8004
8013
  "application/json": {
8005
8014
  }
8006
8015
  },
8007
- description: "Forbidden - insufficient permissions"
8016
+ description: "Forbidden - insufficient permissions, or includeRoles=true requested without CMS Administrator / Roles+Users portlet access"
8008
8017
  }
8009
8018
  },
8010
8019
  summary: "Filter users",
package/spec.esm.js CHANGED
@@ -7879,7 +7879,7 @@ var paths = {
7879
7879
  },
7880
7880
  "/api/v1/users/filter": {
7881
7881
  get: {
7882
- description: "Returns a list of dotCMS users based on specified search criteria with pagination support",
7882
+ description: "Returns a list of dotCMS users based on specified search criteria with pagination support. Each item is the user's data map. When `includeRoles=true` is passed, each item additionally carries a `roles` array listing the user's directly assigned roles as `{id, name, roleKey}` objects (`roleKey` may be null for roles created without a key); roles held through the role hierarchy and the user's personal role are not included. Requesting roles requires being a CMS Administrator or having access to both the Roles and Users portlets (403 otherwise). Without the flag the payload is unchanged.",
7883
7883
  operationId: "filterUsers",
7884
7884
  parameters: [
7885
7885
  {
@@ -7970,6 +7970,15 @@ var paths = {
7970
7970
  type: "string"
7971
7971
  }
7972
7972
  }
7973
+ },
7974
+ {
7975
+ description: "When true, each user carries a `roles` array of its directly assigned roles as {id, name, roleKey}; inherited roles and the user's personal role are excluded. Requires CMS Administrator or Roles+Users portlet access (403 otherwise). Defaults to false (payload unchanged)",
7976
+ "in": "query",
7977
+ name: "includeRoles",
7978
+ schema: {
7979
+ type: "boolean",
7980
+ "default": false
7981
+ }
7973
7982
  }
7974
7983
  ],
7975
7984
  responses: {
@@ -8002,7 +8011,7 @@ var paths = {
8002
8011
  "application/json": {
8003
8012
  }
8004
8013
  },
8005
- description: "Forbidden - insufficient permissions"
8014
+ description: "Forbidden - insufficient permissions, or includeRoles=true requested without CMS Administrator / Roles+Users portlet access"
8006
8015
  }
8007
8016
  },
8008
8017
  summary: "Filter users",