@wildix/wilma-agents-client 1.0.35 → 1.0.38
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/dist-cjs/models/enums.js +11 -2
- package/dist-cjs/schemas/schemas_0.js +13 -16
- package/dist-es/models/enums.js +10 -1
- package/dist-es/schemas/schemas_0.js +11 -14
- package/dist-types/commands/CreateAgentCommand.d.ts +26 -12
- package/dist-types/commands/GetAgentCommand.d.ts +13 -6
- package/dist-types/commands/GetAgentVersionCommand.d.ts +13 -6
- package/dist-types/commands/ListAgentsCommand.d.ts +14 -7
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +2 -2
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +13 -6
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +13 -6
- package/dist-types/commands/UpdateAgentCommand.d.ts +26 -12
- package/dist-types/models/enums.d.ts +35 -4
- package/dist-types/models/models_0.d.ts +37 -19
- package/dist-types/schemas/schemas_0.d.ts +0 -1
- package/package.json +1 -1
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentStatus = exports.AgentWorkflowLayout = exports.AgentWorkflowFailureKind = exports.AgentWorkflowMessageButtonVariant = exports.AgentWorkflowEntryBehavior = exports.AgentVariableType = exports.AgentGuardrailWindow = exports.AgentGuardrailMode = exports.AgentGuardrailErrorMode = exports.AgentGuardrailSensitivity = exports.AgentGuardrailPreset = exports.WebSearchContextSize = exports.AgentTransferVariant = exports.AgentTransferPipelineType = exports.SandboxSize = exports.SandboxNetworkAccess = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentToolPipelineType = exports.ChannelType = exports.ActorType = exports.VoicePronunciationEncoding = exports.AgentVisibility = void 0;
|
|
3
|
+
exports.AgentStatus = exports.AgentWorkflowLayout = exports.AgentWorkflowFailureKind = exports.AgentWorkflowMessageButtonVariant = exports.AgentWorkflowEntryBehavior = exports.AgentVariableType = exports.AgentGuardrailWindow = exports.AgentGuardrailMode = exports.AgentGuardrailErrorMode = exports.AgentGuardrailSensitivity = exports.AgentGuardrailPreset = exports.WebSearchContextSize = exports.AgentTransferVariant = exports.AgentTransferPipelineType = exports.SandboxSize = exports.SandboxNetworkAccess = exports.KnowledgeBaseSearchThreshold = exports.KnowledgeBaseSearchStrategy = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentToolPipelineType = exports.ChannelType = exports.ActorType = exports.VoicePronunciationEncoding = exports.AgentVisibility = void 0;
|
|
4
4
|
exports.AgentVisibility = {
|
|
5
5
|
EXPLICIT: "explicit",
|
|
6
6
|
ORGANIZATION: "organization",
|
|
@@ -19,7 +19,6 @@ exports.ChannelType = {
|
|
|
19
19
|
ASSISTANT: "assistant",
|
|
20
20
|
CHAT: "chat",
|
|
21
21
|
VOICE: "voice",
|
|
22
|
-
WORKFLOW: "workflow",
|
|
23
22
|
};
|
|
24
23
|
exports.AgentToolPipelineType = {
|
|
25
24
|
ASYNC_REQUEST: "async_request",
|
|
@@ -41,6 +40,16 @@ exports.AgentHangupPipelineType = {
|
|
|
41
40
|
REPLY_AND_HANGUP: "reply_and_hangup",
|
|
42
41
|
REPLY_INSTRUCTED_AND_HANGUP: "reply_instructed_and_hangup",
|
|
43
42
|
};
|
|
43
|
+
exports.KnowledgeBaseSearchStrategy = {
|
|
44
|
+
BM25: "bm25",
|
|
45
|
+
HYBRID: "hybrid",
|
|
46
|
+
VECTOR: "vector",
|
|
47
|
+
};
|
|
48
|
+
exports.KnowledgeBaseSearchThreshold = {
|
|
49
|
+
HIGH: "high",
|
|
50
|
+
LOW: "low",
|
|
51
|
+
MEDIUM: "medium",
|
|
52
|
+
};
|
|
44
53
|
exports.SandboxNetworkAccess = {
|
|
45
54
|
ALL: "allow-all",
|
|
46
55
|
ALLOWLIST: "allowlist",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = exports.AgentToolVariableGuidedHandler$ = exports.AgentToolVariableAutoHandler$ = exports.AgentToolVariable$ = exports.AgentToolTagAnnotation$ = exports.AgentToolResultAnnotation$ = exports.AgentToolPipeline$ = exports.AgentToolFieldPredefinedHandler$ = exports.AgentToolFieldGuidedHandler$ = exports.AgentToolField$ = exports.AgentToolCommentAnnotation$ = exports.AgentToolApproval$ = exports.AgentTool$ = exports.AgentSuggestionsCapability$ = exports.AgentSqsEngine$ = exports.AgentSnapshotSandboxOptions$ = exports.AgentSettings$ = exports.AgentKnowledgeBase$ = exports.AgentInfo$ = exports.AgentHangupPipeline$ = exports.AgentHangupCapability$ = exports.AgentHandoverPipeline$ = exports.AgentHandoverCapability$ = exports.AgentGuardrails$ = exports.AgentGuardrailRedactAction$ = exports.AgentGuardrailPresetCheck$ = exports.AgentGuardrailObserveAction$ = exports.AgentGuardrailInput$ = exports.AgentGuardrailEndAction$ = exports.AgentGuardrailCustomCheck$ = exports.AgentGuardrailCheck$ = exports.AgentGuardrailBlockAction$ = exports.AgentDeploymentRoute$ = exports.AgentDelegationCapability$ = exports.AgentDefinitionSnapshot$ = exports.AgentConnectorCapability$ = exports.AgentChannels$ = exports.AgentCallCapability$ = exports.AgentApiKey$ = exports.AgentAiEngine$ = exports.AgentAccess$ = exports.Agent$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ConflictException$ = exports.WilmaAgentsServiceException$ = void 0;
|
|
4
4
|
exports.CreateAgentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantWelcomeSettings$ = exports.AssistantUiSettings$ = exports.AssistantQuickCommand$ = exports.AssistantChannelSettings$ = exports.AgentWorkflowVariablesHandler$ = exports.AgentWorkflowTransition$ = exports.AgentWorkflowStepPosition$ = exports.AgentWorkflowStep$ = exports.AgentWorkflowSettings$ = exports.AgentWorkflowResultHandler$ = exports.AgentWorkflowResultCondition$ = exports.AgentWorkflowPromptCondition$ = exports.AgentWorkflowNested$ = exports.AgentWorkflowMessageVoiceSettings$ = exports.AgentWorkflowMessageHandler$ = exports.AgentWorkflowMessageGeneration$ = exports.AgentWorkflowMessageChatSettings$ = exports.AgentWorkflowMessageChannelsSettings$ = exports.AgentWorkflowMessageButtonReplyHandler$ = exports.AgentWorkflowMessageButtonLinkHandler$ = exports.AgentWorkflowMessageButton$ = exports.AgentWorkflowInvokeHandler$ = exports.AgentWorkflowFallbackCondition$ = exports.AgentWorkflowFailureCondition$ = exports.AgentWorkflowExpressionCondition$ = exports.AgentWorkflowEndHandler$ = exports.AgentWorkflowConversationVoiceSettings$ = exports.AgentWorkflowConversationHandler$ = exports.AgentWorkflowConversationChannelsSettings$ = exports.AgentWorkflowAssignment$ = exports.AgentWorkflowAlwaysCondition$ = exports.AgentWorkflowActionHandler$ = exports.AgentWorkflow$ = exports.AgentWebSearchCapability$ = exports.AgentWebhookEngine$ = exports.AgentWebFetchCapability$ = exports.AgentWaitCapability$ = exports.AgentVersionInfo$ = exports.AgentVersionChange$ = exports.AgentVersion$ = exports.AgentVercelSandboxOptions$ = exports.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = void 0;
|
|
5
|
-
exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.
|
|
6
|
-
exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ =
|
|
5
|
+
exports.AgentGuardrailAction$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTranscriptionSettings$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSpeechSettings$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoicePronunciation$ = exports.VoiceMaxDurationSettings$ = exports.VoiceLanguage$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.VoiceBackgroundSoundSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.ResetAgentDeploymentOutput$ = exports.ResetAgentDeploymentInput$ = exports.PutAgentDeploymentOutput$ = exports.PutAgentDeploymentInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.ListAgentVersionsOutput$ = exports.ListAgentVersionsInput$ = exports.ListAgentsOutput$ = exports.ListAgentsNamesOutput$ = exports.ListAgentsNamesInput$ = exports.ListAgentsInput$ = exports.ListAgentApiKeysOutput$ = exports.ListAgentApiKeysInput$ = exports.GetAgentVersionOutput$ = exports.GetAgentVersionInput$ = exports.GetAgentOutput$ = exports.GetAgentInput$ = exports.GetAgentDeploymentOutput$ = exports.GetAgentDeploymentInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = void 0;
|
|
6
|
+
exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ = void 0;
|
|
7
7
|
const _A = "Agent";
|
|
8
8
|
const _AA = "AgentAccess";
|
|
9
9
|
const _AAE = "AgentAiEngine";
|
|
@@ -201,7 +201,6 @@ const _VTA = "VoiceTerminateAction";
|
|
|
201
201
|
const _VTHA = "VoiceTerminateHangupAction";
|
|
202
202
|
const _VTS = "VoiceTranscriptionSettings";
|
|
203
203
|
const _VTT = "VoiceTransferTarget";
|
|
204
|
-
const _WCS = "WorkflowChannelSettings";
|
|
205
204
|
const _WSUL = "WebSearchUserLocation";
|
|
206
205
|
const _a = "access";
|
|
207
206
|
const _aD = "allowedDomains";
|
|
@@ -357,8 +356,11 @@ const _s = "smithy.ts.sdk.synthetic.wildix.wilma.agents";
|
|
|
357
356
|
const _sC = "speechConfigured";
|
|
358
357
|
const _sI = "skillIds";
|
|
359
358
|
const _sIn = "snapshotId";
|
|
359
|
+
const _sL = "searchLimit";
|
|
360
360
|
const _sM = "startMessage";
|
|
361
|
-
const
|
|
361
|
+
const _sS = "searchStrategy";
|
|
362
|
+
const _sT = "searchThreshold";
|
|
363
|
+
const _sTi = "silenceTimeout";
|
|
362
364
|
const _sV = "skillVersion";
|
|
363
365
|
const _sa = "sandbox";
|
|
364
366
|
const _se = "settings";
|
|
@@ -494,8 +496,8 @@ exports.AgentCallCapability$ = [3, n2, _ACC,
|
|
|
494
496
|
];
|
|
495
497
|
exports.AgentChannels$ = [3, n2, _AC,
|
|
496
498
|
0,
|
|
497
|
-
[_vo, _cha, _as
|
|
498
|
-
[() => exports.VoiceChannelSettings$, () => exports.ChatChannelSettings$, () => exports.AssistantChannelSettings
|
|
499
|
+
[_vo, _cha, _as],
|
|
500
|
+
[() => exports.VoiceChannelSettings$, () => exports.ChatChannelSettings$, () => exports.AssistantChannelSettings$]
|
|
499
501
|
];
|
|
500
502
|
exports.AgentConnectorCapability$ = [3, n2, _ACCg,
|
|
501
503
|
0,
|
|
@@ -589,8 +591,8 @@ exports.AgentInfo$ = [3, n2, _AI,
|
|
|
589
591
|
];
|
|
590
592
|
exports.AgentKnowledgeBase$ = [3, n2, _AKB,
|
|
591
593
|
0,
|
|
592
|
-
[_kBI, _in, _ch, _an],
|
|
593
|
-
[0, 0, 64 | 0, () => AgentToolAnnotationsList]
|
|
594
|
+
[_kBI, _in, _sS, _sT, _sL, _ch, _an],
|
|
595
|
+
[0, 0, 0, 0, 1, 64 | 0, () => AgentToolAnnotationsList]
|
|
594
596
|
];
|
|
595
597
|
exports.AgentSettings$ = [3, n2, _AS,
|
|
596
598
|
0,
|
|
@@ -609,8 +611,8 @@ exports.AgentSqsEngine$ = [3, n2, _ASE,
|
|
|
609
611
|
];
|
|
610
612
|
exports.AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
611
613
|
0,
|
|
612
|
-
[_n, _ch, _an],
|
|
613
|
-
[0, 64 | 0, () => AgentToolAnnotationsList]
|
|
614
|
+
[_n, _in, _ch, _an],
|
|
615
|
+
[0, 0, 64 | 0, () => AgentToolAnnotationsList]
|
|
614
616
|
];
|
|
615
617
|
exports.AgentTool$ = [3, n2, _AT,
|
|
616
618
|
0,
|
|
@@ -1089,7 +1091,7 @@ exports.VoiceCallerMetadataSettings$ = [3, n2, _VCMS,
|
|
|
1089
1091
|
];
|
|
1090
1092
|
exports.VoiceChannelSettings$ = [3, n2, _VCS,
|
|
1091
1093
|
0,
|
|
1092
|
-
[_gr, _bS, _sp, _int,
|
|
1094
|
+
[_gr, _bS, _sp, _int, _sTi, _mD, _eC, _cM],
|
|
1093
1095
|
[0, () => exports.VoiceBackgroundSoundSettings$, () => exports.VoiceSpeechSettings$, () => exports.VoiceInterruptionSettings$, () => exports.VoiceSilenceTimeoutSettings$, () => exports.VoiceMaxDurationSettings$, () => exports.VoiceEndCallSettings$, () => exports.VoiceCallerMetadataSettings$]
|
|
1094
1096
|
];
|
|
1095
1097
|
exports.VoiceEndCallSettings$ = [3, n2, _VECS,
|
|
@@ -1147,11 +1149,6 @@ exports.WebSearchUserLocation$ = [3, n2, _WSUL,
|
|
|
1147
1149
|
[_cou, _reg, _ci, _time],
|
|
1148
1150
|
[0, 0, 0, 0]
|
|
1149
1151
|
];
|
|
1150
|
-
exports.WorkflowChannelSettings$ = [3, n2, _WCS,
|
|
1151
|
-
0,
|
|
1152
|
-
[],
|
|
1153
|
-
[]
|
|
1154
|
-
];
|
|
1155
1152
|
exports.Actor$ = [3, n1, _Ac,
|
|
1156
1153
|
0,
|
|
1157
1154
|
[_t, _i, _n],
|
package/dist-es/models/enums.js
CHANGED
|
@@ -16,7 +16,6 @@ export const ChannelType = {
|
|
|
16
16
|
ASSISTANT: "assistant",
|
|
17
17
|
CHAT: "chat",
|
|
18
18
|
VOICE: "voice",
|
|
19
|
-
WORKFLOW: "workflow",
|
|
20
19
|
};
|
|
21
20
|
export const AgentToolPipelineType = {
|
|
22
21
|
ASYNC_REQUEST: "async_request",
|
|
@@ -38,6 +37,16 @@ export const AgentHangupPipelineType = {
|
|
|
38
37
|
REPLY_AND_HANGUP: "reply_and_hangup",
|
|
39
38
|
REPLY_INSTRUCTED_AND_HANGUP: "reply_instructed_and_hangup",
|
|
40
39
|
};
|
|
40
|
+
export const KnowledgeBaseSearchStrategy = {
|
|
41
|
+
BM25: "bm25",
|
|
42
|
+
HYBRID: "hybrid",
|
|
43
|
+
VECTOR: "vector",
|
|
44
|
+
};
|
|
45
|
+
export const KnowledgeBaseSearchThreshold = {
|
|
46
|
+
HIGH: "high",
|
|
47
|
+
LOW: "low",
|
|
48
|
+
MEDIUM: "medium",
|
|
49
|
+
};
|
|
41
50
|
export const SandboxNetworkAccess = {
|
|
42
51
|
ALL: "allow-all",
|
|
43
52
|
ALLOWLIST: "allowlist",
|
|
@@ -195,7 +195,6 @@ const _VTA = "VoiceTerminateAction";
|
|
|
195
195
|
const _VTHA = "VoiceTerminateHangupAction";
|
|
196
196
|
const _VTS = "VoiceTranscriptionSettings";
|
|
197
197
|
const _VTT = "VoiceTransferTarget";
|
|
198
|
-
const _WCS = "WorkflowChannelSettings";
|
|
199
198
|
const _WSUL = "WebSearchUserLocation";
|
|
200
199
|
const _a = "access";
|
|
201
200
|
const _aD = "allowedDomains";
|
|
@@ -351,8 +350,11 @@ const _s = "smithy.ts.sdk.synthetic.wildix.wilma.agents";
|
|
|
351
350
|
const _sC = "speechConfigured";
|
|
352
351
|
const _sI = "skillIds";
|
|
353
352
|
const _sIn = "snapshotId";
|
|
353
|
+
const _sL = "searchLimit";
|
|
354
354
|
const _sM = "startMessage";
|
|
355
|
-
const
|
|
355
|
+
const _sS = "searchStrategy";
|
|
356
|
+
const _sT = "searchThreshold";
|
|
357
|
+
const _sTi = "silenceTimeout";
|
|
356
358
|
const _sV = "skillVersion";
|
|
357
359
|
const _sa = "sandbox";
|
|
358
360
|
const _se = "settings";
|
|
@@ -488,8 +490,8 @@ export var AgentCallCapability$ = [3, n2, _ACC,
|
|
|
488
490
|
];
|
|
489
491
|
export var AgentChannels$ = [3, n2, _AC,
|
|
490
492
|
0,
|
|
491
|
-
[_vo, _cha, _as
|
|
492
|
-
[() => VoiceChannelSettings$, () => ChatChannelSettings$, () => AssistantChannelSettings
|
|
493
|
+
[_vo, _cha, _as],
|
|
494
|
+
[() => VoiceChannelSettings$, () => ChatChannelSettings$, () => AssistantChannelSettings$]
|
|
493
495
|
];
|
|
494
496
|
export var AgentConnectorCapability$ = [3, n2, _ACCg,
|
|
495
497
|
0,
|
|
@@ -583,8 +585,8 @@ export var AgentInfo$ = [3, n2, _AI,
|
|
|
583
585
|
];
|
|
584
586
|
export var AgentKnowledgeBase$ = [3, n2, _AKB,
|
|
585
587
|
0,
|
|
586
|
-
[_kBI, _in, _ch, _an],
|
|
587
|
-
[0, 0, 64 | 0, () => AgentToolAnnotationsList]
|
|
588
|
+
[_kBI, _in, _sS, _sT, _sL, _ch, _an],
|
|
589
|
+
[0, 0, 0, 0, 1, 64 | 0, () => AgentToolAnnotationsList]
|
|
588
590
|
];
|
|
589
591
|
export var AgentSettings$ = [3, n2, _AS,
|
|
590
592
|
0,
|
|
@@ -603,8 +605,8 @@ export var AgentSqsEngine$ = [3, n2, _ASE,
|
|
|
603
605
|
];
|
|
604
606
|
export var AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
605
607
|
0,
|
|
606
|
-
[_n, _ch, _an],
|
|
607
|
-
[0, 64 | 0, () => AgentToolAnnotationsList]
|
|
608
|
+
[_n, _in, _ch, _an],
|
|
609
|
+
[0, 0, 64 | 0, () => AgentToolAnnotationsList]
|
|
608
610
|
];
|
|
609
611
|
export var AgentTool$ = [3, n2, _AT,
|
|
610
612
|
0,
|
|
@@ -1083,7 +1085,7 @@ export var VoiceCallerMetadataSettings$ = [3, n2, _VCMS,
|
|
|
1083
1085
|
];
|
|
1084
1086
|
export var VoiceChannelSettings$ = [3, n2, _VCS,
|
|
1085
1087
|
0,
|
|
1086
|
-
[_gr, _bS, _sp, _int,
|
|
1088
|
+
[_gr, _bS, _sp, _int, _sTi, _mD, _eC, _cM],
|
|
1087
1089
|
[0, () => VoiceBackgroundSoundSettings$, () => VoiceSpeechSettings$, () => VoiceInterruptionSettings$, () => VoiceSilenceTimeoutSettings$, () => VoiceMaxDurationSettings$, () => VoiceEndCallSettings$, () => VoiceCallerMetadataSettings$]
|
|
1088
1090
|
];
|
|
1089
1091
|
export var VoiceEndCallSettings$ = [3, n2, _VECS,
|
|
@@ -1141,11 +1143,6 @@ export var WebSearchUserLocation$ = [3, n2, _WSUL,
|
|
|
1141
1143
|
[_cou, _reg, _ci, _time],
|
|
1142
1144
|
[0, 0, 0, 0]
|
|
1143
1145
|
];
|
|
1144
|
-
export var WorkflowChannelSettings$ = [3, n2, _WCS,
|
|
1145
|
-
0,
|
|
1146
|
-
[],
|
|
1147
|
-
[]
|
|
1148
|
-
];
|
|
1149
1146
|
export var Actor$ = [3, n1, _Ac,
|
|
1150
1147
|
0,
|
|
1151
1148
|
[_t, _i, _n],
|
|
@@ -134,7 +134,6 @@ declare const CreateAgentCommand_base: {
|
|
|
134
134
|
* placeholder: "STRING_VALUE",
|
|
135
135
|
* },
|
|
136
136
|
* },
|
|
137
|
-
* workflow: {},
|
|
138
137
|
* },
|
|
139
138
|
* engine: { // AgentEngine Union: only one key present
|
|
140
139
|
* ai: { // AgentAiEngine
|
|
@@ -186,7 +185,7 @@ declare const CreateAgentCommand_base: {
|
|
|
186
185
|
* prompt: "STRING_VALUE",
|
|
187
186
|
* },
|
|
188
187
|
* channels: [ // AgentCapabilityChannelsList
|
|
189
|
-
* "voice" || "chat" || "assistant"
|
|
188
|
+
* "voice" || "chat" || "assistant",
|
|
190
189
|
* ],
|
|
191
190
|
* annotations: [ // AgentToolAnnotationsList
|
|
192
191
|
* { // AgentToolAnnotation Union: only one key present
|
|
@@ -216,7 +215,7 @@ declare const CreateAgentCommand_base: {
|
|
|
216
215
|
* prompt: "STRING_VALUE",
|
|
217
216
|
* },
|
|
218
217
|
* channels: [
|
|
219
|
-
* "voice" || "chat" || "assistant"
|
|
218
|
+
* "voice" || "chat" || "assistant",
|
|
220
219
|
* ],
|
|
221
220
|
* annotations: [
|
|
222
221
|
* {// Union: only one key present
|
|
@@ -238,8 +237,11 @@ declare const CreateAgentCommand_base: {
|
|
|
238
237
|
* kb: { // AgentKnowledgeBase
|
|
239
238
|
* knowledgeBaseId: "STRING_VALUE",
|
|
240
239
|
* instructions: "STRING_VALUE",
|
|
240
|
+
* searchStrategy: "bm25" || "vector" || "hybrid",
|
|
241
|
+
* searchThreshold: "low" || "medium" || "high",
|
|
242
|
+
* searchLimit: Number("int"),
|
|
241
243
|
* channels: [
|
|
242
|
-
* "voice" || "chat" || "assistant"
|
|
244
|
+
* "voice" || "chat" || "assistant",
|
|
243
245
|
* ],
|
|
244
246
|
* annotations: [
|
|
245
247
|
* {// Union: only one key present
|
|
@@ -287,7 +289,7 @@ declare const CreateAgentCommand_base: {
|
|
|
287
289
|
* timezone: "STRING_VALUE",
|
|
288
290
|
* },
|
|
289
291
|
* channels: [
|
|
290
|
-
* "voice" || "chat" || "assistant"
|
|
292
|
+
* "voice" || "chat" || "assistant",
|
|
291
293
|
* ],
|
|
292
294
|
* },
|
|
293
295
|
* webFetch: { // AgentWebFetchCapability
|
|
@@ -295,7 +297,7 @@ declare const CreateAgentCommand_base: {
|
|
|
295
297
|
* "STRING_VALUE",
|
|
296
298
|
* ],
|
|
297
299
|
* channels: [
|
|
298
|
-
* "voice" || "chat" || "assistant"
|
|
300
|
+
* "voice" || "chat" || "assistant",
|
|
299
301
|
* ],
|
|
300
302
|
* },
|
|
301
303
|
* agent: { // AgentCallCapability
|
|
@@ -394,6 +396,7 @@ declare const CreateAgentCommand_base: {
|
|
|
394
396
|
* },
|
|
395
397
|
* suggestions: { // AgentSuggestionsCapability
|
|
396
398
|
* name: "STRING_VALUE",
|
|
399
|
+
* instructions: "STRING_VALUE",
|
|
397
400
|
* channels: "<AgentCapabilityChannelsList>",
|
|
398
401
|
* annotations: "<AgentToolAnnotationsList>",
|
|
399
402
|
* },
|
|
@@ -648,6 +651,9 @@ declare const CreateAgentCommand_base: {
|
|
|
648
651
|
* kb: {
|
|
649
652
|
* knowledgeBaseId: "STRING_VALUE",
|
|
650
653
|
* instructions: "STRING_VALUE",
|
|
654
|
+
* searchStrategy: "bm25" || "vector" || "hybrid",
|
|
655
|
+
* searchThreshold: "low" || "medium" || "high",
|
|
656
|
+
* searchLimit: Number("int"),
|
|
651
657
|
* channels: "<AgentCapabilityChannelsList>",
|
|
652
658
|
* annotations: "<AgentToolAnnotationsList>",
|
|
653
659
|
* },
|
|
@@ -685,6 +691,7 @@ declare const CreateAgentCommand_base: {
|
|
|
685
691
|
* transfer: "<AgentTransferCapability>",
|
|
686
692
|
* suggestions: {
|
|
687
693
|
* name: "STRING_VALUE",
|
|
694
|
+
* instructions: "STRING_VALUE",
|
|
688
695
|
* channels: "<AgentCapabilityChannelsList>",
|
|
689
696
|
* annotations: "<AgentToolAnnotationsList>",
|
|
690
697
|
* },
|
|
@@ -981,7 +988,6 @@ declare const CreateAgentCommand_base: {
|
|
|
981
988
|
* // placeholder: "STRING_VALUE",
|
|
982
989
|
* // },
|
|
983
990
|
* // },
|
|
984
|
-
* // workflow: {},
|
|
985
991
|
* // },
|
|
986
992
|
* // engine: { // AgentEngine Union: only one key present
|
|
987
993
|
* // ai: { // AgentAiEngine
|
|
@@ -1033,7 +1039,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1033
1039
|
* // prompt: "STRING_VALUE",
|
|
1034
1040
|
* // },
|
|
1035
1041
|
* // channels: [ // AgentCapabilityChannelsList
|
|
1036
|
-
* // "voice" || "chat" || "assistant"
|
|
1042
|
+
* // "voice" || "chat" || "assistant",
|
|
1037
1043
|
* // ],
|
|
1038
1044
|
* // annotations: [ // AgentToolAnnotationsList
|
|
1039
1045
|
* // { // AgentToolAnnotation Union: only one key present
|
|
@@ -1063,7 +1069,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1063
1069
|
* // prompt: "STRING_VALUE",
|
|
1064
1070
|
* // },
|
|
1065
1071
|
* // channels: [
|
|
1066
|
-
* // "voice" || "chat" || "assistant"
|
|
1072
|
+
* // "voice" || "chat" || "assistant",
|
|
1067
1073
|
* // ],
|
|
1068
1074
|
* // annotations: [
|
|
1069
1075
|
* // {// Union: only one key present
|
|
@@ -1085,8 +1091,11 @@ declare const CreateAgentCommand_base: {
|
|
|
1085
1091
|
* // kb: { // AgentKnowledgeBase
|
|
1086
1092
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
1087
1093
|
* // instructions: "STRING_VALUE",
|
|
1094
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
1095
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
1096
|
+
* // searchLimit: Number("int"),
|
|
1088
1097
|
* // channels: [
|
|
1089
|
-
* // "voice" || "chat" || "assistant"
|
|
1098
|
+
* // "voice" || "chat" || "assistant",
|
|
1090
1099
|
* // ],
|
|
1091
1100
|
* // annotations: [
|
|
1092
1101
|
* // {// Union: only one key present
|
|
@@ -1134,7 +1143,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1134
1143
|
* // timezone: "STRING_VALUE",
|
|
1135
1144
|
* // },
|
|
1136
1145
|
* // channels: [
|
|
1137
|
-
* // "voice" || "chat" || "assistant"
|
|
1146
|
+
* // "voice" || "chat" || "assistant",
|
|
1138
1147
|
* // ],
|
|
1139
1148
|
* // },
|
|
1140
1149
|
* // webFetch: { // AgentWebFetchCapability
|
|
@@ -1142,7 +1151,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1142
1151
|
* // "STRING_VALUE",
|
|
1143
1152
|
* // ],
|
|
1144
1153
|
* // channels: [
|
|
1145
|
-
* // "voice" || "chat" || "assistant"
|
|
1154
|
+
* // "voice" || "chat" || "assistant",
|
|
1146
1155
|
* // ],
|
|
1147
1156
|
* // },
|
|
1148
1157
|
* // agent: { // AgentCallCapability
|
|
@@ -1241,6 +1250,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1241
1250
|
* // },
|
|
1242
1251
|
* // suggestions: { // AgentSuggestionsCapability
|
|
1243
1252
|
* // name: "STRING_VALUE",
|
|
1253
|
+
* // instructions: "STRING_VALUE",
|
|
1244
1254
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
1245
1255
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1246
1256
|
* // },
|
|
@@ -1495,6 +1505,9 @@ declare const CreateAgentCommand_base: {
|
|
|
1495
1505
|
* // kb: {
|
|
1496
1506
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
1497
1507
|
* // instructions: "STRING_VALUE",
|
|
1508
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
1509
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
1510
|
+
* // searchLimit: Number("int"),
|
|
1498
1511
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
1499
1512
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1500
1513
|
* // },
|
|
@@ -1532,6 +1545,7 @@ declare const CreateAgentCommand_base: {
|
|
|
1532
1545
|
* // transfer: "<AgentTransferCapability>",
|
|
1533
1546
|
* // suggestions: {
|
|
1534
1547
|
* // name: "STRING_VALUE",
|
|
1548
|
+
* // instructions: "STRING_VALUE",
|
|
1535
1549
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
1536
1550
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1537
1551
|
* // },
|
|
@@ -141,7 +141,6 @@ declare const GetAgentCommand_base: {
|
|
|
141
141
|
* // placeholder: "STRING_VALUE",
|
|
142
142
|
* // },
|
|
143
143
|
* // },
|
|
144
|
-
* // workflow: {},
|
|
145
144
|
* // },
|
|
146
145
|
* // engine: { // AgentEngine Union: only one key present
|
|
147
146
|
* // ai: { // AgentAiEngine
|
|
@@ -193,7 +192,7 @@ declare const GetAgentCommand_base: {
|
|
|
193
192
|
* // prompt: "STRING_VALUE",
|
|
194
193
|
* // },
|
|
195
194
|
* // channels: [ // AgentCapabilityChannelsList
|
|
196
|
-
* // "voice" || "chat" || "assistant"
|
|
195
|
+
* // "voice" || "chat" || "assistant",
|
|
197
196
|
* // ],
|
|
198
197
|
* // annotations: [ // AgentToolAnnotationsList
|
|
199
198
|
* // { // AgentToolAnnotation Union: only one key present
|
|
@@ -223,7 +222,7 @@ declare const GetAgentCommand_base: {
|
|
|
223
222
|
* // prompt: "STRING_VALUE",
|
|
224
223
|
* // },
|
|
225
224
|
* // channels: [
|
|
226
|
-
* // "voice" || "chat" || "assistant"
|
|
225
|
+
* // "voice" || "chat" || "assistant",
|
|
227
226
|
* // ],
|
|
228
227
|
* // annotations: [
|
|
229
228
|
* // {// Union: only one key present
|
|
@@ -245,8 +244,11 @@ declare const GetAgentCommand_base: {
|
|
|
245
244
|
* // kb: { // AgentKnowledgeBase
|
|
246
245
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
247
246
|
* // instructions: "STRING_VALUE",
|
|
247
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
248
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
249
|
+
* // searchLimit: Number("int"),
|
|
248
250
|
* // channels: [
|
|
249
|
-
* // "voice" || "chat" || "assistant"
|
|
251
|
+
* // "voice" || "chat" || "assistant",
|
|
250
252
|
* // ],
|
|
251
253
|
* // annotations: [
|
|
252
254
|
* // {// Union: only one key present
|
|
@@ -294,7 +296,7 @@ declare const GetAgentCommand_base: {
|
|
|
294
296
|
* // timezone: "STRING_VALUE",
|
|
295
297
|
* // },
|
|
296
298
|
* // channels: [
|
|
297
|
-
* // "voice" || "chat" || "assistant"
|
|
299
|
+
* // "voice" || "chat" || "assistant",
|
|
298
300
|
* // ],
|
|
299
301
|
* // },
|
|
300
302
|
* // webFetch: { // AgentWebFetchCapability
|
|
@@ -302,7 +304,7 @@ declare const GetAgentCommand_base: {
|
|
|
302
304
|
* // "STRING_VALUE",
|
|
303
305
|
* // ],
|
|
304
306
|
* // channels: [
|
|
305
|
-
* // "voice" || "chat" || "assistant"
|
|
307
|
+
* // "voice" || "chat" || "assistant",
|
|
306
308
|
* // ],
|
|
307
309
|
* // },
|
|
308
310
|
* // agent: { // AgentCallCapability
|
|
@@ -401,6 +403,7 @@ declare const GetAgentCommand_base: {
|
|
|
401
403
|
* // },
|
|
402
404
|
* // suggestions: { // AgentSuggestionsCapability
|
|
403
405
|
* // name: "STRING_VALUE",
|
|
406
|
+
* // instructions: "STRING_VALUE",
|
|
404
407
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
405
408
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
406
409
|
* // },
|
|
@@ -655,6 +658,9 @@ declare const GetAgentCommand_base: {
|
|
|
655
658
|
* // kb: {
|
|
656
659
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
657
660
|
* // instructions: "STRING_VALUE",
|
|
661
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
662
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
663
|
+
* // searchLimit: Number("int"),
|
|
658
664
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
659
665
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
660
666
|
* // },
|
|
@@ -692,6 +698,7 @@ declare const GetAgentCommand_base: {
|
|
|
692
698
|
* // transfer: "<AgentTransferCapability>",
|
|
693
699
|
* // suggestions: {
|
|
694
700
|
* // name: "STRING_VALUE",
|
|
701
|
+
* // instructions: "STRING_VALUE",
|
|
695
702
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
696
703
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
697
704
|
* // },
|
|
@@ -148,7 +148,6 @@ declare const GetAgentVersionCommand_base: {
|
|
|
148
148
|
* // placeholder: "STRING_VALUE",
|
|
149
149
|
* // },
|
|
150
150
|
* // },
|
|
151
|
-
* // workflow: {},
|
|
152
151
|
* // },
|
|
153
152
|
* // engine: { // AgentEngine Union: only one key present
|
|
154
153
|
* // ai: { // AgentAiEngine
|
|
@@ -200,7 +199,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
200
199
|
* // prompt: "STRING_VALUE",
|
|
201
200
|
* // },
|
|
202
201
|
* // channels: [ // AgentCapabilityChannelsList
|
|
203
|
-
* // "voice" || "chat" || "assistant"
|
|
202
|
+
* // "voice" || "chat" || "assistant",
|
|
204
203
|
* // ],
|
|
205
204
|
* // annotations: [ // AgentToolAnnotationsList
|
|
206
205
|
* // { // AgentToolAnnotation Union: only one key present
|
|
@@ -230,7 +229,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
230
229
|
* // prompt: "STRING_VALUE",
|
|
231
230
|
* // },
|
|
232
231
|
* // channels: [
|
|
233
|
-
* // "voice" || "chat" || "assistant"
|
|
232
|
+
* // "voice" || "chat" || "assistant",
|
|
234
233
|
* // ],
|
|
235
234
|
* // annotations: [
|
|
236
235
|
* // {// Union: only one key present
|
|
@@ -252,8 +251,11 @@ declare const GetAgentVersionCommand_base: {
|
|
|
252
251
|
* // kb: { // AgentKnowledgeBase
|
|
253
252
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
254
253
|
* // instructions: "STRING_VALUE",
|
|
254
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
255
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
256
|
+
* // searchLimit: Number("int"),
|
|
255
257
|
* // channels: [
|
|
256
|
-
* // "voice" || "chat" || "assistant"
|
|
258
|
+
* // "voice" || "chat" || "assistant",
|
|
257
259
|
* // ],
|
|
258
260
|
* // annotations: [
|
|
259
261
|
* // {// Union: only one key present
|
|
@@ -301,7 +303,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
301
303
|
* // timezone: "STRING_VALUE",
|
|
302
304
|
* // },
|
|
303
305
|
* // channels: [
|
|
304
|
-
* // "voice" || "chat" || "assistant"
|
|
306
|
+
* // "voice" || "chat" || "assistant",
|
|
305
307
|
* // ],
|
|
306
308
|
* // },
|
|
307
309
|
* // webFetch: { // AgentWebFetchCapability
|
|
@@ -309,7 +311,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
309
311
|
* // "STRING_VALUE",
|
|
310
312
|
* // ],
|
|
311
313
|
* // channels: [
|
|
312
|
-
* // "voice" || "chat" || "assistant"
|
|
314
|
+
* // "voice" || "chat" || "assistant",
|
|
313
315
|
* // ],
|
|
314
316
|
* // },
|
|
315
317
|
* // agent: { // AgentCallCapability
|
|
@@ -408,6 +410,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
408
410
|
* // },
|
|
409
411
|
* // suggestions: { // AgentSuggestionsCapability
|
|
410
412
|
* // name: "STRING_VALUE",
|
|
413
|
+
* // instructions: "STRING_VALUE",
|
|
411
414
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
412
415
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
413
416
|
* // },
|
|
@@ -662,6 +665,9 @@ declare const GetAgentVersionCommand_base: {
|
|
|
662
665
|
* // kb: {
|
|
663
666
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
664
667
|
* // instructions: "STRING_VALUE",
|
|
668
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
669
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
670
|
+
* // searchLimit: Number("int"),
|
|
665
671
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
666
672
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
667
673
|
* // },
|
|
@@ -699,6 +705,7 @@ declare const GetAgentVersionCommand_base: {
|
|
|
699
705
|
* // transfer: "<AgentTransferCapability>",
|
|
700
706
|
* // suggestions: {
|
|
701
707
|
* // name: "STRING_VALUE",
|
|
708
|
+
* // instructions: "STRING_VALUE",
|
|
702
709
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
703
710
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
704
711
|
* // },
|
|
@@ -38,7 +38,7 @@ declare const ListAgentsCommand_base: {
|
|
|
38
38
|
* const client = new WilmaAgentsClient(config);
|
|
39
39
|
* const input = { // ListAgentsInput
|
|
40
40
|
* company: "STRING_VALUE",
|
|
41
|
-
* channel: "voice" || "chat" || "assistant"
|
|
41
|
+
* channel: "voice" || "chat" || "assistant",
|
|
42
42
|
* status: "draft" || "active",
|
|
43
43
|
* search: "STRING_VALUE",
|
|
44
44
|
* limit: Number("int"),
|
|
@@ -146,7 +146,6 @@ declare const ListAgentsCommand_base: {
|
|
|
146
146
|
* // placeholder: "STRING_VALUE",
|
|
147
147
|
* // },
|
|
148
148
|
* // },
|
|
149
|
-
* // workflow: {},
|
|
150
149
|
* // },
|
|
151
150
|
* // engine: { // AgentEngine Union: only one key present
|
|
152
151
|
* // ai: { // AgentAiEngine
|
|
@@ -198,7 +197,7 @@ declare const ListAgentsCommand_base: {
|
|
|
198
197
|
* // prompt: "STRING_VALUE",
|
|
199
198
|
* // },
|
|
200
199
|
* // channels: [ // AgentCapabilityChannelsList
|
|
201
|
-
* // "voice" || "chat" || "assistant"
|
|
200
|
+
* // "voice" || "chat" || "assistant",
|
|
202
201
|
* // ],
|
|
203
202
|
* // annotations: [ // AgentToolAnnotationsList
|
|
204
203
|
* // { // AgentToolAnnotation Union: only one key present
|
|
@@ -228,7 +227,7 @@ declare const ListAgentsCommand_base: {
|
|
|
228
227
|
* // prompt: "STRING_VALUE",
|
|
229
228
|
* // },
|
|
230
229
|
* // channels: [
|
|
231
|
-
* // "voice" || "chat" || "assistant"
|
|
230
|
+
* // "voice" || "chat" || "assistant",
|
|
232
231
|
* // ],
|
|
233
232
|
* // annotations: [
|
|
234
233
|
* // {// Union: only one key present
|
|
@@ -250,8 +249,11 @@ declare const ListAgentsCommand_base: {
|
|
|
250
249
|
* // kb: { // AgentKnowledgeBase
|
|
251
250
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
252
251
|
* // instructions: "STRING_VALUE",
|
|
252
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
253
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
254
|
+
* // searchLimit: Number("int"),
|
|
253
255
|
* // channels: [
|
|
254
|
-
* // "voice" || "chat" || "assistant"
|
|
256
|
+
* // "voice" || "chat" || "assistant",
|
|
255
257
|
* // ],
|
|
256
258
|
* // annotations: [
|
|
257
259
|
* // {// Union: only one key present
|
|
@@ -299,7 +301,7 @@ declare const ListAgentsCommand_base: {
|
|
|
299
301
|
* // timezone: "STRING_VALUE",
|
|
300
302
|
* // },
|
|
301
303
|
* // channels: [
|
|
302
|
-
* // "voice" || "chat" || "assistant"
|
|
304
|
+
* // "voice" || "chat" || "assistant",
|
|
303
305
|
* // ],
|
|
304
306
|
* // },
|
|
305
307
|
* // webFetch: { // AgentWebFetchCapability
|
|
@@ -307,7 +309,7 @@ declare const ListAgentsCommand_base: {
|
|
|
307
309
|
* // "STRING_VALUE",
|
|
308
310
|
* // ],
|
|
309
311
|
* // channels: [
|
|
310
|
-
* // "voice" || "chat" || "assistant"
|
|
312
|
+
* // "voice" || "chat" || "assistant",
|
|
311
313
|
* // ],
|
|
312
314
|
* // },
|
|
313
315
|
* // agent: { // AgentCallCapability
|
|
@@ -406,6 +408,7 @@ declare const ListAgentsCommand_base: {
|
|
|
406
408
|
* // },
|
|
407
409
|
* // suggestions: { // AgentSuggestionsCapability
|
|
408
410
|
* // name: "STRING_VALUE",
|
|
411
|
+
* // instructions: "STRING_VALUE",
|
|
409
412
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
410
413
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
411
414
|
* // },
|
|
@@ -660,6 +663,9 @@ declare const ListAgentsCommand_base: {
|
|
|
660
663
|
* // kb: {
|
|
661
664
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
662
665
|
* // instructions: "STRING_VALUE",
|
|
666
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
667
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
668
|
+
* // searchLimit: Number("int"),
|
|
663
669
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
664
670
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
665
671
|
* // },
|
|
@@ -697,6 +703,7 @@ declare const ListAgentsCommand_base: {
|
|
|
697
703
|
* // transfer: "<AgentTransferCapability>",
|
|
698
704
|
* // suggestions: {
|
|
699
705
|
* // name: "STRING_VALUE",
|
|
706
|
+
* // instructions: "STRING_VALUE",
|
|
700
707
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
701
708
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
702
709
|
* // },
|
|
@@ -38,7 +38,7 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
38
38
|
* const client = new WilmaAgentsClient(config);
|
|
39
39
|
* const input = { // ListAgentsNamesInput
|
|
40
40
|
* company: "STRING_VALUE",
|
|
41
|
-
* channel: "voice" || "chat" || "assistant"
|
|
41
|
+
* channel: "voice" || "chat" || "assistant",
|
|
42
42
|
* };
|
|
43
43
|
* const command = new ListAgentsNamesCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
@@ -51,7 +51,7 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
51
51
|
* // category: "STRING_VALUE",
|
|
52
52
|
* // status: "draft" || "active", // required
|
|
53
53
|
* // channels: [ // ChannelTypeList // required
|
|
54
|
-
* // "voice" || "chat" || "assistant"
|
|
54
|
+
* // "voice" || "chat" || "assistant",
|
|
55
55
|
* // ],
|
|
56
56
|
* // speechConfigured: true || false,
|
|
57
57
|
* // skillIds: [ // AgentSkillIdsList
|
|
@@ -150,7 +150,6 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
150
150
|
* // placeholder: "STRING_VALUE",
|
|
151
151
|
* // },
|
|
152
152
|
* // },
|
|
153
|
-
* // workflow: {},
|
|
154
153
|
* // },
|
|
155
154
|
* // engine: { // AgentEngine Union: only one key present
|
|
156
155
|
* // ai: { // AgentAiEngine
|
|
@@ -202,7 +201,7 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
202
201
|
* // prompt: "STRING_VALUE",
|
|
203
202
|
* // },
|
|
204
203
|
* // channels: [ // AgentCapabilityChannelsList
|
|
205
|
-
* // "voice" || "chat" || "assistant"
|
|
204
|
+
* // "voice" || "chat" || "assistant",
|
|
206
205
|
* // ],
|
|
207
206
|
* // annotations: [ // AgentToolAnnotationsList
|
|
208
207
|
* // { // AgentToolAnnotation Union: only one key present
|
|
@@ -232,7 +231,7 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
232
231
|
* // prompt: "STRING_VALUE",
|
|
233
232
|
* // },
|
|
234
233
|
* // channels: [
|
|
235
|
-
* // "voice" || "chat" || "assistant"
|
|
234
|
+
* // "voice" || "chat" || "assistant",
|
|
236
235
|
* // ],
|
|
237
236
|
* // annotations: [
|
|
238
237
|
* // {// Union: only one key present
|
|
@@ -254,8 +253,11 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
254
253
|
* // kb: { // AgentKnowledgeBase
|
|
255
254
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
256
255
|
* // instructions: "STRING_VALUE",
|
|
256
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
257
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
258
|
+
* // searchLimit: Number("int"),
|
|
257
259
|
* // channels: [
|
|
258
|
-
* // "voice" || "chat" || "assistant"
|
|
260
|
+
* // "voice" || "chat" || "assistant",
|
|
259
261
|
* // ],
|
|
260
262
|
* // annotations: [
|
|
261
263
|
* // {// Union: only one key present
|
|
@@ -303,7 +305,7 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
303
305
|
* // timezone: "STRING_VALUE",
|
|
304
306
|
* // },
|
|
305
307
|
* // channels: [
|
|
306
|
-
* // "voice" || "chat" || "assistant"
|
|
308
|
+
* // "voice" || "chat" || "assistant",
|
|
307
309
|
* // ],
|
|
308
310
|
* // },
|
|
309
311
|
* // webFetch: { // AgentWebFetchCapability
|
|
@@ -311,7 +313,7 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
311
313
|
* // "STRING_VALUE",
|
|
312
314
|
* // ],
|
|
313
315
|
* // channels: [
|
|
314
|
-
* // "voice" || "chat" || "assistant"
|
|
316
|
+
* // "voice" || "chat" || "assistant",
|
|
315
317
|
* // ],
|
|
316
318
|
* // },
|
|
317
319
|
* // agent: { // AgentCallCapability
|
|
@@ -410,6 +412,7 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
410
412
|
* // },
|
|
411
413
|
* // suggestions: { // AgentSuggestionsCapability
|
|
412
414
|
* // name: "STRING_VALUE",
|
|
415
|
+
* // instructions: "STRING_VALUE",
|
|
413
416
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
414
417
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
415
418
|
* // },
|
|
@@ -664,6 +667,9 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
664
667
|
* // kb: {
|
|
665
668
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
666
669
|
* // instructions: "STRING_VALUE",
|
|
670
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
671
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
672
|
+
* // searchLimit: Number("int"),
|
|
667
673
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
668
674
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
669
675
|
* // },
|
|
@@ -701,6 +707,7 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
701
707
|
* // transfer: "<AgentTransferCapability>",
|
|
702
708
|
* // suggestions: {
|
|
703
709
|
* // name: "STRING_VALUE",
|
|
710
|
+
* // instructions: "STRING_VALUE",
|
|
704
711
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
705
712
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
706
713
|
* // },
|
|
@@ -143,7 +143,6 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
143
143
|
* // placeholder: "STRING_VALUE",
|
|
144
144
|
* // },
|
|
145
145
|
* // },
|
|
146
|
-
* // workflow: {},
|
|
147
146
|
* // },
|
|
148
147
|
* // engine: { // AgentEngine Union: only one key present
|
|
149
148
|
* // ai: { // AgentAiEngine
|
|
@@ -195,7 +194,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
195
194
|
* // prompt: "STRING_VALUE",
|
|
196
195
|
* // },
|
|
197
196
|
* // channels: [ // AgentCapabilityChannelsList
|
|
198
|
-
* // "voice" || "chat" || "assistant"
|
|
197
|
+
* // "voice" || "chat" || "assistant",
|
|
199
198
|
* // ],
|
|
200
199
|
* // annotations: [ // AgentToolAnnotationsList
|
|
201
200
|
* // { // AgentToolAnnotation Union: only one key present
|
|
@@ -225,7 +224,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
225
224
|
* // prompt: "STRING_VALUE",
|
|
226
225
|
* // },
|
|
227
226
|
* // channels: [
|
|
228
|
-
* // "voice" || "chat" || "assistant"
|
|
227
|
+
* // "voice" || "chat" || "assistant",
|
|
229
228
|
* // ],
|
|
230
229
|
* // annotations: [
|
|
231
230
|
* // {// Union: only one key present
|
|
@@ -247,8 +246,11 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
247
246
|
* // kb: { // AgentKnowledgeBase
|
|
248
247
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
249
248
|
* // instructions: "STRING_VALUE",
|
|
249
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
250
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
251
|
+
* // searchLimit: Number("int"),
|
|
250
252
|
* // channels: [
|
|
251
|
-
* // "voice" || "chat" || "assistant"
|
|
253
|
+
* // "voice" || "chat" || "assistant",
|
|
252
254
|
* // ],
|
|
253
255
|
* // annotations: [
|
|
254
256
|
* // {// Union: only one key present
|
|
@@ -296,7 +298,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
296
298
|
* // timezone: "STRING_VALUE",
|
|
297
299
|
* // },
|
|
298
300
|
* // channels: [
|
|
299
|
-
* // "voice" || "chat" || "assistant"
|
|
301
|
+
* // "voice" || "chat" || "assistant",
|
|
300
302
|
* // ],
|
|
301
303
|
* // },
|
|
302
304
|
* // webFetch: { // AgentWebFetchCapability
|
|
@@ -304,7 +306,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
304
306
|
* // "STRING_VALUE",
|
|
305
307
|
* // ],
|
|
306
308
|
* // channels: [
|
|
307
|
-
* // "voice" || "chat" || "assistant"
|
|
309
|
+
* // "voice" || "chat" || "assistant",
|
|
308
310
|
* // ],
|
|
309
311
|
* // },
|
|
310
312
|
* // agent: { // AgentCallCapability
|
|
@@ -403,6 +405,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
403
405
|
* // },
|
|
404
406
|
* // suggestions: { // AgentSuggestionsCapability
|
|
405
407
|
* // name: "STRING_VALUE",
|
|
408
|
+
* // instructions: "STRING_VALUE",
|
|
406
409
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
407
410
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
408
411
|
* // },
|
|
@@ -657,6 +660,9 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
657
660
|
* // kb: {
|
|
658
661
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
659
662
|
* // instructions: "STRING_VALUE",
|
|
663
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
664
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
665
|
+
* // searchLimit: Number("int"),
|
|
660
666
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
661
667
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
662
668
|
* // },
|
|
@@ -694,6 +700,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
694
700
|
* // transfer: "<AgentTransferCapability>",
|
|
695
701
|
* // suggestions: {
|
|
696
702
|
* // name: "STRING_VALUE",
|
|
703
|
+
* // instructions: "STRING_VALUE",
|
|
697
704
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
698
705
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
699
706
|
* // },
|
|
@@ -134,7 +134,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
134
134
|
* placeholder: "STRING_VALUE",
|
|
135
135
|
* },
|
|
136
136
|
* },
|
|
137
|
-
* workflow: {},
|
|
138
137
|
* },
|
|
139
138
|
* engine: { // AgentEngine Union: only one key present
|
|
140
139
|
* ai: { // AgentAiEngine
|
|
@@ -186,7 +185,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
186
185
|
* prompt: "STRING_VALUE",
|
|
187
186
|
* },
|
|
188
187
|
* channels: [ // AgentCapabilityChannelsList
|
|
189
|
-
* "voice" || "chat" || "assistant"
|
|
188
|
+
* "voice" || "chat" || "assistant",
|
|
190
189
|
* ],
|
|
191
190
|
* annotations: [ // AgentToolAnnotationsList
|
|
192
191
|
* { // AgentToolAnnotation Union: only one key present
|
|
@@ -216,7 +215,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
216
215
|
* prompt: "STRING_VALUE",
|
|
217
216
|
* },
|
|
218
217
|
* channels: [
|
|
219
|
-
* "voice" || "chat" || "assistant"
|
|
218
|
+
* "voice" || "chat" || "assistant",
|
|
220
219
|
* ],
|
|
221
220
|
* annotations: [
|
|
222
221
|
* {// Union: only one key present
|
|
@@ -238,8 +237,11 @@ declare const UpdateAgentCommand_base: {
|
|
|
238
237
|
* kb: { // AgentKnowledgeBase
|
|
239
238
|
* knowledgeBaseId: "STRING_VALUE",
|
|
240
239
|
* instructions: "STRING_VALUE",
|
|
240
|
+
* searchStrategy: "bm25" || "vector" || "hybrid",
|
|
241
|
+
* searchThreshold: "low" || "medium" || "high",
|
|
242
|
+
* searchLimit: Number("int"),
|
|
241
243
|
* channels: [
|
|
242
|
-
* "voice" || "chat" || "assistant"
|
|
244
|
+
* "voice" || "chat" || "assistant",
|
|
243
245
|
* ],
|
|
244
246
|
* annotations: [
|
|
245
247
|
* {// Union: only one key present
|
|
@@ -287,7 +289,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
287
289
|
* timezone: "STRING_VALUE",
|
|
288
290
|
* },
|
|
289
291
|
* channels: [
|
|
290
|
-
* "voice" || "chat" || "assistant"
|
|
292
|
+
* "voice" || "chat" || "assistant",
|
|
291
293
|
* ],
|
|
292
294
|
* },
|
|
293
295
|
* webFetch: { // AgentWebFetchCapability
|
|
@@ -295,7 +297,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
295
297
|
* "STRING_VALUE",
|
|
296
298
|
* ],
|
|
297
299
|
* channels: [
|
|
298
|
-
* "voice" || "chat" || "assistant"
|
|
300
|
+
* "voice" || "chat" || "assistant",
|
|
299
301
|
* ],
|
|
300
302
|
* },
|
|
301
303
|
* agent: { // AgentCallCapability
|
|
@@ -394,6 +396,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
394
396
|
* },
|
|
395
397
|
* suggestions: { // AgentSuggestionsCapability
|
|
396
398
|
* name: "STRING_VALUE",
|
|
399
|
+
* instructions: "STRING_VALUE",
|
|
397
400
|
* channels: "<AgentCapabilityChannelsList>",
|
|
398
401
|
* annotations: "<AgentToolAnnotationsList>",
|
|
399
402
|
* },
|
|
@@ -648,6 +651,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
648
651
|
* kb: {
|
|
649
652
|
* knowledgeBaseId: "STRING_VALUE",
|
|
650
653
|
* instructions: "STRING_VALUE",
|
|
654
|
+
* searchStrategy: "bm25" || "vector" || "hybrid",
|
|
655
|
+
* searchThreshold: "low" || "medium" || "high",
|
|
656
|
+
* searchLimit: Number("int"),
|
|
651
657
|
* channels: "<AgentCapabilityChannelsList>",
|
|
652
658
|
* annotations: "<AgentToolAnnotationsList>",
|
|
653
659
|
* },
|
|
@@ -685,6 +691,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
685
691
|
* transfer: "<AgentTransferCapability>",
|
|
686
692
|
* suggestions: {
|
|
687
693
|
* name: "STRING_VALUE",
|
|
694
|
+
* instructions: "STRING_VALUE",
|
|
688
695
|
* channels: "<AgentCapabilityChannelsList>",
|
|
689
696
|
* annotations: "<AgentToolAnnotationsList>",
|
|
690
697
|
* },
|
|
@@ -983,7 +990,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
983
990
|
* // placeholder: "STRING_VALUE",
|
|
984
991
|
* // },
|
|
985
992
|
* // },
|
|
986
|
-
* // workflow: {},
|
|
987
993
|
* // },
|
|
988
994
|
* // engine: { // AgentEngine Union: only one key present
|
|
989
995
|
* // ai: { // AgentAiEngine
|
|
@@ -1035,7 +1041,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1035
1041
|
* // prompt: "STRING_VALUE",
|
|
1036
1042
|
* // },
|
|
1037
1043
|
* // channels: [ // AgentCapabilityChannelsList
|
|
1038
|
-
* // "voice" || "chat" || "assistant"
|
|
1044
|
+
* // "voice" || "chat" || "assistant",
|
|
1039
1045
|
* // ],
|
|
1040
1046
|
* // annotations: [ // AgentToolAnnotationsList
|
|
1041
1047
|
* // { // AgentToolAnnotation Union: only one key present
|
|
@@ -1065,7 +1071,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1065
1071
|
* // prompt: "STRING_VALUE",
|
|
1066
1072
|
* // },
|
|
1067
1073
|
* // channels: [
|
|
1068
|
-
* // "voice" || "chat" || "assistant"
|
|
1074
|
+
* // "voice" || "chat" || "assistant",
|
|
1069
1075
|
* // ],
|
|
1070
1076
|
* // annotations: [
|
|
1071
1077
|
* // {// Union: only one key present
|
|
@@ -1087,8 +1093,11 @@ declare const UpdateAgentCommand_base: {
|
|
|
1087
1093
|
* // kb: { // AgentKnowledgeBase
|
|
1088
1094
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
1089
1095
|
* // instructions: "STRING_VALUE",
|
|
1096
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
1097
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
1098
|
+
* // searchLimit: Number("int"),
|
|
1090
1099
|
* // channels: [
|
|
1091
|
-
* // "voice" || "chat" || "assistant"
|
|
1100
|
+
* // "voice" || "chat" || "assistant",
|
|
1092
1101
|
* // ],
|
|
1093
1102
|
* // annotations: [
|
|
1094
1103
|
* // {// Union: only one key present
|
|
@@ -1136,7 +1145,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1136
1145
|
* // timezone: "STRING_VALUE",
|
|
1137
1146
|
* // },
|
|
1138
1147
|
* // channels: [
|
|
1139
|
-
* // "voice" || "chat" || "assistant"
|
|
1148
|
+
* // "voice" || "chat" || "assistant",
|
|
1140
1149
|
* // ],
|
|
1141
1150
|
* // },
|
|
1142
1151
|
* // webFetch: { // AgentWebFetchCapability
|
|
@@ -1144,7 +1153,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1144
1153
|
* // "STRING_VALUE",
|
|
1145
1154
|
* // ],
|
|
1146
1155
|
* // channels: [
|
|
1147
|
-
* // "voice" || "chat" || "assistant"
|
|
1156
|
+
* // "voice" || "chat" || "assistant",
|
|
1148
1157
|
* // ],
|
|
1149
1158
|
* // },
|
|
1150
1159
|
* // agent: { // AgentCallCapability
|
|
@@ -1243,6 +1252,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1243
1252
|
* // },
|
|
1244
1253
|
* // suggestions: { // AgentSuggestionsCapability
|
|
1245
1254
|
* // name: "STRING_VALUE",
|
|
1255
|
+
* // instructions: "STRING_VALUE",
|
|
1246
1256
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
1247
1257
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1248
1258
|
* // },
|
|
@@ -1497,6 +1507,9 @@ declare const UpdateAgentCommand_base: {
|
|
|
1497
1507
|
* // kb: {
|
|
1498
1508
|
* // knowledgeBaseId: "STRING_VALUE",
|
|
1499
1509
|
* // instructions: "STRING_VALUE",
|
|
1510
|
+
* // searchStrategy: "bm25" || "vector" || "hybrid",
|
|
1511
|
+
* // searchThreshold: "low" || "medium" || "high",
|
|
1512
|
+
* // searchLimit: Number("int"),
|
|
1500
1513
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
1501
1514
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1502
1515
|
* // },
|
|
@@ -1534,6 +1547,7 @@ declare const UpdateAgentCommand_base: {
|
|
|
1534
1547
|
* // transfer: "<AgentTransferCapability>",
|
|
1535
1548
|
* // suggestions: {
|
|
1536
1549
|
* // name: "STRING_VALUE",
|
|
1550
|
+
* // instructions: "STRING_VALUE",
|
|
1537
1551
|
* // channels: "<AgentCapabilityChannelsList>",
|
|
1538
1552
|
* // annotations: "<AgentToolAnnotationsList>",
|
|
1539
1553
|
* // },
|
|
@@ -68,10 +68,6 @@ export declare const ChannelType: {
|
|
|
68
68
|
* Voice calls on the PBX.
|
|
69
69
|
*/
|
|
70
70
|
readonly VOICE: "voice";
|
|
71
|
-
/**
|
|
72
|
-
* No delivery channel: runs as background tasks — invoked by other agents (call / delegation / handover), by automations or over the API.
|
|
73
|
-
*/
|
|
74
|
-
readonly WORKFLOW: "workflow";
|
|
75
71
|
};
|
|
76
72
|
/**
|
|
77
73
|
* @public
|
|
@@ -165,6 +161,41 @@ export declare const AgentHangupPipelineType: {
|
|
|
165
161
|
* @public
|
|
166
162
|
*/
|
|
167
163
|
export type AgentHangupPipelineType = (typeof AgentHangupPipelineType)[keyof typeof AgentHangupPipelineType];
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
* @enum
|
|
167
|
+
*/
|
|
168
|
+
export declare const KnowledgeBaseSearchStrategy: {
|
|
169
|
+
/**
|
|
170
|
+
* Full-text keyword search. Suits corpora callers address by exact product name, code or error string.
|
|
171
|
+
*/
|
|
172
|
+
readonly BM25: "bm25";
|
|
173
|
+
/**
|
|
174
|
+
* Both, combined. The service default and the right answer for most agents.
|
|
175
|
+
*/
|
|
176
|
+
readonly HYBRID: "hybrid";
|
|
177
|
+
/**
|
|
178
|
+
* Semantic similarity over embeddings. Suits callers who paraphrase rather than quote.
|
|
179
|
+
*/
|
|
180
|
+
readonly VECTOR: "vector";
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export type KnowledgeBaseSearchStrategy = (typeof KnowledgeBaseSearchStrategy)[keyof typeof KnowledgeBaseSearchStrategy];
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
* @enum
|
|
189
|
+
*/
|
|
190
|
+
export declare const KnowledgeBaseSearchThreshold: {
|
|
191
|
+
readonly HIGH: "high";
|
|
192
|
+
readonly LOW: "low";
|
|
193
|
+
readonly MEDIUM: "medium";
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export type KnowledgeBaseSearchThreshold = (typeof KnowledgeBaseSearchThreshold)[keyof typeof KnowledgeBaseSearchThreshold];
|
|
168
199
|
/**
|
|
169
200
|
* @public
|
|
170
201
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { ActorType, AgentGuardrailErrorMode, AgentGuardrailMode, AgentGuardrailPreset, AgentGuardrailSensitivity, AgentGuardrailWindow, AgentHandoverPipelineType, AgentHandoverVariant, AgentHangupPipelineType, AgentStatus, AgentToolPipelineType, AgentTransferPipelineType, AgentTransferVariant, AgentVariableType, AgentVisibility, AgentWorkflowEntryBehavior, AgentWorkflowFailureKind, AgentWorkflowLayout, AgentWorkflowMessageButtonVariant, ChannelType, SandboxNetworkAccess, SandboxSize, VoicePronunciationEncoding, WebSearchContextSize } from "./enums";
|
|
2
|
+
import type { ActorType, AgentGuardrailErrorMode, AgentGuardrailMode, AgentGuardrailPreset, AgentGuardrailSensitivity, AgentGuardrailWindow, AgentHandoverPipelineType, AgentHandoverVariant, AgentHangupPipelineType, AgentStatus, AgentToolPipelineType, AgentTransferPipelineType, AgentTransferVariant, AgentVariableType, AgentVisibility, AgentWorkflowEntryBehavior, AgentWorkflowFailureKind, AgentWorkflowLayout, AgentWorkflowMessageButtonVariant, ChannelType, KnowledgeBaseSearchStrategy, KnowledgeBaseSearchThreshold, SandboxNetworkAccess, SandboxSize, VoicePronunciationEncoding, WebSearchContextSize } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* A user or group that access is granted to.
|
|
5
5
|
* @public
|
|
@@ -485,13 +485,7 @@ export interface VoiceChannelSettings {
|
|
|
485
485
|
callerMetadata?: VoiceCallerMetadataSettings | undefined;
|
|
486
486
|
}
|
|
487
487
|
/**
|
|
488
|
-
*
|
|
489
|
-
* @public
|
|
490
|
-
*/
|
|
491
|
-
export interface WorkflowChannelSettings {
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
* The channels an agent serves and their channel-specific settings. Presence of a member enables that channel; at least one must be set. Enabled channels are mirrored as ChannelType values on AgentInfo.
|
|
488
|
+
* The channels an agent serves and their channel-specific settings. Presence of a member enables that channel. Empty means the agent serves no channel: it is not reachable on its own and runs only as an automation's task or when another agent calls it. Enabled channels are mirrored as ChannelType values on AgentInfo.
|
|
495
489
|
* @public
|
|
496
490
|
*/
|
|
497
491
|
export interface AgentChannels {
|
|
@@ -502,11 +496,6 @@ export interface AgentChannels {
|
|
|
502
496
|
voice?: VoiceChannelSettings | undefined;
|
|
503
497
|
chat?: ChatChannelSettings | undefined;
|
|
504
498
|
assistant?: AssistantChannelSettings | undefined;
|
|
505
|
-
/**
|
|
506
|
-
* Enablement only: a workflow agent has no delivery surface to configure. Present so `channels` can express that the agent runs as background tasks.
|
|
507
|
-
* @public
|
|
508
|
-
*/
|
|
509
|
-
workflow?: WorkflowChannelSettings | undefined;
|
|
510
499
|
}
|
|
511
500
|
/**
|
|
512
501
|
* Who performed an action: an interactive user, an API key or an internal service.
|
|
@@ -986,6 +975,21 @@ export interface AgentKnowledgeBase {
|
|
|
986
975
|
* @public
|
|
987
976
|
*/
|
|
988
977
|
instructions?: string | undefined;
|
|
978
|
+
/**
|
|
979
|
+
* Search algorithm used for this capability. Defaults to the knowledge base service's own default (`hybrid`) when omitted.
|
|
980
|
+
* @public
|
|
981
|
+
*/
|
|
982
|
+
searchStrategy?: KnowledgeBaseSearchStrategy | undefined;
|
|
983
|
+
/**
|
|
984
|
+
* Minimum similarity a passage needs to be returned by this capability. Defaults to the knowledge base service's own default (`medium`) when omitted. Worth raising on voice, where an off-target passage is spoken aloud.
|
|
985
|
+
* @public
|
|
986
|
+
*/
|
|
987
|
+
searchThreshold?: KnowledgeBaseSearchThreshold | undefined;
|
|
988
|
+
/**
|
|
989
|
+
* Maximum number of passages this capability returns. Defaults to the knowledge base service's own default (10) when omitted. Keep it low on voice: every passage is prompt the model reads before it can speak.
|
|
990
|
+
* @public
|
|
991
|
+
*/
|
|
992
|
+
searchLimit?: number | undefined;
|
|
989
993
|
/**
|
|
990
994
|
* Channels this capability is offered on. Absent or empty — the default — means every channel the agent serves
|
|
991
995
|
* that can honour it. Listing channels narrows that set and never widens it: a `transfer` listed for `chat` is
|
|
@@ -1097,6 +1101,20 @@ export interface AgentSuggestionsCapability {
|
|
|
1097
1101
|
* @public
|
|
1098
1102
|
*/
|
|
1099
1103
|
name?: string | undefined;
|
|
1104
|
+
/**
|
|
1105
|
+
* Steers what the suggestions say. Appended to the platform's own generation prompt rather than
|
|
1106
|
+
* replacing it, so the shape of a suggestion — short, tappable, a plausible next thing to send —
|
|
1107
|
+
* stays the platform's to keep, and this narrows the subject: 'offer a callback and a link to the
|
|
1108
|
+
* status page, never a discount'.
|
|
1109
|
+
*
|
|
1110
|
+
* NOT a tool description, unlike the `description` every other capability carries: suggestions are
|
|
1111
|
+
* not a tool the model chooses to call. They are generated from a reply that has already been
|
|
1112
|
+
* written, so there is no decision to describe — only the generation to steer.
|
|
1113
|
+
*
|
|
1114
|
+
* Absent means the platform's prompt alone.
|
|
1115
|
+
* @public
|
|
1116
|
+
*/
|
|
1117
|
+
instructions?: string | undefined;
|
|
1100
1118
|
/**
|
|
1101
1119
|
* Channels this capability is offered on. Absent or empty — the default — means every channel the agent serves
|
|
1102
1120
|
* that can honour it. Listing channels narrows that set and never widens it: a `transfer` listed for `chat` is
|
|
@@ -3211,7 +3229,7 @@ export interface Agent {
|
|
|
3211
3229
|
*/
|
|
3212
3230
|
picture?: string | undefined;
|
|
3213
3231
|
/**
|
|
3214
|
-
* The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present
|
|
3232
|
+
* The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine, or none at all — an empty structure is an agent that is only run as an automation's task or called by another agent, and is not reachable on any delivery surface.
|
|
3215
3233
|
* @public
|
|
3216
3234
|
*/
|
|
3217
3235
|
channels: AgentChannels;
|
|
@@ -3327,7 +3345,7 @@ export interface AgentDefinitionSnapshot {
|
|
|
3327
3345
|
*/
|
|
3328
3346
|
picture?: string | undefined;
|
|
3329
3347
|
/**
|
|
3330
|
-
* The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present
|
|
3348
|
+
* The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine, or none at all — an empty structure is an agent that is only run as an automation's task or called by another agent, and is not reachable on any delivery surface.
|
|
3331
3349
|
* @public
|
|
3332
3350
|
*/
|
|
3333
3351
|
channels: AgentChannels;
|
|
@@ -3368,7 +3386,7 @@ export interface AgentInfo {
|
|
|
3368
3386
|
category?: string | undefined;
|
|
3369
3387
|
status: AgentStatus;
|
|
3370
3388
|
/**
|
|
3371
|
-
* The channels this agent serves (voice / chat / assistant).
|
|
3389
|
+
* The channels this agent serves (voice / chat / assistant). Empty for an agent that serves none — one only an automation runs or another agent calls.
|
|
3372
3390
|
* @public
|
|
3373
3391
|
*/
|
|
3374
3392
|
channels: ChannelType[];
|
|
@@ -3538,7 +3556,7 @@ export interface CreateAgentInput {
|
|
|
3538
3556
|
*/
|
|
3539
3557
|
picture?: string | undefined;
|
|
3540
3558
|
/**
|
|
3541
|
-
* The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present
|
|
3559
|
+
* The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine, or none at all — an empty structure is an agent that is only run as an automation's task or called by another agent, and is not reachable on any delivery surface.
|
|
3542
3560
|
* @public
|
|
3543
3561
|
*/
|
|
3544
3562
|
channels: AgentChannels;
|
|
@@ -3693,7 +3711,7 @@ export interface ListAgentApiKeysOutput {
|
|
|
3693
3711
|
export interface ListAgentsInput {
|
|
3694
3712
|
company?: string | undefined;
|
|
3695
3713
|
/**
|
|
3696
|
-
* Only agents that have this channel enabled (voice / chat / assistant).
|
|
3714
|
+
* Only agents that have this channel enabled (voice / chat / assistant). An agent serving no channel matches no value of this filter, so a caller listing agents to run as a task — rather than to reach on a surface — must leave it unset.
|
|
3697
3715
|
* @public
|
|
3698
3716
|
*/
|
|
3699
3717
|
channel?: ChannelType | undefined;
|
|
@@ -3874,7 +3892,7 @@ export interface UpdateAgentInput {
|
|
|
3874
3892
|
*/
|
|
3875
3893
|
picture?: string | undefined;
|
|
3876
3894
|
/**
|
|
3877
|
-
* The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present
|
|
3895
|
+
* The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine, or none at all — an empty structure is an agent that is only run as an automation's task or called by another agent, and is not reachable on any delivery surface.
|
|
3878
3896
|
* @public
|
|
3879
3897
|
*/
|
|
3880
3898
|
channels: AgentChannels;
|
|
@@ -148,7 +148,6 @@ export declare var VoiceTerminateHangupAction$: StaticStructureSchema;
|
|
|
148
148
|
export declare var VoiceTranscriptionSettings$: StaticStructureSchema;
|
|
149
149
|
export declare var VoiceTransferTarget$: StaticStructureSchema;
|
|
150
150
|
export declare var WebSearchUserLocation$: StaticStructureSchema;
|
|
151
|
-
export declare var WorkflowChannelSettings$: StaticStructureSchema;
|
|
152
151
|
export declare var Actor$: StaticStructureSchema;
|
|
153
152
|
export declare var SecretRef$: StaticStructureSchema;
|
|
154
153
|
export declare var AgentSkillReference$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wilma-agents-client",
|
|
3
3
|
"description": "@wildix/wilma-agents-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.38",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|