@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.
- package/CHANGELOG.md +3 -3
- package/README.md +0 -15
- package/build/apigroups/ResourcesAPIGroup_2_0.js +384 -134
- package/build/shared/errors/ErrorCode.js +1 -2
- package/build/shared/errors/ErrorCollection.js +0 -1
- package/build/shared/interfaces/handover.js +0 -1
- package/build/shared/interfaces/resources/IAuditEvent.js +13 -1
- package/build/shared/interfaces/resources/TResourceType.js +2 -0
- package/build/shared/interfaces/user.js +2 -0
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +384 -134
- package/dist/esm/shared/errors/ErrorCode.js +1 -2
- package/dist/esm/shared/errors/ErrorCollection.js +0 -1
- package/dist/esm/shared/interfaces/handover.js +0 -1
- package/dist/esm/shared/interfaces/resources/IAuditEvent.js +13 -1
- package/dist/esm/shared/interfaces/resources/TResourceType.js +2 -0
- package/dist/esm/shared/interfaces/user.js +2 -0
- package/package.json +3 -6
- package/types/index.d.ts +44 -425
- package/build/apigroups/aiAgentsV2/agent.js +0 -3
- package/build/apigroups/aiAgentsV2/agentAPI.js +0 -38
- package/build/apigroups/aiAgentsV2/agentPersona.js +0 -3
- package/build/apigroups/aiAgentsV2/agentPersonaAPI.js +0 -38
- package/build/apigroups/aiAgentsV2/tool.js +0 -3
- package/build/apigroups/aiAgentsV2/toolAPI.js +0 -35
- package/build/apigroups/aiAgentsV2/toolDescriptor.js +0 -3
- package/build/apigroups/aiAgentsV2/toolDescriptorAPI.js +0 -13
- package/build/spec/aiAgentV2.spec.js +0 -564
- package/dist/esm/apigroups/aiAgentsV2/agent.js +0 -2
- package/dist/esm/apigroups/aiAgentsV2/agentAPI.js +0 -24
- package/dist/esm/apigroups/aiAgentsV2/agentPersona.js +0 -2
- package/dist/esm/apigroups/aiAgentsV2/agentPersonaAPI.js +0 -24
- package/dist/esm/apigroups/aiAgentsV2/aiAgentV2API.js +0 -2
- package/dist/esm/apigroups/aiAgentsV2/tool.js +0 -2
- package/dist/esm/apigroups/aiAgentsV2/toolAPI.js +0 -21
- package/dist/esm/apigroups/aiAgentsV2/toolDescriptor.js +0 -2
- package/dist/esm/apigroups/aiAgentsV2/toolDescriptorAPI.js +0 -9
- package/dist/esm/spec/aiAgentV2.spec.js +0 -563
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# 2026.
|
|
2
|
-
Released:
|
|
1
|
+
# 2026.3.0
|
|
2
|
+
Released: February 03rd, 2026
|
|
3
3
|
|
|
4
|
-
|
|
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
|
|