@wildix/wilma-agents-client 1.0.56 → 1.0.58
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/schemas/schemas_0.js +47 -11
- package/dist-es/schemas/schemas_0.js +44 -8
- package/dist-types/commands/CreateAgentCommand.d.ts +44 -0
- package/dist-types/commands/GetAgentCommand.d.ts +22 -0
- package/dist-types/commands/GetAgentVersionCommand.d.ts +22 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +22 -0
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +3 -0
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +22 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +22 -0
- package/dist-types/commands/UpdateAgentCommand.d.ts +44 -0
- package/dist-types/models/models_0.d.ts +173 -28
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
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.AgentSpokenPhrase$ = exports.AgentSnapshotSandboxOptions$ = exports.AgentSettings$ = exports.AgentKnowledgeBase$ = exports.AgentInlineSandboxOptions$ = 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
|
-
exports.
|
|
5
|
-
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$ = exports.AgentGuardrailAction$ = void 0;
|
|
4
|
+
exports.AssistantWelcomeSettings$ = exports.AssistantVoiceSettings$ = exports.AssistantUiSettings$ = exports.AssistantTranscriptionSettings$ = exports.AssistantSpeechSettings$ = exports.AssistantQuickCommand$ = exports.AssistantLanguage$ = exports.AssistantChannelSettings$ = exports.AssistantAudioSettings$ = 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.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = void 0;
|
|
5
|
+
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$ = exports.CreateAgentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = 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$ = exports.AgentGuardrailAction$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = void 0;
|
|
7
7
|
const _A = "Agent";
|
|
8
8
|
const _AA = "AgentAccess";
|
|
9
9
|
const _AAE = "AgentAiEngine";
|
|
10
10
|
const _AAK = "AgentApiKey";
|
|
11
11
|
const _AAKL = "AgentApiKeysList";
|
|
12
|
+
const _AAS = "AssistantAudioSettings";
|
|
12
13
|
const _AC = "AgentChannels";
|
|
13
14
|
const _ACC = "AgentCallCapability";
|
|
14
15
|
const _ACCg = "AgentConnectorCapability";
|
|
@@ -42,7 +43,9 @@ const _AI = "AgentInfo";
|
|
|
42
43
|
const _AIL = "AgentsInfoList";
|
|
43
44
|
const _AISO = "AgentInlineSandboxOptions";
|
|
44
45
|
const _AKB = "AgentKnowledgeBase";
|
|
45
|
-
const _AL = "
|
|
46
|
+
const _AL = "AssistantLanguage";
|
|
47
|
+
const _ALL = "AssistantLanguageList";
|
|
48
|
+
const _ALg = "AgentsList";
|
|
46
49
|
const _AQC = "AssistantQuickCommand";
|
|
47
50
|
const _AQCL = "AssistantQuickCommandsList";
|
|
48
51
|
const _AS = "AgentSettings";
|
|
@@ -53,6 +56,7 @@ const _ASL = "AgentSkillsList";
|
|
|
53
56
|
const _ASP = "AgentSpokenPhrase";
|
|
54
57
|
const _ASPL = "AgentSpokenPhraseList";
|
|
55
58
|
const _ASR = "AgentSkillReference";
|
|
59
|
+
const _ASS = "AssistantSpeechSettings";
|
|
56
60
|
const _ASSO = "AgentSnapshotSandboxOptions";
|
|
57
61
|
const _AT = "AgentTool";
|
|
58
62
|
const _ATA = "AgentToolApproval";
|
|
@@ -68,6 +72,7 @@ const _ATFPH = "AgentToolFieldPredefinedHandler";
|
|
|
68
72
|
const _ATP = "AgentToolPipeline";
|
|
69
73
|
const _ATPg = "AgentTransferPipeline";
|
|
70
74
|
const _ATRA = "AgentToolResultAnnotation";
|
|
75
|
+
const _ATS = "AssistantTranscriptionSettings";
|
|
71
76
|
const _ATTA = "AgentToolTagAnnotation";
|
|
72
77
|
const _ATV = "AgentToolVariable";
|
|
73
78
|
const _ATVA = "AgentToolVariablesAnnotation";
|
|
@@ -83,6 +88,7 @@ const _AVCL = "AgentVersionChangesList";
|
|
|
83
88
|
const _AVI = "AgentVersionInfo";
|
|
84
89
|
const _AVIL = "AgentVersionInfoList";
|
|
85
90
|
const _AVL = "AgentVariablesList";
|
|
91
|
+
const _AVS = "AssistantVoiceSettings";
|
|
86
92
|
const _AVg = "AgentVersion";
|
|
87
93
|
const _AW = "AgentWorkflow";
|
|
88
94
|
const _AWA = "AgentWorkflowAssignment";
|
|
@@ -211,6 +217,7 @@ const _aI = "agentId";
|
|
|
211
217
|
const _aOF = "applyOnFailure";
|
|
212
218
|
const _aOS = "applyOnSuccess";
|
|
213
219
|
const _aV = "agentVersion";
|
|
220
|
+
const _aVs = "assistantVoice";
|
|
214
221
|
const _ac = "action";
|
|
215
222
|
const _af = "after";
|
|
216
223
|
const _ag = "agent";
|
|
@@ -223,7 +230,8 @@ const _ar = "artifacts";
|
|
|
223
230
|
const _as = "assistant";
|
|
224
231
|
const _as_ = "as";
|
|
225
232
|
const _ass = "assignments";
|
|
226
|
-
const _au = "
|
|
233
|
+
const _au = "audio";
|
|
234
|
+
const _aut = "auto";
|
|
227
235
|
const _b = "before";
|
|
228
236
|
const _bOV = "basedOnVersion";
|
|
229
237
|
const _bS = "backgroundSound";
|
|
@@ -590,8 +598,8 @@ exports.AgentHangupPipeline$ = [3, n2, _AHPg,
|
|
|
590
598
|
];
|
|
591
599
|
exports.AgentInfo$ = [3, n2, _AI,
|
|
592
600
|
0,
|
|
593
|
-
[_i, _n, _st, _ch, _p, _ca, _sC, _en, _sI, _as, _lV],
|
|
594
|
-
[0, 0, 0, 64 | 0, 0, 0, 2, 0, 64 | 0, () => exports.AssistantUiSettings$, 1], 4
|
|
601
|
+
[_i, _n, _st, _ch, _p, _ca, _sC, _en, _aVs, _sI, _as, _lV],
|
|
602
|
+
[0, 0, 0, 64 | 0, 0, 0, 2, 0, () => exports.AssistantVoiceSettings$, 64 | 0, () => exports.AssistantUiSettings$, 1], 4
|
|
595
603
|
];
|
|
596
604
|
exports.AgentInlineSandboxOptions$ = [3, n2, _AISO,
|
|
597
605
|
0,
|
|
@@ -893,21 +901,46 @@ exports.AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
|
|
|
893
901
|
[_ass],
|
|
894
902
|
[() => AgentWorkflowAssignmentsList], 1
|
|
895
903
|
];
|
|
904
|
+
exports.AssistantAudioSettings$ = [3, n2, _AAS,
|
|
905
|
+
0,
|
|
906
|
+
[_ena, _sp],
|
|
907
|
+
[2, () => exports.AssistantSpeechSettings$], 1
|
|
908
|
+
];
|
|
896
909
|
exports.AssistantChannelSettings$ = [3, n2, _ACS,
|
|
897
910
|
0,
|
|
898
|
-
[_defa, _ui],
|
|
899
|
-
[2, () => exports.AssistantUiSettings$]
|
|
911
|
+
[_defa, _ui, _au],
|
|
912
|
+
[2, () => exports.AssistantUiSettings$, () => exports.AssistantAudioSettings$]
|
|
913
|
+
];
|
|
914
|
+
exports.AssistantLanguage$ = [3, n2, _AL,
|
|
915
|
+
0,
|
|
916
|
+
[_cod, _vo, _iD, _pron],
|
|
917
|
+
[0, 0, 2, () => VoicePronunciationList], 2
|
|
900
918
|
];
|
|
901
919
|
exports.AssistantQuickCommand$ = [3, n2, _AQC,
|
|
902
920
|
0,
|
|
903
921
|
[_tit, _pro, _d],
|
|
904
922
|
[0, 0, 0], 2
|
|
905
923
|
];
|
|
924
|
+
exports.AssistantSpeechSettings$ = [3, n2, _ASS,
|
|
925
|
+
0,
|
|
926
|
+
[_lan, _tra],
|
|
927
|
+
[() => AssistantLanguageList, () => exports.AssistantTranscriptionSettings$], 1
|
|
928
|
+
];
|
|
929
|
+
exports.AssistantTranscriptionSettings$ = [3, n2, _ATS,
|
|
930
|
+
0,
|
|
931
|
+
[_en],
|
|
932
|
+
[0]
|
|
933
|
+
];
|
|
906
934
|
exports.AssistantUiSettings$ = [3, n2, _AUS,
|
|
907
935
|
0,
|
|
908
936
|
[_we, _com, _pl],
|
|
909
937
|
[() => exports.AssistantWelcomeSettings$, () => AssistantQuickCommandsList, 0]
|
|
910
938
|
];
|
|
939
|
+
exports.AssistantVoiceSettings$ = [3, n2, _AVS,
|
|
940
|
+
0,
|
|
941
|
+
[_ena],
|
|
942
|
+
[2], 1
|
|
943
|
+
];
|
|
911
944
|
exports.AssistantWelcomeSettings$ = [3, n2, _AWSs,
|
|
912
945
|
0,
|
|
913
946
|
[_tit, _sub],
|
|
@@ -1194,7 +1227,7 @@ var AgentsInfoList = [1, n2, _AIL,
|
|
|
1194
1227
|
0, () => exports.AgentInfo$
|
|
1195
1228
|
];
|
|
1196
1229
|
var AgentSkillIdsList = 64 | 0;
|
|
1197
|
-
var AgentsList = [1, n2,
|
|
1230
|
+
var AgentsList = [1, n2, _ALg,
|
|
1198
1231
|
0, () => exports.Agent$
|
|
1199
1232
|
];
|
|
1200
1233
|
var AgentSpokenPhraseList = [1, n2, _ASPL,
|
|
@@ -1234,6 +1267,9 @@ var AgentWorkflowStepsList = [1, n2, _AWSL,
|
|
|
1234
1267
|
var AgentWorkflowTransitionsList = [1, n2, _AWTL,
|
|
1235
1268
|
0, () => exports.AgentWorkflowTransition$
|
|
1236
1269
|
];
|
|
1270
|
+
var AssistantLanguageList = [1, n2, _ALL,
|
|
1271
|
+
0, () => exports.AssistantLanguage$
|
|
1272
|
+
];
|
|
1237
1273
|
var AssistantQuickCommandsList = [1, n2, _AQCL,
|
|
1238
1274
|
0, () => exports.AssistantQuickCommand$
|
|
1239
1275
|
];
|
|
@@ -1290,7 +1326,7 @@ exports.AgentToolFieldHandler$ = [4, n2, _ATFH,
|
|
|
1290
1326
|
];
|
|
1291
1327
|
exports.AgentToolVariableHandler$ = [4, n2, _ATVH,
|
|
1292
1328
|
0,
|
|
1293
|
-
[
|
|
1329
|
+
[_aut, _gui, _pred],
|
|
1294
1330
|
[() => exports.AgentToolVariableAutoHandler$, () => exports.AgentToolVariableGuidedHandler$, () => exports.AgentToolVariablePredefinedHandler$]
|
|
1295
1331
|
];
|
|
1296
1332
|
exports.AgentWorkflowAction$ = [4, n2, _AWAg,
|
|
@@ -3,6 +3,7 @@ const _AA = "AgentAccess";
|
|
|
3
3
|
const _AAE = "AgentAiEngine";
|
|
4
4
|
const _AAK = "AgentApiKey";
|
|
5
5
|
const _AAKL = "AgentApiKeysList";
|
|
6
|
+
const _AAS = "AssistantAudioSettings";
|
|
6
7
|
const _AC = "AgentChannels";
|
|
7
8
|
const _ACC = "AgentCallCapability";
|
|
8
9
|
const _ACCg = "AgentConnectorCapability";
|
|
@@ -36,7 +37,9 @@ const _AI = "AgentInfo";
|
|
|
36
37
|
const _AIL = "AgentsInfoList";
|
|
37
38
|
const _AISO = "AgentInlineSandboxOptions";
|
|
38
39
|
const _AKB = "AgentKnowledgeBase";
|
|
39
|
-
const _AL = "
|
|
40
|
+
const _AL = "AssistantLanguage";
|
|
41
|
+
const _ALL = "AssistantLanguageList";
|
|
42
|
+
const _ALg = "AgentsList";
|
|
40
43
|
const _AQC = "AssistantQuickCommand";
|
|
41
44
|
const _AQCL = "AssistantQuickCommandsList";
|
|
42
45
|
const _AS = "AgentSettings";
|
|
@@ -47,6 +50,7 @@ const _ASL = "AgentSkillsList";
|
|
|
47
50
|
const _ASP = "AgentSpokenPhrase";
|
|
48
51
|
const _ASPL = "AgentSpokenPhraseList";
|
|
49
52
|
const _ASR = "AgentSkillReference";
|
|
53
|
+
const _ASS = "AssistantSpeechSettings";
|
|
50
54
|
const _ASSO = "AgentSnapshotSandboxOptions";
|
|
51
55
|
const _AT = "AgentTool";
|
|
52
56
|
const _ATA = "AgentToolApproval";
|
|
@@ -62,6 +66,7 @@ const _ATFPH = "AgentToolFieldPredefinedHandler";
|
|
|
62
66
|
const _ATP = "AgentToolPipeline";
|
|
63
67
|
const _ATPg = "AgentTransferPipeline";
|
|
64
68
|
const _ATRA = "AgentToolResultAnnotation";
|
|
69
|
+
const _ATS = "AssistantTranscriptionSettings";
|
|
65
70
|
const _ATTA = "AgentToolTagAnnotation";
|
|
66
71
|
const _ATV = "AgentToolVariable";
|
|
67
72
|
const _ATVA = "AgentToolVariablesAnnotation";
|
|
@@ -77,6 +82,7 @@ const _AVCL = "AgentVersionChangesList";
|
|
|
77
82
|
const _AVI = "AgentVersionInfo";
|
|
78
83
|
const _AVIL = "AgentVersionInfoList";
|
|
79
84
|
const _AVL = "AgentVariablesList";
|
|
85
|
+
const _AVS = "AssistantVoiceSettings";
|
|
80
86
|
const _AVg = "AgentVersion";
|
|
81
87
|
const _AW = "AgentWorkflow";
|
|
82
88
|
const _AWA = "AgentWorkflowAssignment";
|
|
@@ -205,6 +211,7 @@ const _aI = "agentId";
|
|
|
205
211
|
const _aOF = "applyOnFailure";
|
|
206
212
|
const _aOS = "applyOnSuccess";
|
|
207
213
|
const _aV = "agentVersion";
|
|
214
|
+
const _aVs = "assistantVoice";
|
|
208
215
|
const _ac = "action";
|
|
209
216
|
const _af = "after";
|
|
210
217
|
const _ag = "agent";
|
|
@@ -217,7 +224,8 @@ const _ar = "artifacts";
|
|
|
217
224
|
const _as = "assistant";
|
|
218
225
|
const _as_ = "as";
|
|
219
226
|
const _ass = "assignments";
|
|
220
|
-
const _au = "
|
|
227
|
+
const _au = "audio";
|
|
228
|
+
const _aut = "auto";
|
|
221
229
|
const _b = "before";
|
|
222
230
|
const _bOV = "basedOnVersion";
|
|
223
231
|
const _bS = "backgroundSound";
|
|
@@ -584,8 +592,8 @@ export var AgentHangupPipeline$ = [3, n2, _AHPg,
|
|
|
584
592
|
];
|
|
585
593
|
export var AgentInfo$ = [3, n2, _AI,
|
|
586
594
|
0,
|
|
587
|
-
[_i, _n, _st, _ch, _p, _ca, _sC, _en, _sI, _as, _lV],
|
|
588
|
-
[0, 0, 0, 64 | 0, 0, 0, 2, 0, 64 | 0, () => AssistantUiSettings$, 1], 4
|
|
595
|
+
[_i, _n, _st, _ch, _p, _ca, _sC, _en, _aVs, _sI, _as, _lV],
|
|
596
|
+
[0, 0, 0, 64 | 0, 0, 0, 2, 0, () => AssistantVoiceSettings$, 64 | 0, () => AssistantUiSettings$, 1], 4
|
|
589
597
|
];
|
|
590
598
|
export var AgentInlineSandboxOptions$ = [3, n2, _AISO,
|
|
591
599
|
0,
|
|
@@ -887,21 +895,46 @@ export var AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
|
|
|
887
895
|
[_ass],
|
|
888
896
|
[() => AgentWorkflowAssignmentsList], 1
|
|
889
897
|
];
|
|
898
|
+
export var AssistantAudioSettings$ = [3, n2, _AAS,
|
|
899
|
+
0,
|
|
900
|
+
[_ena, _sp],
|
|
901
|
+
[2, () => AssistantSpeechSettings$], 1
|
|
902
|
+
];
|
|
890
903
|
export var AssistantChannelSettings$ = [3, n2, _ACS,
|
|
891
904
|
0,
|
|
892
|
-
[_defa, _ui],
|
|
893
|
-
[2, () => AssistantUiSettings$]
|
|
905
|
+
[_defa, _ui, _au],
|
|
906
|
+
[2, () => AssistantUiSettings$, () => AssistantAudioSettings$]
|
|
907
|
+
];
|
|
908
|
+
export var AssistantLanguage$ = [3, n2, _AL,
|
|
909
|
+
0,
|
|
910
|
+
[_cod, _vo, _iD, _pron],
|
|
911
|
+
[0, 0, 2, () => VoicePronunciationList], 2
|
|
894
912
|
];
|
|
895
913
|
export var AssistantQuickCommand$ = [3, n2, _AQC,
|
|
896
914
|
0,
|
|
897
915
|
[_tit, _pro, _d],
|
|
898
916
|
[0, 0, 0], 2
|
|
899
917
|
];
|
|
918
|
+
export var AssistantSpeechSettings$ = [3, n2, _ASS,
|
|
919
|
+
0,
|
|
920
|
+
[_lan, _tra],
|
|
921
|
+
[() => AssistantLanguageList, () => AssistantTranscriptionSettings$], 1
|
|
922
|
+
];
|
|
923
|
+
export var AssistantTranscriptionSettings$ = [3, n2, _ATS,
|
|
924
|
+
0,
|
|
925
|
+
[_en],
|
|
926
|
+
[0]
|
|
927
|
+
];
|
|
900
928
|
export var AssistantUiSettings$ = [3, n2, _AUS,
|
|
901
929
|
0,
|
|
902
930
|
[_we, _com, _pl],
|
|
903
931
|
[() => AssistantWelcomeSettings$, () => AssistantQuickCommandsList, 0]
|
|
904
932
|
];
|
|
933
|
+
export var AssistantVoiceSettings$ = [3, n2, _AVS,
|
|
934
|
+
0,
|
|
935
|
+
[_ena],
|
|
936
|
+
[2], 1
|
|
937
|
+
];
|
|
905
938
|
export var AssistantWelcomeSettings$ = [3, n2, _AWSs,
|
|
906
939
|
0,
|
|
907
940
|
[_tit, _sub],
|
|
@@ -1188,7 +1221,7 @@ var AgentsInfoList = [1, n2, _AIL,
|
|
|
1188
1221
|
0, () => AgentInfo$
|
|
1189
1222
|
];
|
|
1190
1223
|
var AgentSkillIdsList = 64 | 0;
|
|
1191
|
-
var AgentsList = [1, n2,
|
|
1224
|
+
var AgentsList = [1, n2, _ALg,
|
|
1192
1225
|
0, () => Agent$
|
|
1193
1226
|
];
|
|
1194
1227
|
var AgentSpokenPhraseList = [1, n2, _ASPL,
|
|
@@ -1228,6 +1261,9 @@ var AgentWorkflowStepsList = [1, n2, _AWSL,
|
|
|
1228
1261
|
var AgentWorkflowTransitionsList = [1, n2, _AWTL,
|
|
1229
1262
|
0, () => AgentWorkflowTransition$
|
|
1230
1263
|
];
|
|
1264
|
+
var AssistantLanguageList = [1, n2, _ALL,
|
|
1265
|
+
0, () => AssistantLanguage$
|
|
1266
|
+
];
|
|
1231
1267
|
var AssistantQuickCommandsList = [1, n2, _AQCL,
|
|
1232
1268
|
0, () => AssistantQuickCommand$
|
|
1233
1269
|
];
|
|
@@ -1284,7 +1320,7 @@ export var AgentToolFieldHandler$ = [4, n2, _ATFH,
|
|
|
1284
1320
|
];
|
|
1285
1321
|
export var AgentToolVariableHandler$ = [4, n2, _ATVH,
|
|
1286
1322
|
0,
|
|
1287
|
-
[
|
|
1323
|
+
[_aut, _gui, _pred],
|
|
1288
1324
|
[() => AgentToolVariableAutoHandler$, () => AgentToolVariableGuidedHandler$, () => AgentToolVariablePredefinedHandler$]
|
|
1289
1325
|
];
|
|
1290
1326
|
export var AgentWorkflowAction$ = [4, n2, _AWAg,
|
|
@@ -145,6 +145,28 @@ declare const CreateAgentCommand_base: {
|
|
|
145
145
|
* ],
|
|
146
146
|
* placeholder: "STRING_VALUE",
|
|
147
147
|
* },
|
|
148
|
+
* audio: { // AssistantAudioSettings
|
|
149
|
+
* enabled: true || false, // required
|
|
150
|
+
* speech: { // AssistantSpeechSettings
|
|
151
|
+
* languages: [ // AssistantLanguageList // required
|
|
152
|
+
* { // AssistantLanguage
|
|
153
|
+
* code: "STRING_VALUE", // required
|
|
154
|
+
* voice: "STRING_VALUE", // required
|
|
155
|
+
* isDefault: true || false,
|
|
156
|
+
* pronunciations: [
|
|
157
|
+
* {
|
|
158
|
+
* phrase: "STRING_VALUE", // required
|
|
159
|
+
* as: "STRING_VALUE", // required
|
|
160
|
+
* encoding: "alias" || "ipa",
|
|
161
|
+
* },
|
|
162
|
+
* ],
|
|
163
|
+
* },
|
|
164
|
+
* ],
|
|
165
|
+
* transcription: { // AssistantTranscriptionSettings
|
|
166
|
+
* engine: "STRING_VALUE",
|
|
167
|
+
* },
|
|
168
|
+
* },
|
|
169
|
+
* },
|
|
148
170
|
* },
|
|
149
171
|
* },
|
|
150
172
|
* engine: { // AgentEngine Union: only one key present
|
|
@@ -1034,6 +1056,28 @@ declare const CreateAgentCommand_base: {
|
|
|
1034
1056
|
* // ],
|
|
1035
1057
|
* // placeholder: "STRING_VALUE",
|
|
1036
1058
|
* // },
|
|
1059
|
+
* // audio: { // AssistantAudioSettings
|
|
1060
|
+
* // enabled: true || false, // required
|
|
1061
|
+
* // speech: { // AssistantSpeechSettings
|
|
1062
|
+
* // languages: [ // AssistantLanguageList // required
|
|
1063
|
+
* // { // AssistantLanguage
|
|
1064
|
+
* // code: "STRING_VALUE", // required
|
|
1065
|
+
* // voice: "STRING_VALUE", // required
|
|
1066
|
+
* // isDefault: true || false,
|
|
1067
|
+
* // pronunciations: [
|
|
1068
|
+
* // {
|
|
1069
|
+
* // phrase: "STRING_VALUE", // required
|
|
1070
|
+
* // as: "STRING_VALUE", // required
|
|
1071
|
+
* // encoding: "alias" || "ipa",
|
|
1072
|
+
* // },
|
|
1073
|
+
* // ],
|
|
1074
|
+
* // },
|
|
1075
|
+
* // ],
|
|
1076
|
+
* // transcription: { // AssistantTranscriptionSettings
|
|
1077
|
+
* // engine: "STRING_VALUE",
|
|
1078
|
+
* // },
|
|
1079
|
+
* // },
|
|
1080
|
+
* // },
|
|
1037
1081
|
* // },
|
|
1038
1082
|
* // },
|
|
1039
1083
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -152,6 +152,28 @@ declare const GetAgentCommand_base: {
|
|
|
152
152
|
* // ],
|
|
153
153
|
* // placeholder: "STRING_VALUE",
|
|
154
154
|
* // },
|
|
155
|
+
* // audio: { // AssistantAudioSettings
|
|
156
|
+
* // enabled: true || false, // required
|
|
157
|
+
* // speech: { // AssistantSpeechSettings
|
|
158
|
+
* // languages: [ // AssistantLanguageList // required
|
|
159
|
+
* // { // AssistantLanguage
|
|
160
|
+
* // code: "STRING_VALUE", // required
|
|
161
|
+
* // voice: "STRING_VALUE", // required
|
|
162
|
+
* // isDefault: true || false,
|
|
163
|
+
* // pronunciations: [
|
|
164
|
+
* // {
|
|
165
|
+
* // phrase: "STRING_VALUE", // required
|
|
166
|
+
* // as: "STRING_VALUE", // required
|
|
167
|
+
* // encoding: "alias" || "ipa",
|
|
168
|
+
* // },
|
|
169
|
+
* // ],
|
|
170
|
+
* // },
|
|
171
|
+
* // ],
|
|
172
|
+
* // transcription: { // AssistantTranscriptionSettings
|
|
173
|
+
* // engine: "STRING_VALUE",
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // },
|
|
155
177
|
* // },
|
|
156
178
|
* // },
|
|
157
179
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -159,6 +159,28 @@ declare const GetAgentVersionCommand_base: {
|
|
|
159
159
|
* // ],
|
|
160
160
|
* // placeholder: "STRING_VALUE",
|
|
161
161
|
* // },
|
|
162
|
+
* // audio: { // AssistantAudioSettings
|
|
163
|
+
* // enabled: true || false, // required
|
|
164
|
+
* // speech: { // AssistantSpeechSettings
|
|
165
|
+
* // languages: [ // AssistantLanguageList // required
|
|
166
|
+
* // { // AssistantLanguage
|
|
167
|
+
* // code: "STRING_VALUE", // required
|
|
168
|
+
* // voice: "STRING_VALUE", // required
|
|
169
|
+
* // isDefault: true || false,
|
|
170
|
+
* // pronunciations: [
|
|
171
|
+
* // {
|
|
172
|
+
* // phrase: "STRING_VALUE", // required
|
|
173
|
+
* // as: "STRING_VALUE", // required
|
|
174
|
+
* // encoding: "alias" || "ipa",
|
|
175
|
+
* // },
|
|
176
|
+
* // ],
|
|
177
|
+
* // },
|
|
178
|
+
* // ],
|
|
179
|
+
* // transcription: { // AssistantTranscriptionSettings
|
|
180
|
+
* // engine: "STRING_VALUE",
|
|
181
|
+
* // },
|
|
182
|
+
* // },
|
|
183
|
+
* // },
|
|
162
184
|
* // },
|
|
163
185
|
* // },
|
|
164
186
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -157,6 +157,28 @@ declare const ListAgentsCommand_base: {
|
|
|
157
157
|
* // ],
|
|
158
158
|
* // placeholder: "STRING_VALUE",
|
|
159
159
|
* // },
|
|
160
|
+
* // audio: { // AssistantAudioSettings
|
|
161
|
+
* // enabled: true || false, // required
|
|
162
|
+
* // speech: { // AssistantSpeechSettings
|
|
163
|
+
* // languages: [ // AssistantLanguageList // required
|
|
164
|
+
* // { // AssistantLanguage
|
|
165
|
+
* // code: "STRING_VALUE", // required
|
|
166
|
+
* // voice: "STRING_VALUE", // required
|
|
167
|
+
* // isDefault: true || false,
|
|
168
|
+
* // pronunciations: [
|
|
169
|
+
* // {
|
|
170
|
+
* // phrase: "STRING_VALUE", // required
|
|
171
|
+
* // as: "STRING_VALUE", // required
|
|
172
|
+
* // encoding: "alias" || "ipa",
|
|
173
|
+
* // },
|
|
174
|
+
* // ],
|
|
175
|
+
* // },
|
|
176
|
+
* // ],
|
|
177
|
+
* // transcription: { // AssistantTranscriptionSettings
|
|
178
|
+
* // engine: "STRING_VALUE",
|
|
179
|
+
* // },
|
|
180
|
+
* // },
|
|
181
|
+
* // },
|
|
160
182
|
* // },
|
|
161
183
|
* // },
|
|
162
184
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -55,6 +55,9 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
55
55
|
* // ],
|
|
56
56
|
* // speechConfigured: true || false,
|
|
57
57
|
* // engine: "ai" || "webhook" || "sqs",
|
|
58
|
+
* // assistantVoice: { // AssistantVoiceSettings
|
|
59
|
+
* // enabled: true || false, // required
|
|
60
|
+
* // },
|
|
58
61
|
* // skillIds: [ // AgentSkillIdsList
|
|
59
62
|
* // "STRING_VALUE",
|
|
60
63
|
* // ],
|
|
@@ -161,6 +161,28 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
161
161
|
* // ],
|
|
162
162
|
* // placeholder: "STRING_VALUE",
|
|
163
163
|
* // },
|
|
164
|
+
* // audio: { // AssistantAudioSettings
|
|
165
|
+
* // enabled: true || false, // required
|
|
166
|
+
* // speech: { // AssistantSpeechSettings
|
|
167
|
+
* // languages: [ // AssistantLanguageList // required
|
|
168
|
+
* // { // AssistantLanguage
|
|
169
|
+
* // code: "STRING_VALUE", // required
|
|
170
|
+
* // voice: "STRING_VALUE", // required
|
|
171
|
+
* // isDefault: true || false,
|
|
172
|
+
* // pronunciations: [
|
|
173
|
+
* // {
|
|
174
|
+
* // phrase: "STRING_VALUE", // required
|
|
175
|
+
* // as: "STRING_VALUE", // required
|
|
176
|
+
* // encoding: "alias" || "ipa",
|
|
177
|
+
* // },
|
|
178
|
+
* // ],
|
|
179
|
+
* // },
|
|
180
|
+
* // ],
|
|
181
|
+
* // transcription: { // AssistantTranscriptionSettings
|
|
182
|
+
* // engine: "STRING_VALUE",
|
|
183
|
+
* // },
|
|
184
|
+
* // },
|
|
185
|
+
* // },
|
|
164
186
|
* // },
|
|
165
187
|
* // },
|
|
166
188
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -154,6 +154,28 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
154
154
|
* // ],
|
|
155
155
|
* // placeholder: "STRING_VALUE",
|
|
156
156
|
* // },
|
|
157
|
+
* // audio: { // AssistantAudioSettings
|
|
158
|
+
* // enabled: true || false, // required
|
|
159
|
+
* // speech: { // AssistantSpeechSettings
|
|
160
|
+
* // languages: [ // AssistantLanguageList // required
|
|
161
|
+
* // { // AssistantLanguage
|
|
162
|
+
* // code: "STRING_VALUE", // required
|
|
163
|
+
* // voice: "STRING_VALUE", // required
|
|
164
|
+
* // isDefault: true || false,
|
|
165
|
+
* // pronunciations: [
|
|
166
|
+
* // {
|
|
167
|
+
* // phrase: "STRING_VALUE", // required
|
|
168
|
+
* // as: "STRING_VALUE", // required
|
|
169
|
+
* // encoding: "alias" || "ipa",
|
|
170
|
+
* // },
|
|
171
|
+
* // ],
|
|
172
|
+
* // },
|
|
173
|
+
* // ],
|
|
174
|
+
* // transcription: { // AssistantTranscriptionSettings
|
|
175
|
+
* // engine: "STRING_VALUE",
|
|
176
|
+
* // },
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
157
179
|
* // },
|
|
158
180
|
* // },
|
|
159
181
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -145,6 +145,28 @@ declare const UpdateAgentCommand_base: {
|
|
|
145
145
|
* ],
|
|
146
146
|
* placeholder: "STRING_VALUE",
|
|
147
147
|
* },
|
|
148
|
+
* audio: { // AssistantAudioSettings
|
|
149
|
+
* enabled: true || false, // required
|
|
150
|
+
* speech: { // AssistantSpeechSettings
|
|
151
|
+
* languages: [ // AssistantLanguageList // required
|
|
152
|
+
* { // AssistantLanguage
|
|
153
|
+
* code: "STRING_VALUE", // required
|
|
154
|
+
* voice: "STRING_VALUE", // required
|
|
155
|
+
* isDefault: true || false,
|
|
156
|
+
* pronunciations: [
|
|
157
|
+
* {
|
|
158
|
+
* phrase: "STRING_VALUE", // required
|
|
159
|
+
* as: "STRING_VALUE", // required
|
|
160
|
+
* encoding: "alias" || "ipa",
|
|
161
|
+
* },
|
|
162
|
+
* ],
|
|
163
|
+
* },
|
|
164
|
+
* ],
|
|
165
|
+
* transcription: { // AssistantTranscriptionSettings
|
|
166
|
+
* engine: "STRING_VALUE",
|
|
167
|
+
* },
|
|
168
|
+
* },
|
|
169
|
+
* },
|
|
148
170
|
* },
|
|
149
171
|
* },
|
|
150
172
|
* engine: { // AgentEngine Union: only one key present
|
|
@@ -1036,6 +1058,28 @@ declare const UpdateAgentCommand_base: {
|
|
|
1036
1058
|
* // ],
|
|
1037
1059
|
* // placeholder: "STRING_VALUE",
|
|
1038
1060
|
* // },
|
|
1061
|
+
* // audio: { // AssistantAudioSettings
|
|
1062
|
+
* // enabled: true || false, // required
|
|
1063
|
+
* // speech: { // AssistantSpeechSettings
|
|
1064
|
+
* // languages: [ // AssistantLanguageList // required
|
|
1065
|
+
* // { // AssistantLanguage
|
|
1066
|
+
* // code: "STRING_VALUE", // required
|
|
1067
|
+
* // voice: "STRING_VALUE", // required
|
|
1068
|
+
* // isDefault: true || false,
|
|
1069
|
+
* // pronunciations: [
|
|
1070
|
+
* // {
|
|
1071
|
+
* // phrase: "STRING_VALUE", // required
|
|
1072
|
+
* // as: "STRING_VALUE", // required
|
|
1073
|
+
* // encoding: "alias" || "ipa",
|
|
1074
|
+
* // },
|
|
1075
|
+
* // ],
|
|
1076
|
+
* // },
|
|
1077
|
+
* // ],
|
|
1078
|
+
* // transcription: { // AssistantTranscriptionSettings
|
|
1079
|
+
* // engine: "STRING_VALUE",
|
|
1080
|
+
* // },
|
|
1081
|
+
* // },
|
|
1082
|
+
* // },
|
|
1039
1083
|
* // },
|
|
1040
1084
|
* // },
|
|
1041
1085
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -57,6 +57,137 @@ export interface AgentAccess {
|
|
|
57
57
|
*/
|
|
58
58
|
grants?: AgentGrantPrincipal[] | undefined;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* A pronunciation rule for one phrase. Belongs to a LANGUAGE, not to the agent: 'Wildix' is
|
|
62
|
+
* respelled differently for an Italian and a German voice, so one list shared ACROSS languages
|
|
63
|
+
* would fight itself. That is why the rules hang off the language and nowhere else — there is no
|
|
64
|
+
* company-wide dictionary above them to inherit from, or to disagree with.
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export interface VoicePronunciation {
|
|
68
|
+
/**
|
|
69
|
+
* The phrase as it appears in the text, e.g. 'Wildix'. Bounded because every rule is compiled into ONE regular expression — see the list below.
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
phrase: string;
|
|
73
|
+
/**
|
|
74
|
+
* Respelling (ALIAS) or phonetic transcription (IPA), e.g. 'Wil-dix'.
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
as: string;
|
|
78
|
+
/**
|
|
79
|
+
* Defaults to ALIAS.
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
encoding?: VoicePronunciationEncoding | undefined;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* One language the assistant audio channel can recognise and speak. There is deliberately no
|
|
86
|
+
* greeting here: an assistant conversation is already open when its audio call starts, so there
|
|
87
|
+
* is no new conversation to welcome and no initial phrase for the runtime to choose or repeat.
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export interface AssistantLanguage {
|
|
91
|
+
/**
|
|
92
|
+
* BCP-47 code with locale, e.g. 'en-US', 'it-IT'. Reuses the channel-neutral language value so assistant and voice configuration accept the same codes without sharing policy structures.
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
code: string;
|
|
96
|
+
/**
|
|
97
|
+
* Voice this language speaks with. Reuses the channel-neutral URI value so providers and synthesis parameters have the same representation in every channel.
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
voice: string;
|
|
101
|
+
/**
|
|
102
|
+
* Marks the language used when the caller's language matches nothing configured.
|
|
103
|
+
*
|
|
104
|
+
* THE FULL RESOLUTION ORDER, because a client author reading only this contract cannot
|
|
105
|
+
* otherwise find it: an exact match on the call's language, then a match on its primary
|
|
106
|
+
* subtag (`fr` finds `fr-FR`), then the language marked here, then a language whose primary
|
|
107
|
+
* subtag is `en`, then the first entry in the list. The same order the voice channel resolves
|
|
108
|
+
* by — the rule belongs to choosing a language, not to a channel.
|
|
109
|
+
*
|
|
110
|
+
* At most one language may carry it. A record with two — reachable through the API, where no
|
|
111
|
+
* form prevents it — resolves to the first marked one in list order: refusing an
|
|
112
|
+
* already-open assistant conversation over configuration drift is worse than serving it.
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
isDefault?: boolean | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* The rules this language is spoken with, same shape and same per-language ownership as
|
|
118
|
+
* VoiceLanguage.pronunciations — a respelling is about how a synthesized reply SOUNDS, not
|
|
119
|
+
* about how a conversation starts, so the rationale that leaves `greeting` off this structure
|
|
120
|
+
* does not apply here. Absent means no respellings for this language, distinct from the voice
|
|
121
|
+
* channel's OWN configured rules for the same language: an agent's assistant audio does not
|
|
122
|
+
* inherit them, so a name gets fixed once and read once, on whichever channel it is saved.
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
pronunciations?: VoicePronunciation[] | undefined;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Speech-to-text configuration owned by the assistant channel, so changes to assistant
|
|
129
|
+
* recognition policy cannot alter telephony calls.
|
|
130
|
+
*
|
|
131
|
+
* NO `autoDetect` HERE, unlike the voice channel: on this channel configuring a second language
|
|
132
|
+
* IS the request to recognise which one is being spoken — nobody lists two and then asks to be
|
|
133
|
+
* heard in only one — so the server derives identification from the language list and clamps it
|
|
134
|
+
* to false when the recogniser cannot identify among them, or there are too few to identify. The
|
|
135
|
+
* voice channel keeps the switch because a dialplan can hand a call its language, which is a
|
|
136
|
+
* choice an assistant conversation never has to make.
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export interface AssistantTranscriptionSettings {
|
|
140
|
+
/**
|
|
141
|
+
* Recogniser used for assistant audio. Absent resolves to the platform default, resolved by the server so exactly one component decides it.
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
engine?: string | undefined;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Recognition and synthesis policy for assistant audio. This is assistant-owned rather than a
|
|
148
|
+
* VoiceSpeechSettings reuse so telephony and assistant audio can evolve independently. It has no
|
|
149
|
+
* language greeting and no greet-every-language switch because an assistant conversation is
|
|
150
|
+
* already open when its audio call starts, leaving nothing for the channel to greet.
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export interface AssistantSpeechSettings {
|
|
154
|
+
/**
|
|
155
|
+
* Languages the assistant audio channel can recognise and speak. The @length bound is a
|
|
156
|
+
* STORAGE ceiling, not a promise about what a recogniser accepts at once — unlike the voice
|
|
157
|
+
* channel, where a caller opts into identification with `autoDetect`, THIS channel derives
|
|
158
|
+
* identification from `languages` and turns it on whenever the recogniser can identify among
|
|
159
|
+
* more than one, so every one of the up to ten rows here can become a live candidate list. The
|
|
160
|
+
* service does not clamp that list to a recogniser's own practical limit today (Amazon
|
|
161
|
+
* Transcribe's documented recommendation for streaming identification is five); a caller
|
|
162
|
+
* configuring more than a recogniser accepts should expect degraded identification or a
|
|
163
|
+
* rejected stream, not a refusal from this contract.
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
languages: AssistantLanguage[];
|
|
167
|
+
/**
|
|
168
|
+
* Which recogniser listens to assistant audio. Absent uses the platform default recogniser. Whether it identifies the spoken language is derived from `languages` rather than configured — see AssistantTranscriptionSettings.
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
transcription?: AssistantTranscriptionSettings | undefined;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Switchable audio for the assistant channel. The settings object keeps enablement beside its
|
|
175
|
+
* speech policy, matching the voice channel's switchable blocks so a disabled configuration can
|
|
176
|
+
* be retained without serving audio.
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export interface AssistantAudioSettings {
|
|
180
|
+
/**
|
|
181
|
+
* Whether the assistant accepts audio calls. Required so the presence of saved speech configuration is never mistaken for enablement.
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
enabled: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Languages, voices and recognition policy for assistant audio. Absent means audio is not configured, which counts as disabled whatever `enabled` says: the channel has no default language or voice to speak with.
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
speech?: AssistantSpeechSettings | undefined;
|
|
190
|
+
}
|
|
60
191
|
/**
|
|
61
192
|
* A starter prompt offered as a card on an empty thread. Picking it sends `prompt` as the user's first message, so the user never types it.
|
|
62
193
|
* @public
|
|
@@ -116,6 +247,7 @@ export interface AssistantUiSettings {
|
|
|
116
247
|
placeholder?: string | undefined;
|
|
117
248
|
}
|
|
118
249
|
/**
|
|
250
|
+
* Assistant channel settings. Presence enables the in-app assistant surface; audio remains unavailable unless its separate settings are present and enabled.
|
|
119
251
|
* @public
|
|
120
252
|
*/
|
|
121
253
|
export interface AssistantChannelSettings {
|
|
@@ -129,6 +261,11 @@ export interface AssistantChannelSettings {
|
|
|
129
261
|
* @public
|
|
130
262
|
*/
|
|
131
263
|
ui?: AssistantUiSettings | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* Audio configuration owned by the assistant channel. Absent means the assistant has no audio at all, preserving the behaviour of every existing agent without consulting `channels.voice`.
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
audio?: AssistantAudioSettings | undefined;
|
|
132
269
|
}
|
|
133
270
|
/**
|
|
134
271
|
* @public
|
|
@@ -331,30 +468,6 @@ export interface VoiceSilenceTimeoutSettings {
|
|
|
331
468
|
seconds: number;
|
|
332
469
|
action: VoiceTerminateAction;
|
|
333
470
|
}
|
|
334
|
-
/**
|
|
335
|
-
* A pronunciation rule for one phrase. Belongs to a LANGUAGE, not to the agent: 'Wildix' is
|
|
336
|
-
* respelled differently for an Italian and a German voice, so one list shared ACROSS languages
|
|
337
|
-
* would fight itself. That is why the rules hang off the language and nowhere else — there is no
|
|
338
|
-
* company-wide dictionary above them to inherit from, or to disagree with.
|
|
339
|
-
* @public
|
|
340
|
-
*/
|
|
341
|
-
export interface VoicePronunciation {
|
|
342
|
-
/**
|
|
343
|
-
* The phrase as it appears in the text, e.g. 'Wildix'. Bounded because every rule is compiled into ONE regular expression — see the list below.
|
|
344
|
-
* @public
|
|
345
|
-
*/
|
|
346
|
-
phrase: string;
|
|
347
|
-
/**
|
|
348
|
-
* Respelling (ALIAS) or phonetic transcription (IPA), e.g. 'Wil-dix'.
|
|
349
|
-
* @public
|
|
350
|
-
*/
|
|
351
|
-
as: string;
|
|
352
|
-
/**
|
|
353
|
-
* Defaults to ALIAS.
|
|
354
|
-
* @public
|
|
355
|
-
*/
|
|
356
|
-
encoding?: VoicePronunciationEncoding | undefined;
|
|
357
|
-
}
|
|
358
471
|
/**
|
|
359
472
|
* One configured language: its voice, its initial phrase and its pronunciation rules.
|
|
360
473
|
* @public
|
|
@@ -453,9 +566,14 @@ export interface VoiceTranscriptionSettings {
|
|
|
453
566
|
*/
|
|
454
567
|
export interface VoiceSpeechSettings {
|
|
455
568
|
/**
|
|
456
|
-
* Configured languages. The @length bound is a STORAGE ceiling, not
|
|
457
|
-
*
|
|
458
|
-
*
|
|
569
|
+
* Configured languages. The @length bound is a STORAGE ceiling, not a promise about what a
|
|
570
|
+
* recogniser accepts at once: automatic detection here is opt-in (`transcription.autoDetect`),
|
|
571
|
+
* and once a caller turns it on, the service does not clamp the resulting candidate list to a
|
|
572
|
+
* recogniser's own practical limit today (Amazon Transcribe's documented recommendation for
|
|
573
|
+
* streaming identification is five) — a caller who both opts in and configures more than a
|
|
574
|
+
* recogniser accepts should expect degraded identification or a rejected stream, not a refusal
|
|
575
|
+
* from this contract. With detection off, only the single resolved language is ever sent, so
|
|
576
|
+
* the ceiling never becomes a candidate-list problem at all.
|
|
459
577
|
* @public
|
|
460
578
|
*/
|
|
461
579
|
languages: VoiceLanguage[];
|
|
@@ -521,6 +639,10 @@ export interface AgentChannels {
|
|
|
521
639
|
*/
|
|
522
640
|
voice?: VoiceChannelSettings | undefined;
|
|
523
641
|
chat?: ChatChannelSettings | undefined;
|
|
642
|
+
/**
|
|
643
|
+
* Assistant channel settings. Presence enables the in-app assistant surface; audio remains unavailable unless its separate settings are present and enabled.
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
524
646
|
assistant?: AssistantChannelSettings | undefined;
|
|
525
647
|
}
|
|
526
648
|
/**
|
|
@@ -3443,6 +3565,17 @@ export interface AgentDefinitionSnapshot {
|
|
|
3443
3565
|
*/
|
|
3444
3566
|
access?: AgentAccess | undefined;
|
|
3445
3567
|
}
|
|
3568
|
+
/**
|
|
3569
|
+
* End-user view of an agent's assistant voice. New end-user voice parameters are added here rather than as AgentInfo members.
|
|
3570
|
+
* @public
|
|
3571
|
+
*/
|
|
3572
|
+
export interface AssistantVoiceSettings {
|
|
3573
|
+
/**
|
|
3574
|
+
* Whether a client should offer a voice call. True only when the definition the agent currently runs has assistant audio enabled and configured (`channels.assistant.audio.enabled` with at least one speech language); audio that is not configured counts as disabled. For a deployment that splits traffic, every routed version must qualify, so the answer holds whichever version a call lands on.
|
|
3575
|
+
* @public
|
|
3576
|
+
*/
|
|
3577
|
+
enabled: boolean;
|
|
3578
|
+
}
|
|
3446
3579
|
/**
|
|
3447
3580
|
* What a client needs to render an agent, and nothing more: AgentInfo is the end-user view of an agent,
|
|
3448
3581
|
* served by the channel runtimes (e.g. GetAgent / GetSettings on wilma-assistant) to callers who must not
|
|
@@ -3482,6 +3615,11 @@ export interface AgentInfo {
|
|
|
3482
3615
|
* @public
|
|
3483
3616
|
*/
|
|
3484
3617
|
engine?: AgentEngineKind | undefined;
|
|
3618
|
+
/**
|
|
3619
|
+
* Assistant voice as an end-user client needs it. Answered from the definition the agent currently runs — the deployment's routed version, else the latest published version, else the draft only when nothing was ever published. Absent means the agent offers no voice.
|
|
3620
|
+
* @public
|
|
3621
|
+
*/
|
|
3622
|
+
assistantVoice?: AssistantVoiceSettings | undefined;
|
|
3485
3623
|
/**
|
|
3486
3624
|
* Ids of the skills attached to this agent. Always active in this agent's sessions; user skill preferences cannot disable them.
|
|
3487
3625
|
* @public
|
|
@@ -3798,7 +3936,14 @@ export interface ListAgentApiKeysOutput {
|
|
|
3798
3936
|
export interface ListAgentsInput {
|
|
3799
3937
|
company?: string | undefined;
|
|
3800
3938
|
/**
|
|
3801
|
-
* Only agents that have this channel enabled (voice / chat / assistant). An agent serving no
|
|
3939
|
+
* Only agents that have this channel enabled (voice / chat / assistant). An agent serving no
|
|
3940
|
+
* channel matches no value of this filter, so a caller listing agents to run as a task —
|
|
3941
|
+
* rather than to reach on a surface — must leave it unset.
|
|
3942
|
+
*
|
|
3943
|
+
* TWO CONDITIONS, not one: an agent whose ENGINE has no runtime for the asked channel is
|
|
3944
|
+
* omitted as well, however its `channels` are set. A dialplan picker asking for `voice` would
|
|
3945
|
+
* otherwise be offered agents whose every call drops at attach. `AgentInfo.engine` says which
|
|
3946
|
+
* engine each remaining agent runs on.
|
|
3802
3947
|
* @public
|
|
3803
3948
|
*/
|
|
3804
3949
|
channel?: ChannelType | undefined;
|
|
@@ -96,9 +96,14 @@ export declare var AgentWorkflowStep$: StaticStructureSchema;
|
|
|
96
96
|
export declare var AgentWorkflowStepPosition$: StaticStructureSchema;
|
|
97
97
|
export declare var AgentWorkflowTransition$: StaticStructureSchema;
|
|
98
98
|
export declare var AgentWorkflowVariablesHandler$: StaticStructureSchema;
|
|
99
|
+
export declare var AssistantAudioSettings$: StaticStructureSchema;
|
|
99
100
|
export declare var AssistantChannelSettings$: StaticStructureSchema;
|
|
101
|
+
export declare var AssistantLanguage$: StaticStructureSchema;
|
|
100
102
|
export declare var AssistantQuickCommand$: StaticStructureSchema;
|
|
103
|
+
export declare var AssistantSpeechSettings$: StaticStructureSchema;
|
|
104
|
+
export declare var AssistantTranscriptionSettings$: StaticStructureSchema;
|
|
101
105
|
export declare var AssistantUiSettings$: StaticStructureSchema;
|
|
106
|
+
export declare var AssistantVoiceSettings$: StaticStructureSchema;
|
|
102
107
|
export declare var AssistantWelcomeSettings$: StaticStructureSchema;
|
|
103
108
|
export declare var ChatChannelSettings$: StaticStructureSchema;
|
|
104
109
|
export declare var CompareAgentVersionsInput$: 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.58",
|
|
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",
|