@cognigy/rest-api-client 2026.2.0-rc1 → 2026.3.0

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 (37) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/README.md +0 -15
  3. package/build/apigroups/ResourcesAPIGroup_2_0.js +384 -134
  4. package/build/shared/errors/ErrorCode.js +1 -2
  5. package/build/shared/errors/ErrorCollection.js +0 -1
  6. package/build/shared/interfaces/handover.js +0 -1
  7. package/build/shared/interfaces/resources/IAuditEvent.js +13 -1
  8. package/build/shared/interfaces/resources/TResourceType.js +2 -0
  9. package/build/shared/interfaces/user.js +2 -0
  10. package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +384 -134
  11. package/dist/esm/shared/errors/ErrorCode.js +1 -2
  12. package/dist/esm/shared/errors/ErrorCollection.js +0 -1
  13. package/dist/esm/shared/interfaces/handover.js +0 -1
  14. package/dist/esm/shared/interfaces/resources/IAuditEvent.js +13 -1
  15. package/dist/esm/shared/interfaces/resources/TResourceType.js +2 -0
  16. package/dist/esm/shared/interfaces/user.js +2 -0
  17. package/package.json +3 -6
  18. package/types/index.d.ts +44 -425
  19. package/build/apigroups/aiAgentsV2/agent.js +0 -3
  20. package/build/apigroups/aiAgentsV2/agentAPI.js +0 -38
  21. package/build/apigroups/aiAgentsV2/agentPersona.js +0 -3
  22. package/build/apigroups/aiAgentsV2/agentPersonaAPI.js +0 -38
  23. package/build/apigroups/aiAgentsV2/tool.js +0 -3
  24. package/build/apigroups/aiAgentsV2/toolAPI.js +0 -35
  25. package/build/apigroups/aiAgentsV2/toolDescriptor.js +0 -3
  26. package/build/apigroups/aiAgentsV2/toolDescriptorAPI.js +0 -13
  27. package/build/spec/aiAgentV2.spec.js +0 -564
  28. package/dist/esm/apigroups/aiAgentsV2/agent.js +0 -2
  29. package/dist/esm/apigroups/aiAgentsV2/agentAPI.js +0 -24
  30. package/dist/esm/apigroups/aiAgentsV2/agentPersona.js +0 -2
  31. package/dist/esm/apigroups/aiAgentsV2/agentPersonaAPI.js +0 -24
  32. package/dist/esm/apigroups/aiAgentsV2/aiAgentV2API.js +0 -2
  33. package/dist/esm/apigroups/aiAgentsV2/tool.js +0 -2
  34. package/dist/esm/apigroups/aiAgentsV2/toolAPI.js +0 -21
  35. package/dist/esm/apigroups/aiAgentsV2/toolDescriptor.js +0 -2
  36. package/dist/esm/apigroups/aiAgentsV2/toolDescriptorAPI.js +0 -9
  37. package/dist/esm/spec/aiAgentV2.spec.js +0 -563
package/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
- # 2026.2.0-rc1
2
- Released: January 29th, 2026
1
+ # 2026.3.0
2
+ Released: February 03rd, 2026
3
3
 
4
- Brings in new resources for Agents, AgentPersonas, Tools and Tool Descriptors for our wip state of AI Agents V2.
4
+ Released state of package up to date with Cognigy.AI v2026.3.0
5
5
 
6
6
  # 2026.1.0
7
7
  Released: January 19th, 2026
package/README.md CHANGED
@@ -5,21 +5,6 @@ Typescript / Javascript library to interaction with the `Cognigy.AI 4` RESTful A
5
5
  npm i @cognigy/rest-api-client
6
6
  ```
7
7
 
8
- # Development
9
- ## Executing e2e tests
10
- In order to execute the e2e tests located in `src/spec/aiAgentV2.spec.ts`, ensure that you have the following two ENV variables defined:
11
-
12
- - **REST_API_CLIENT_E2E_TESTS_API_BASE_URL** - it should point to a Cognigy.AI environments RESTful API, example: `https://api-benni-test.cognigy.dev`
13
- - **REST_API_CLIENT_E2E_TESTS_API_KEY** - it needs to contain a Cognigy.AI RESTful API-key
14
-
15
- You can run the test-suite using the following command:
16
-
17
- ```
18
- REST_API_CLIENT_E2E_TESTS_API_BASE_URL=<your-url> \
19
- REST_API_CLIENT_E2E_TESTS_API_KEY=<your-api-key> \
20
- npm run test:aiAgentsV2
21
- ```
22
-
23
8
  # Usage
24
9
  Once the client has been installed into your Typescript / Javascript project, you have to require the client and create a new instance from it:
25
10