@cognigy/rest-api-client 2025.22.0 → 2025.24.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 +10 -0
- package/build/apigroups/SimulationAPIGroup_2_0.js +2 -1
- package/build/shared/charts/descriptors/connectionNodes/generativeAIProviders/azureOpenAIProviderOauth2Connection.js +3 -1
- package/build/shared/charts/descriptors/index.js +2 -0
- package/build/shared/charts/descriptors/nlu/matchPattern.js +1 -0
- package/build/shared/charts/descriptors/service/agentTools/knowledgeTool.js +340 -0
- package/build/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +3 -2
- package/build/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +63 -30
- package/build/shared/charts/descriptors/service/handoverConnections.js +9 -1
- package/build/shared/charts/descriptors/service/index.js +4 -1
- package/build/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +3 -2
- package/build/shared/interfaces/IProfile.js +6 -1
- package/build/shared/interfaces/resources/INodeDescriptorSet.js +11 -1
- package/build/shared/interfaces/resources/TRestChannelType.js +2 -2
- package/build/shared/interfaces/resources/settings/IAgentSettings.js +12 -7
- package/build/shared/interfaces/resources/settings/IPiiDataRedactionSettings.js +142 -0
- package/build/shared/interfaces/resources/settings/index.js +4 -1
- package/build/shared/interfaces/restAPI/resources/project/v2.0/settings/IAgentSettings_2_0.js +104 -0
- package/build/shared/interfaces/restAPI/simulation/persona/IGeneratePersonaFromTranscriptRest_2_0.js +20 -0
- package/dist/esm/apigroups/SimulationAPIGroup_2_0.js +2 -1
- package/dist/esm/shared/charts/descriptors/connectionNodes/generativeAIProviders/azureOpenAIProviderOauth2Connection.js +3 -1
- package/dist/esm/shared/charts/descriptors/index.js +3 -1
- package/dist/esm/shared/charts/descriptors/nlu/matchPattern.js +1 -0
- package/dist/esm/shared/charts/descriptors/service/agentTools/knowledgeTool.js +338 -0
- package/dist/esm/shared/charts/descriptors/service/aiAgent/aiAgentJob.js +3 -2
- package/dist/esm/shared/charts/descriptors/service/aiAgent/helpers/createToolDefinitions.js +61 -29
- package/dist/esm/shared/charts/descriptors/service/handoverConnections.js +8 -0
- package/dist/esm/shared/charts/descriptors/service/index.js +2 -1
- package/dist/esm/shared/charts/descriptors/service/llmPrompt/LLMPromptV2.js +3 -2
- package/dist/esm/shared/interfaces/IProfile.js +5 -0
- package/dist/esm/shared/interfaces/resources/INodeDescriptorSet.js +11 -1
- package/dist/esm/shared/interfaces/resources/TRestChannelType.js +2 -2
- package/dist/esm/shared/interfaces/resources/settings/IAgentSettings.js +16 -11
- package/dist/esm/shared/interfaces/resources/settings/IPiiDataRedactionSettings.js +139 -0
- package/dist/esm/shared/interfaces/resources/settings/index.js +5 -4
- package/dist/esm/shared/interfaces/restAPI/resources/project/v2.0/settings/IAgentSettings_2_0.js +103 -1
- package/dist/esm/shared/interfaces/restAPI/simulation/persona/IGeneratePersonaFromTranscriptRest_2_0.js +19 -0
- package/package.json +1 -1
- package/types/index.d.ts +245 -18
|
@@ -372,7 +372,17 @@ exports.nodeDescriptorSchema = {
|
|
|
372
372
|
properties: {
|
|
373
373
|
_id: { type: "string", format: "mongo-id" },
|
|
374
374
|
type: { type: "string", minLength: 1, maxLength: 200 },
|
|
375
|
-
parentType: {
|
|
375
|
+
parentType: {
|
|
376
|
+
oneOf: [
|
|
377
|
+
{ type: "null" },
|
|
378
|
+
{ type: "string", minLength: 1, maxLength: 200 },
|
|
379
|
+
{
|
|
380
|
+
type: "array",
|
|
381
|
+
items: { type: "string", minLength: 1, maxLength: 200 },
|
|
382
|
+
minItems: 1
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
376
386
|
defaultLabel: {
|
|
377
387
|
oneOf: [
|
|
378
388
|
{ type: "string", minLength: 1, maxLength: 200 },
|
|
@@ -79,11 +79,11 @@ exports.restChannelDisplayNames = [
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
channel: "niceCXOne",
|
|
82
|
-
displayName: "
|
|
82
|
+
displayName: "NiCE CXone"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
channel: "niceCXOneAAH",
|
|
86
|
-
displayName: "
|
|
86
|
+
displayName: "NiCE CXone AAH"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
channel: "zoomContactCenter",
|
|
@@ -7,6 +7,7 @@ const IGenerativeAISettings_1 = require("./IGenerativeAISettings");
|
|
|
7
7
|
const IAudioPreviewSettings_1 = require("./IAudioPreviewSettings");
|
|
8
8
|
const ITranslationSettings_1 = require("./ITranslationSettings");
|
|
9
9
|
const IKnowledgeAISettings_1 = require("./IKnowledgeAISettings");
|
|
10
|
+
const IPiiDataRedactionSettings_1 = require("./IPiiDataRedactionSettings");
|
|
10
11
|
exports.agentSettingsDataSchema = {
|
|
11
12
|
title: "agentSettingsDataSchema",
|
|
12
13
|
type: "object",
|
|
@@ -14,31 +15,35 @@ exports.agentSettingsDataSchema = {
|
|
|
14
15
|
properties: Object.assign(Object.assign({}, ISharedSettings_1.sharedSettingsSchema.properties), { trackDataOnlyInputs: { type: "boolean" }, collectAnalytics: { type: "boolean" }, timezone: { type: "string", format: "timezone" }, useCaseSensitiveIntentMapping: { type: "boolean" }, translationSettings: {
|
|
15
16
|
type: ["object", "null"],
|
|
16
17
|
additionalProperties: false,
|
|
17
|
-
properties: Object.assign({}, ITranslationSettings_1.translationSettingsDataSchema.properties)
|
|
18
|
+
properties: Object.assign({}, ITranslationSettings_1.translationSettingsDataSchema.properties),
|
|
18
19
|
}, audioPreviewSettings: {
|
|
19
20
|
type: ["object", "null"],
|
|
20
21
|
additionalProperties: false,
|
|
21
|
-
properties: Object.assign({}, IAudioPreviewSettings_1.audioPreviewSettingsDataSchema.properties)
|
|
22
|
+
properties: Object.assign({}, IAudioPreviewSettings_1.audioPreviewSettingsDataSchema.properties),
|
|
22
23
|
}, generativeAISettings: {
|
|
23
24
|
type: ["object", "null"],
|
|
24
25
|
additionalProperties: false,
|
|
25
|
-
properties: Object.assign({}, IGenerativeAISettings_1.generativeAISettingsDataSchema.properties)
|
|
26
|
+
properties: Object.assign({}, IGenerativeAISettings_1.generativeAISettingsDataSchema.properties),
|
|
26
27
|
}, currencySettings: {
|
|
27
28
|
type: ["object", "null"],
|
|
28
29
|
additionalProperties: false,
|
|
29
30
|
properties: {
|
|
30
31
|
currency: { type: "string", format: "currency-code" },
|
|
31
|
-
}
|
|
32
|
+
},
|
|
32
33
|
}, knowledgeAISettings: {
|
|
33
34
|
type: ["object", "null"],
|
|
34
35
|
additionalProperties: false,
|
|
35
|
-
properties: Object.assign({}, IKnowledgeAISettings_1.knowledgeAISettingsDataSchema.properties)
|
|
36
|
-
}
|
|
36
|
+
properties: Object.assign({}, IKnowledgeAISettings_1.knowledgeAISettingsDataSchema.properties),
|
|
37
|
+
}, piiDataRedactionSettings: {
|
|
38
|
+
type: ["object", "null"],
|
|
39
|
+
additionalProperties: false,
|
|
40
|
+
properties: Object.assign({}, IPiiDataRedactionSettings_1.piiDataRedactionSettingsSchema.properties),
|
|
41
|
+
} }),
|
|
37
42
|
};
|
|
38
43
|
exports.agentSettingsSchema = {
|
|
39
44
|
title: "agentSettingsSchema",
|
|
40
45
|
type: "object",
|
|
41
46
|
additionalProperties: false,
|
|
42
|
-
properties: Object.assign(Object.assign(Object.assign({}, IEntityMeta_1.entityMetaSchema.properties), exports.agentSettingsDataSchema.properties), { projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } })
|
|
47
|
+
properties: Object.assign(Object.assign(Object.assign({}, IEntityMeta_1.entityMetaSchema.properties), exports.agentSettingsDataSchema.properties), { projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } }),
|
|
43
48
|
};
|
|
44
49
|
//# sourceMappingURL=IAgentSettings.js.map
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.piiDataRedactionSettingsSchema = exports.customPatternSettingsSchema = exports.piiFieldSettingsSchema = exports.EPiiBehaviorType = void 0;
|
|
4
|
+
var EPiiBehaviorType;
|
|
5
|
+
(function (EPiiBehaviorType) {
|
|
6
|
+
EPiiBehaviorType["PREDEFINED_ALIAS"] = "predefined-alias";
|
|
7
|
+
EPiiBehaviorType["CUSTOM_ALIAS"] = "custom-alias";
|
|
8
|
+
})(EPiiBehaviorType = exports.EPiiBehaviorType || (exports.EPiiBehaviorType = {}));
|
|
9
|
+
exports.piiFieldSettingsSchema = {
|
|
10
|
+
title: "piiFieldSettingsSchema",
|
|
11
|
+
type: "object",
|
|
12
|
+
additionalProperties: false,
|
|
13
|
+
required: ["enabled", "name"],
|
|
14
|
+
properties: {
|
|
15
|
+
enabled: { type: "boolean" },
|
|
16
|
+
behavior: {
|
|
17
|
+
oneOf: [
|
|
18
|
+
{
|
|
19
|
+
type: "object",
|
|
20
|
+
additionalProperties: false,
|
|
21
|
+
required: ["type"],
|
|
22
|
+
properties: {
|
|
23
|
+
type: {
|
|
24
|
+
type: "string",
|
|
25
|
+
enum: [EPiiBehaviorType.PREDEFINED_ALIAS],
|
|
26
|
+
},
|
|
27
|
+
customAlias: { type: "null" },
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
type: "object",
|
|
32
|
+
additionalProperties: false,
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
required: ["type", "customAlias"],
|
|
35
|
+
properties: {
|
|
36
|
+
type: {
|
|
37
|
+
type: "string",
|
|
38
|
+
enum: [EPiiBehaviorType.CUSTOM_ALIAS],
|
|
39
|
+
},
|
|
40
|
+
customAlias: {
|
|
41
|
+
type: "string",
|
|
42
|
+
minLength: 3,
|
|
43
|
+
maxLength: 100
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
scope: {
|
|
50
|
+
type: ["object", "null"],
|
|
51
|
+
additionalProperties: false,
|
|
52
|
+
required: ["logs", "analytics"],
|
|
53
|
+
properties: {
|
|
54
|
+
logs: { type: "boolean" },
|
|
55
|
+
analytics: { type: "boolean" },
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
name: { type: "string", minLength: 3, maxLength: 100, pattern: "^[a-zA-Z0-9_\\s]+$" },
|
|
59
|
+
},
|
|
60
|
+
if: {
|
|
61
|
+
properties: {
|
|
62
|
+
enabled: { const: true }
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
then: {
|
|
66
|
+
required: ["enabled", "name", "behavior", "scope"]
|
|
67
|
+
},
|
|
68
|
+
else: {
|
|
69
|
+
required: ["enabled", "name"]
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
exports.customPatternSettingsSchema = {
|
|
73
|
+
title: "customPatternSettingsSchema",
|
|
74
|
+
type: "object",
|
|
75
|
+
additionalProperties: false,
|
|
76
|
+
required: ["name", "regex", "behavior", "scope"],
|
|
77
|
+
properties: {
|
|
78
|
+
regex: {
|
|
79
|
+
type: "string",
|
|
80
|
+
minLength: 1,
|
|
81
|
+
maxLength: 1000
|
|
82
|
+
},
|
|
83
|
+
behavior: {
|
|
84
|
+
type: "object",
|
|
85
|
+
additionalProperties: false,
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
required: ["type", "customAlias"],
|
|
88
|
+
properties: {
|
|
89
|
+
type: {
|
|
90
|
+
type: "string",
|
|
91
|
+
enum: [EPiiBehaviorType.CUSTOM_ALIAS],
|
|
92
|
+
},
|
|
93
|
+
customAlias: {
|
|
94
|
+
type: "string",
|
|
95
|
+
minLength: 3,
|
|
96
|
+
maxLength: 100
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
scope: {
|
|
101
|
+
type: ["object", "null"],
|
|
102
|
+
additionalProperties: false,
|
|
103
|
+
required: ["logs", "analytics"],
|
|
104
|
+
properties: {
|
|
105
|
+
logs: { type: "boolean" },
|
|
106
|
+
analytics: { type: "boolean" },
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
name: {
|
|
110
|
+
type: "string",
|
|
111
|
+
minLength: 3,
|
|
112
|
+
maxLength: 100,
|
|
113
|
+
pattern: "^[a-zA-Z0-9_\\s]+$"
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
exports.piiDataRedactionSettingsSchema = {
|
|
118
|
+
title: "piiDataRedactionSettingsSchema",
|
|
119
|
+
type: "object",
|
|
120
|
+
additionalProperties: false,
|
|
121
|
+
required: [
|
|
122
|
+
"emailAddress",
|
|
123
|
+
"phoneNumber",
|
|
124
|
+
"creditCard",
|
|
125
|
+
"ssn",
|
|
126
|
+
"ipAddressV4",
|
|
127
|
+
"ipAddressV6",
|
|
128
|
+
],
|
|
129
|
+
properties: {
|
|
130
|
+
emailAddress: exports.piiFieldSettingsSchema,
|
|
131
|
+
phoneNumber: exports.piiFieldSettingsSchema,
|
|
132
|
+
creditCard: exports.piiFieldSettingsSchema,
|
|
133
|
+
ssn: exports.piiFieldSettingsSchema,
|
|
134
|
+
ipAddressV4: exports.piiFieldSettingsSchema,
|
|
135
|
+
ipAddressV6: exports.piiFieldSettingsSchema,
|
|
136
|
+
customTypes: {
|
|
137
|
+
type: ["object", "null"],
|
|
138
|
+
additionalProperties: exports.customPatternSettingsSchema
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=IPiiDataRedactionSettings.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fileExtractorOptions = exports.knowledgeAISettingsDataSchema = exports.translationProviders = exports.translationSettingsDataSchema = exports.audioPreviewProviders = exports.audioPreviewSettingsDataSchema = exports.generativeAISettingsDataSchema = exports.sharedSettingsSchema = exports.flowSettingsSchema = exports.flowSettingsDataSchema = exports.flowIntentMappingOrderType = exports.agentSettingsSchema = exports.agentSettingsDataSchema = void 0;
|
|
3
|
+
exports.piiDataRedactionSettingsSchema = exports.EPiiBehaviorType = exports.fileExtractorOptions = exports.knowledgeAISettingsDataSchema = exports.translationProviders = exports.translationSettingsDataSchema = exports.audioPreviewProviders = exports.audioPreviewSettingsDataSchema = exports.generativeAISettingsDataSchema = exports.sharedSettingsSchema = exports.flowSettingsSchema = exports.flowSettingsDataSchema = exports.flowIntentMappingOrderType = exports.agentSettingsSchema = exports.agentSettingsDataSchema = void 0;
|
|
4
4
|
var IAgentSettings_1 = require("./IAgentSettings");
|
|
5
5
|
Object.defineProperty(exports, "agentSettingsDataSchema", { enumerable: true, get: function () { return IAgentSettings_1.agentSettingsDataSchema; } });
|
|
6
6
|
Object.defineProperty(exports, "agentSettingsSchema", { enumerable: true, get: function () { return IAgentSettings_1.agentSettingsSchema; } });
|
|
@@ -21,4 +21,7 @@ Object.defineProperty(exports, "translationProviders", { enumerable: true, get:
|
|
|
21
21
|
var IKnowledgeAISettings_1 = require("./IKnowledgeAISettings");
|
|
22
22
|
Object.defineProperty(exports, "knowledgeAISettingsDataSchema", { enumerable: true, get: function () { return IKnowledgeAISettings_1.knowledgeAISettingsDataSchema; } });
|
|
23
23
|
Object.defineProperty(exports, "fileExtractorOptions", { enumerable: true, get: function () { return IKnowledgeAISettings_1.fileExtractorOptions; } });
|
|
24
|
+
var IPiiDataRedactionSettings_1 = require("./IPiiDataRedactionSettings");
|
|
25
|
+
Object.defineProperty(exports, "EPiiBehaviorType", { enumerable: true, get: function () { return IPiiDataRedactionSettings_1.EPiiBehaviorType; } });
|
|
26
|
+
Object.defineProperty(exports, "piiDataRedactionSettingsSchema", { enumerable: true, get: function () { return IPiiDataRedactionSettings_1.piiDataRedactionSettingsSchema; } });
|
|
24
27
|
//# sourceMappingURL=index.js.map
|
package/build/shared/interfaces/restAPI/resources/project/v2.0/settings/IAgentSettings_2_0.js
CHANGED
|
@@ -1,3 +1,107 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EPiiBehaviorType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @openapi
|
|
6
|
+
*
|
|
7
|
+
* components:
|
|
8
|
+
* schemas:
|
|
9
|
+
* EPiiBehaviorType:
|
|
10
|
+
* type: string
|
|
11
|
+
* description: PII redaction behavior types
|
|
12
|
+
* enum:
|
|
13
|
+
* - predefined-alias
|
|
14
|
+
* - custom-alias
|
|
15
|
+
*
|
|
16
|
+
* IRedactionBehavior:
|
|
17
|
+
* oneOf:
|
|
18
|
+
* - type: object
|
|
19
|
+
* properties:
|
|
20
|
+
* type:
|
|
21
|
+
* type: string
|
|
22
|
+
* enum: [predefined-alias]
|
|
23
|
+
* customAlias:
|
|
24
|
+
* type: string
|
|
25
|
+
* nullable: true
|
|
26
|
+
* required: [type, customAlias]
|
|
27
|
+
* - type: object
|
|
28
|
+
* properties:
|
|
29
|
+
* type:
|
|
30
|
+
* type: string
|
|
31
|
+
* enum: [custom-alias]
|
|
32
|
+
* customAlias:
|
|
33
|
+
* type: string
|
|
34
|
+
* description: Custom alias to replace PII data with
|
|
35
|
+
* required: [type, customAlias]
|
|
36
|
+
*
|
|
37
|
+
* IRedactionScope:
|
|
38
|
+
* type: object
|
|
39
|
+
* properties:
|
|
40
|
+
* logs:
|
|
41
|
+
* type: boolean
|
|
42
|
+
* description: Whether to redact PII in logs
|
|
43
|
+
* analytics:
|
|
44
|
+
* type: boolean
|
|
45
|
+
* description: Whether to redact PII in analytics
|
|
46
|
+
* required: [logs, analytics]
|
|
47
|
+
*
|
|
48
|
+
* IPiiFieldSettings:
|
|
49
|
+
* type: object
|
|
50
|
+
* properties:
|
|
51
|
+
* enabled:
|
|
52
|
+
* type: boolean
|
|
53
|
+
* description: Whether PII redaction is enabled for this field type
|
|
54
|
+
* behavior:
|
|
55
|
+
* $ref: '#/components/schemas/IRedactionBehavior'
|
|
56
|
+
* scope:
|
|
57
|
+
* $ref: '#/components/schemas/IRedactionScope'
|
|
58
|
+
* name:
|
|
59
|
+
* type: string
|
|
60
|
+
* description: Display name for the PII field type
|
|
61
|
+
* required: [enabled, behavior, scope, name]
|
|
62
|
+
*
|
|
63
|
+
* ICustomPatternSettings:
|
|
64
|
+
* type: object
|
|
65
|
+
* properties:
|
|
66
|
+
* behavior:
|
|
67
|
+
* $ref: '#/components/schemas/IRedactionBehavior'
|
|
68
|
+
* scope:
|
|
69
|
+
* $ref: '#/components/schemas/IRedactionScope'
|
|
70
|
+
* name:
|
|
71
|
+
* type: string
|
|
72
|
+
* description: Display name for the custom PII field type
|
|
73
|
+
* regex:
|
|
74
|
+
* type: string
|
|
75
|
+
* description: Regular expression pattern to match custom PII data (RE2 syntax)
|
|
76
|
+
* minLength: 1
|
|
77
|
+
* maxLength: 2000
|
|
78
|
+
* required: [behavior, scope, name, regex]
|
|
79
|
+
*
|
|
80
|
+
* IPiiDataRedactionSettings_2_0:
|
|
81
|
+
* type: object
|
|
82
|
+
* properties:
|
|
83
|
+
* emailAddress:
|
|
84
|
+
* $ref: '#/components/schemas/IPiiFieldSettings'
|
|
85
|
+
* phoneNumber:
|
|
86
|
+
* $ref: '#/components/schemas/IPiiFieldSettings'
|
|
87
|
+
* creditCard:
|
|
88
|
+
* $ref: '#/components/schemas/IPiiFieldSettings'
|
|
89
|
+
* ssn:
|
|
90
|
+
* $ref: '#/components/schemas/IPiiFieldSettings'
|
|
91
|
+
* ipAddressV4:
|
|
92
|
+
* $ref: '#/components/schemas/IPiiFieldSettings'
|
|
93
|
+
* ipAddressV6:
|
|
94
|
+
* $ref: '#/components/schemas/IPiiFieldSettings'
|
|
95
|
+
* customTypes:
|
|
96
|
+
* type: object
|
|
97
|
+
* additionalProperties:
|
|
98
|
+
* $ref: '#/components/schemas/ICustomPatternSettings'
|
|
99
|
+
* description: User-defined custom PII patterns with regex matching
|
|
100
|
+
* required: [emailAddress, phoneNumber, creditCard, ssn, ipAddressV4, ipAddressV6]
|
|
101
|
+
*/
|
|
102
|
+
var EPiiBehaviorType;
|
|
103
|
+
(function (EPiiBehaviorType) {
|
|
104
|
+
EPiiBehaviorType["PREDEFINED_ALIAS"] = "predefined-alias";
|
|
105
|
+
EPiiBehaviorType["CUSTOM_ALIAS"] = "custom-alias";
|
|
106
|
+
})(EPiiBehaviorType = exports.EPiiBehaviorType || (exports.EPiiBehaviorType = {}));
|
|
3
107
|
//# sourceMappingURL=IAgentSettings_2_0.js.map
|
package/build/shared/interfaces/restAPI/simulation/persona/IGeneratePersonaFromTranscriptRest_2_0.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* POST /testing/beta/personas/from-transcript
|
|
4
|
+
*
|
|
5
|
+
* Create a scenario draft by analyzing a conversation transcript. The system uses LLM to extract user intent,
|
|
6
|
+
* conversation goals, and user characteristics from the transcript, then generates an appropriate persona package.
|
|
7
|
+
*
|
|
8
|
+
* The endpoint supports:
|
|
9
|
+
* - Fetching transcript via sessionId from analytics service (RPC call)
|
|
10
|
+
* - Direct transcript content via transcriptContent
|
|
11
|
+
* - Optional flow context for enhanced persona generation
|
|
12
|
+
* - Content safety validation (warnings only, non-blocking)
|
|
13
|
+
*
|
|
14
|
+
* Priority: If both sessionId and transcriptContent are provided, sessionId takes precedence.
|
|
15
|
+
*
|
|
16
|
+
* operationId: createScenarioFromTranscript
|
|
17
|
+
* tags: Personas
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
//# sourceMappingURL=IGeneratePersonaFromTranscriptRest_2_0.js.map
|
|
@@ -50,7 +50,8 @@ export function SimulationAPIGroup_2_0(instance) {
|
|
|
50
50
|
getPersonaOptions: (args, options) => GenericAPIFn("/testing/beta/personas/options", "POST", self)(args, options),
|
|
51
51
|
generatePersona: (args, options) => GenericAPIFn("/testing/beta/personas/generate", "POST", self)(args, options),
|
|
52
52
|
regeneratePersonaField: (args, options) => GenericAPIFn("/testing/beta/personas/regenerate-field", "POST", self)(args, options),
|
|
53
|
-
generateBulkPersona: (args, options) => GenericAPIFn("/testing/beta/personas/generate-bulk", "POST", self)(args, options)
|
|
53
|
+
generateBulkPersona: (args, options) => GenericAPIFn("/testing/beta/personas/generate-bulk", "POST", self)(args, options),
|
|
54
|
+
generatePersonaFromTranscript: (args, options) => GenericAPIFn("/testing/beta/personas/from-transcript", "POST", self)(args, options)
|
|
54
55
|
};
|
|
55
56
|
}
|
|
56
57
|
//# sourceMappingURL=SimulationAPIGroup_2_0.js.map
|
|
@@ -5,7 +5,9 @@ export const AZURE_OPEN_AI_OAUTH2_PROVIDER_CONNECTION = {
|
|
|
5
5
|
{ fieldName: "clientId", label: "UI__CONNECTION_EDITOR__FIELD_CLIENT_ID" },
|
|
6
6
|
{ fieldName: "clientSecret", label: "UI__CONNECTION_EDITOR__FIELD_CLIENT_SECRET" },
|
|
7
7
|
{ fieldName: "oauthUrl", label: "UI__CONNECTION_EDITOR__FIELD_OAUTH2_URL" },
|
|
8
|
-
{ fieldName: "scope", label: "UI__CONNECTION_EDITOR__FIELD_SCOPE" }
|
|
8
|
+
{ fieldName: "scope", label: "UI__CONNECTION_EDITOR__FIELD_SCOPE" },
|
|
9
|
+
{ fieldName: "additionalHeaderName", label: "UI__CONNECTION_EDITOR__FIELD_OAUTH2_ADDITIONAL_HEADER_NAME", required: false },
|
|
10
|
+
{ fieldName: "additionalHeaderValue", label: "UI__CONNECTION_EDITOR__FIELD_OAUTH2_ADDITIONAL_HEADER_VALUE", required: false }
|
|
9
11
|
]
|
|
10
12
|
};
|
|
11
13
|
//# sourceMappingURL=azureOpenAIProviderOauth2Connection.js.map
|
|
@@ -11,7 +11,7 @@ import { REGEX_SLOT_FILLER, EXECUTE_COGNIGY_NLU, ADD_LEXICON_KEYPHRASE, FUZZY_SE
|
|
|
11
11
|
import { KNOWLEDGE_SEARCH, KNOWLEDGE_SEARCH_V2, SEARCH_EXTRACT_OUTPUT } from "./knowledgeSearch";
|
|
12
12
|
import { CONTINUOUS_ASR, DTMF, HANG_UP, PLAY, TRANSFER_VOICE, SESSION_SPEECH_PARAMETERS, USER_INPUT_TIMEOUT, SEND_METADATA, BARGE_IN, MUTE_SPEECH_INPUT, } from "./voice";
|
|
13
13
|
import { ACTIVATE_PROFILE, COMPLETE_GOAL, DEACTIVATE_PROFILE, DELETE_PROFILE, MERGE_PROFILE, UPDATE_PROFILE, ADD_MEMORY, BLIND_MODE, OVERWRITE_ANALYTICS, SET_RATING, REQUEST_RATING, TRACK_GOAL, } from "./analytics";
|
|
14
|
-
import { HANDOVER, HANDOVER_V2, CHECK_AGENT_AVAILABILITY, HTTP_REQUEST, HTTP_CONNECTION_BASIC, HTTP_CONNECTION_APIKEYAUTHKEY, HTTP_CONNECTION_APIKEYXKEY, HTTP_CONNECTION_OAUTH2, JWT_SECRET_CONNECTION, TRIGGER_FUNCTION, ON_SCHEDULING_ERROR, ON_SCHEDULED, GPT_PROMPT, LLM_PROMPT_V2, LLM_PROMPT_DEFAULT, LLM_PROMPT_MCP_TOOL, LLM_PROMPT_TOOL, CLOSE_HANDOVER, HANDOVER_INACTIVITY_TIMER, GPT_CONVERSATION, GPT_CONVERSATION_SUMMARY, LLM_ENTITY_EXTRACT, AI_AGENT_JOB, AI_AGENT_JOB_DEFAULT, AI_AGENT_JOB_TOOL, AI_AGENT_JOB_MCP_TOOL, AI_AGENT_JOB_CALL_MCP_TOOL, AI_AGENT_TOOL_ANSWER, AI_AGENT_HANDOVER, LIVE_AGENT_CONNECTION, RINGCENTRAL_ENGAGE_CONNECTION, CHATWOOT_CONNECTION, EIGHT_BY_EIGHT_CONNECTION, GENESYS_CLOUD_CONNECTION, GENESYS_CLOUD_CONNECTION_OM, LLM_MODERATE, NICECXONEAAH_AUTHENTICATION_CONNECTION, LOAD_AI_AGENT, AIOPS_CENTER_WEBHOOKS_CONNECTION } from "./service";
|
|
14
|
+
import { HANDOVER, HANDOVER_V2, CHECK_AGENT_AVAILABILITY, HTTP_REQUEST, HTTP_CONNECTION_BASIC, HTTP_CONNECTION_APIKEYAUTHKEY, HTTP_CONNECTION_APIKEYXKEY, HTTP_CONNECTION_OAUTH2, JWT_SECRET_CONNECTION, TRIGGER_FUNCTION, ON_SCHEDULING_ERROR, ON_SCHEDULED, GPT_PROMPT, LLM_PROMPT_V2, LLM_PROMPT_DEFAULT, LLM_PROMPT_MCP_TOOL, LLM_PROMPT_TOOL, CLOSE_HANDOVER, HANDOVER_INACTIVITY_TIMER, GPT_CONVERSATION, GPT_CONVERSATION_SUMMARY, LLM_ENTITY_EXTRACT, AI_AGENT_JOB, AI_AGENT_JOB_DEFAULT, AI_AGENT_JOB_TOOL, AI_AGENT_JOB_MCP_TOOL, AI_AGENT_JOB_CALL_MCP_TOOL, AI_AGENT_TOOL_ANSWER, KNOWLEDGE_TOOL, AI_AGENT_HANDOVER, LIVE_AGENT_CONNECTION, RINGCENTRAL_ENGAGE_CONNECTION, CHATWOOT_CONNECTION, EIGHT_BY_EIGHT_CONNECTION, GENESYS_CLOUD_CONNECTION, GENESYS_CLOUD_CONNECTION_OM, LLM_MODERATE, NICECXONEAAH_AUTHENTICATION_CONNECTION, LOAD_AI_AGENT, AIOPS_CENTER_WEBHOOKS_CONNECTION, STORM_CONNECTION, } from "./service";
|
|
15
15
|
import { INIT_APP_SESSION, GET_APP_SESSION_PIN, SET_HTML_APP_STATE, SET_ADAPTIVE_CARD_APP_STATE, } from "./apps";
|
|
16
16
|
import { SET_IFRAME_TILE, SET_HTML_TILE, SEND_TILE_DATA, SET_SECURE_FORMS_TILE, SET_ADAPTIVE_CARD_TILE, SET_AGENT_ASSIST_GRID, NEXT_ACTION_ASSIST, SENTIMENT_ASSIST, TRANSCRIPT_ASSIST, IDENTITY_ASSIST, KNOWLEDGE_ASSIST, } from "./agentAssist";
|
|
17
17
|
import { ASSIST_INFO } from "./liveAgent";
|
|
@@ -146,6 +146,7 @@ if (process.env.DISABLE_FEATURE_TRANSCRIPT_MANAGER !== "true") {
|
|
|
146
146
|
nodes.push(AI_AGENT_JOB_MCP_TOOL);
|
|
147
147
|
nodes.push(AI_AGENT_JOB_CALL_MCP_TOOL);
|
|
148
148
|
nodes.push(AI_AGENT_TOOL_ANSWER);
|
|
149
|
+
nodes.push(KNOWLEDGE_TOOL);
|
|
149
150
|
nodes.push(AI_AGENT_HANDOVER);
|
|
150
151
|
nodes.push(LOAD_AI_AGENT);
|
|
151
152
|
}
|
|
@@ -171,6 +172,7 @@ export const cognigyBasicModule = createExtension({
|
|
|
171
172
|
GENESYS_CLOUD_CONNECTION_OM,
|
|
172
173
|
NICECXONEAAH_AUTHENTICATION_CONNECTION,
|
|
173
174
|
AIOPS_CENTER_WEBHOOKS_CONNECTION,
|
|
175
|
+
STORM_CONNECTION,
|
|
174
176
|
],
|
|
175
177
|
});
|
|
176
178
|
export { cognigyMongoDBModule } from "./connectionNodes/mongoDB";
|