@cognigy/rest-api-client 2025.13.0 → 2025.14.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 +5 -0
- package/build/apigroups/ResourcesAPIGroup_2_0.js +4 -1
- package/build/apigroups/SimulationAPIGroup_2_0.js +4 -1
- package/build/shared/charts/descriptors/connectionNodes/internalStorageProviders/amazonStorageProviderConnection.js +7 -1
- package/build/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +6 -4
- package/build/shared/charts/descriptors/nlu/generativeSlotFiller/prompt.js +11 -3
- package/build/shared/charts/descriptors/service/GPTPrompt.js +6 -0
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +58 -21
- package/build/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +58 -21
- package/build/shared/interfaces/messageAPI/handover.js +6 -0
- package/build/shared/interfaces/resources/ISimulation.js +9 -0
- package/build/shared/interfaces/resources/TResourceType.js +3 -0
- package/build/shared/interfaces/restAPI/resources/chart/v2.0/IReadFlowChartAiAgentsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/persona/IGeneratePersonaRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/persona/IGetPersonaOptionsRest_2_0.js +3 -0
- package/build/shared/interfaces/restAPI/simulation/persona/IRegeneratePersonaFieldRest_2_0.js +3 -0
- package/build/shared/interfaces/security/IPermission.js +2 -0
- package/build/shared/interfaces/security/IRole.js +2 -0
- package/build/shared/interfaces/security/index.js +1 -1
- package/dist/esm/apigroups/ResourcesAPIGroup_2_0.js +4 -1
- package/dist/esm/apigroups/SimulationAPIGroup_2_0.js +4 -1
- package/dist/esm/shared/charts/descriptors/connectionNodes/internalStorageProviders/amazonStorageProviderConnection.js +7 -1
- package/dist/esm/shared/charts/descriptors/knowledgeSearch/searchExtractOutput.js +6 -4
- package/dist/esm/shared/charts/descriptors/nlu/generativeSlotFiller/prompt.js +11 -3
- package/dist/esm/shared/charts/descriptors/service/GPTPrompt.js +6 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +58 -21
- package/dist/esm/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +65 -28
- package/dist/esm/shared/interfaces/messageAPI/handover.js +6 -0
- package/dist/esm/shared/interfaces/resources/ISimulation.js +6 -0
- package/dist/esm/shared/interfaces/resources/TResourceType.js +3 -0
- package/dist/esm/shared/interfaces/restAPI/resources/chart/v2.0/IReadFlowChartAiAgentsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/persona/IGeneratePersonaRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/persona/IGetPersonaOptionsRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/restAPI/simulation/persona/IRegeneratePersonaFieldRest_2_0.js +2 -0
- package/dist/esm/shared/interfaces/security/IPermission.js +2 -0
- package/dist/esm/shared/interfaces/security/IRole.js +2 -0
- package/dist/esm/shared/interfaces/security/index.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +349 -224
|
@@ -118,6 +118,7 @@ export const arrayTSnapshottableResourceType = [
|
|
|
118
118
|
"playbook",
|
|
119
119
|
"slotFiller",
|
|
120
120
|
"snippet",
|
|
121
|
+
"simulation",
|
|
121
122
|
];
|
|
122
123
|
export const arrayTChartableResourceType = ["flow"];
|
|
123
124
|
export const resourceTypes = [...arrayTResourceType];
|
|
@@ -174,6 +175,7 @@ export const packageableResourceTypes = [
|
|
|
174
175
|
"nluconnector",
|
|
175
176
|
"playbook",
|
|
176
177
|
"snippet",
|
|
178
|
+
"simulation",
|
|
177
179
|
];
|
|
178
180
|
export const primaryResourceTypes = [
|
|
179
181
|
"aiAgent",
|
|
@@ -191,6 +193,7 @@ export const primaryResourceTypes = [
|
|
|
191
193
|
"playbook",
|
|
192
194
|
"snippet",
|
|
193
195
|
"handoverProvider",
|
|
196
|
+
"simulation",
|
|
194
197
|
];
|
|
195
198
|
export const pinnableResourceTypes = [
|
|
196
199
|
"project"
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* - userDetails
|
|
15
15
|
* - users
|
|
16
16
|
* - voiceGatewayAccount
|
|
17
|
+
* - opsCenter
|
|
17
18
|
*/
|
|
18
19
|
export const organisationWidePermissions = [
|
|
19
20
|
"analyticsOdata",
|
|
@@ -25,6 +26,7 @@ export const organisationWidePermissions = [
|
|
|
25
26
|
"userDetails",
|
|
26
27
|
"users",
|
|
27
28
|
"voiceGatewayAccount",
|
|
29
|
+
"opsCenter",
|
|
28
30
|
];
|
|
29
31
|
/**
|
|
30
32
|
* @openapi
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
* - userManager
|
|
21
21
|
* - userDetailsViewer
|
|
22
22
|
* - voiceGatewayUser
|
|
23
|
+
* - opsCenterUser
|
|
23
24
|
*/
|
|
24
25
|
export const organisationWideRoles = [
|
|
25
26
|
"admin",
|
|
@@ -37,6 +38,7 @@ export const organisationWideRoles = [
|
|
|
37
38
|
"userManager",
|
|
38
39
|
"userDetailsViewer",
|
|
39
40
|
"voiceGatewayUser",
|
|
41
|
+
"opsCenterUser",
|
|
40
42
|
];
|
|
41
43
|
/**
|
|
42
44
|
* @openapi
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const COMPUTED_ACL_HASH_VERSION = "
|
|
1
|
+
export const COMPUTED_ACL_HASH_VERSION = "v21";
|
|
2
2
|
export { availablePermissions, } from "./IPermission";
|
|
3
3
|
export { organisationWideRoles, projectWideRoles, availableRoles, } from "./IRole";
|
|
4
4
|
export { operations, } from "./IOperation";
|