@wildix/wilma-agents-client 1.0.56 → 1.0.57

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AgentEngineKind = 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;
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",
@@ -138,8 +138,3 @@ exports.AgentStatus = {
138
138
  ACTIVE: "active",
139
139
  DRAFT: "draft",
140
140
  };
141
- exports.AgentEngineKind = {
142
- AI: "ai",
143
- SQS: "sqs",
144
- WEBHOOK: "webhook",
145
- };
@@ -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.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.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = void 0;
5
- 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$ = exports.CreateAgentInput$ = 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$ = 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 = "AgentsList";
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 = "auto";
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, _aVs, _sI, _as, _lV],
602
+ [0, 0, 0, 64 | 0, 0, 0, 2, () => exports.AssistantVoiceSettings$, 64 | 0, () => exports.AssistantUiSettings$, 1], 4
595
603
  ];
596
604
  exports.AgentInlineSandboxOptions$ = [3, n2, _AISO,
597
605
  0,
@@ -621,7 +629,7 @@ exports.AgentSpokenPhrase$ = [3, n2, _ASP,
621
629
  exports.AgentSqsEngine$ = [3, n2, _ASE,
622
630
  0,
623
631
  [_u, _ke, _sec],
624
- [0, 0, () => exports.SecretRef$], 2
632
+ [0, 0, () => exports.SecretRef$], 3
625
633
  ];
626
634
  exports.AgentSuggestionsCapability$ = [3, n2, _ASC,
627
635
  0,
@@ -741,7 +749,7 @@ exports.AgentWebFetchCapability$ = [3, n2, _AWFC,
741
749
  exports.AgentWebhookEngine$ = [3, n2, _AWE,
742
750
  0,
743
751
  [_u, _sec, _ti],
744
- [0, () => exports.SecretRef$, 1], 1
752
+ [0, () => exports.SecretRef$, 1], 2
745
753
  ];
746
754
  exports.AgentWebSearchCapability$ = [3, n2, _AWSC,
747
755
  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, _AL,
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
- [_au, _gui, _pred],
1329
+ [_aut, _gui, _pred],
1294
1330
  [() => exports.AgentToolVariableAutoHandler$, () => exports.AgentToolVariableGuidedHandler$, () => exports.AgentToolVariablePredefinedHandler$]
1295
1331
  ];
1296
1332
  exports.AgentWorkflowAction$ = [4, n2, _AWAg,
@@ -135,8 +135,3 @@ export const AgentStatus = {
135
135
  ACTIVE: "active",
136
136
  DRAFT: "draft",
137
137
  };
138
- export const AgentEngineKind = {
139
- AI: "ai",
140
- SQS: "sqs",
141
- WEBHOOK: "webhook",
142
- };
@@ -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 = "AgentsList";
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 = "auto";
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, _aVs, _sI, _as, _lV],
596
+ [0, 0, 0, 64 | 0, 0, 0, 2, () => AssistantVoiceSettings$, 64 | 0, () => AssistantUiSettings$, 1], 4
589
597
  ];
590
598
  export var AgentInlineSandboxOptions$ = [3, n2, _AISO,
591
599
  0,
@@ -615,7 +623,7 @@ export var AgentSpokenPhrase$ = [3, n2, _ASP,
615
623
  export var AgentSqsEngine$ = [3, n2, _ASE,
616
624
  0,
617
625
  [_u, _ke, _sec],
618
- [0, 0, () => SecretRef$], 2
626
+ [0, 0, () => SecretRef$], 3
619
627
  ];
620
628
  export var AgentSuggestionsCapability$ = [3, n2, _ASC,
621
629
  0,
@@ -735,7 +743,7 @@ export var AgentWebFetchCapability$ = [3, n2, _AWFC,
735
743
  export var AgentWebhookEngine$ = [3, n2, _AWE,
736
744
  0,
737
745
  [_u, _sec, _ti],
738
- [0, () => SecretRef$, 1], 1
746
+ [0, () => SecretRef$, 1], 2
739
747
  ];
740
748
  export var AgentWebSearchCapability$ = [3, n2, _AWSC,
741
749
  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, _AL,
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
- [_au, _gui, _pred],
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
@@ -54,7 +54,9 @@ declare const ListAgentsNamesCommand_base: {
54
54
  * // "voice" || "chat" || "assistant",
55
55
  * // ],
56
56
  * // speechConfigured: true || false,
57
- * // engine: "ai" || "webhook" || "sqs",
57
+ * // assistantVoice: { // AssistantVoiceSettings
58
+ * // enabled: true || false, // required
59
+ * // },
58
60
  * // skillIds: [ // AgentSkillIdsList
59
61
  * // "STRING_VALUE",
60
62
  * // ],
@@ -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
@@ -505,25 +505,3 @@ export declare const AgentStatus: {
505
505
  * @public
506
506
  */
507
507
  export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
508
- /**
509
- * @public
510
- * @enum
511
- */
512
- export declare const AgentEngineKind: {
513
- /**
514
- * The managed engine: the platform runs the model, tools and knowledge lookups.
515
- */
516
- readonly AI: "ai";
517
- /**
518
- * An external backend over SQS.
519
- */
520
- readonly SQS: "sqs";
521
- /**
522
- * An external backend over HTTPS.
523
- */
524
- readonly WEBHOOK: "webhook";
525
- };
526
- /**
527
- * @public
528
- */
529
- export type AgentEngineKind = (typeof AgentEngineKind)[keyof typeof AgentEngineKind];
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { ActorType, AgentEngineKind, 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";
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
@@ -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 the product rule: the real
457
- * cap is the recogniser's own candidate limit (five for Amazon Transcribe), enforced in the
458
- * service so a recogniser with a different limit needs no model change.
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
  /**
@@ -3161,53 +3283,33 @@ export interface SecretRef {
3161
3283
  id: string;
3162
3284
  }
3163
3285
  /**
3164
- * Bring-your-own backend over SQS: the platform sends what happens to the queue and the backend
3165
- * answers out of band through the channel's command plane. Authentication is the credential that
3166
- * makes the send; there is no signature and no response.
3286
+ * Bring-your-own backend over SQS: turns are forwarded to the queue, replies are posted back via the API.
3167
3287
  * @public
3168
3288
  */
3169
3289
  export interface AgentSqsEngine {
3170
3290
  url: string;
3171
3291
  key: string;
3172
3292
  /**
3173
- * Reference to the SQS secret access key in wilma-secrets. Optional for the same reason the
3174
- * webhook engine's is: an agent is created before it is configured, and a console cannot
3175
- * supply a reference to a secret nobody has chosen. The call refuses instead, naming what is
3176
- * missing.
3293
+ * Reference to the SQS secret access key in wilma-secrets.
3177
3294
  * @public
3178
3295
  */
3179
- secret?: SecretRef | undefined;
3296
+ secret: SecretRef;
3180
3297
  }
3181
3298
  /**
3182
- * Bring-your-own backend over HTTPS: the platform POSTs what happens to the URL and the backend
3183
- * answers out of band through the channel's command plane, never in the response body — which is
3184
- * what lets one contract serve both this engine and the queue one, where there is no body to
3185
- * answer in. The response body is not read.
3299
+ * Bring-your-own backend over HTTPS: each turn is POSTed to the URL, the response is the reply.
3186
3300
  * @public
3187
3301
  */
3188
3302
  export interface AgentWebhookEngine {
3189
3303
  url: string;
3190
3304
  /**
3191
- * Reference to the HMAC signing secret in wilma-secrets, resolved server-to-server at
3192
- * delivery. A reference and never the value: an agent holds no credential, like everything
3193
- * else on this platform, and the member is named for what it holds — `secret`, as on the
3194
- * queue engine and on a sandbox's environment — because the reference is the type's job to
3195
- * say. An agent migrated from the previous stack gets one created for the secret it was
3196
- * configured with.
3197
- *
3198
- * A DRAFT MAY NOT HAVE ONE YET. An agent is created before it is configured — that is what
3199
- * the draft status is for — and a console cannot supply a reference to a secret nobody has
3200
- * chosen. The call refuses instead, naming what is missing, which is where the author finds
3201
- * out at the only moment it matters.
3202
- * @public
3203
- */
3204
- secret?: SecretRef | undefined;
3205
- /**
3206
- * How long one delivery may take, in MILLISECONDS. It bounds a single request and not the
3207
- * call: a backend that spends all of it on every event is told about the call late, never
3208
- * less often.
3305
+ * Reference to the HMAC signing secret in wilma-secrets. Was the secret itself, which put
3306
+ * credential material in the agent document — readable back out of a stored row and carried
3307
+ * into any export of the definition. The sibling AgentSqsEngine has always held a reference;
3308
+ * this is the same shape, so nothing that reads an engine has to special-case which of the
3309
+ * two it is looking at.
3209
3310
  * @public
3210
3311
  */
3312
+ secret: SecretRef;
3211
3313
  timeout?: number | undefined;
3212
3314
  }
3213
3315
  /**
@@ -3230,10 +3332,7 @@ export declare namespace AgentEngine {
3230
3332
  $unknown?: never;
3231
3333
  }
3232
3334
  /**
3233
- * Bring-your-own backend over HTTPS: the platform POSTs what happens to the URL and the backend
3234
- * answers out of band through the channel's command plane, never in the response body — which is
3235
- * what lets one contract serve both this engine and the queue one, where there is no body to
3236
- * answer in. The response body is not read.
3335
+ * Bring-your-own backend over HTTPS: each turn is POSTed to the URL, the response is the reply.
3237
3336
  * @public
3238
3337
  */
3239
3338
  interface WebhookMember {
@@ -3243,9 +3342,7 @@ export declare namespace AgentEngine {
3243
3342
  $unknown?: never;
3244
3343
  }
3245
3344
  /**
3246
- * Bring-your-own backend over SQS: the platform sends what happens to the queue and the backend
3247
- * answers out of band through the channel's command plane. Authentication is the credential that
3248
- * makes the send; there is no signature and no response.
3345
+ * Bring-your-own backend over SQS: turns are forwarded to the queue, replies are posted back via the API.
3249
3346
  * @public
3250
3347
  */
3251
3348
  interface SqsMember {
@@ -3443,6 +3540,17 @@ export interface AgentDefinitionSnapshot {
3443
3540
  */
3444
3541
  access?: AgentAccess | undefined;
3445
3542
  }
3543
+ /**
3544
+ * End-user view of an agent's assistant voice. New end-user voice parameters are added here rather than as AgentInfo members.
3545
+ * @public
3546
+ */
3547
+ export interface AssistantVoiceSettings {
3548
+ /**
3549
+ * 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.
3550
+ * @public
3551
+ */
3552
+ enabled: boolean;
3553
+ }
3446
3554
  /**
3447
3555
  * What a client needs to render an agent, and nothing more: AgentInfo is the end-user view of an agent,
3448
3556
  * served by the channel runtimes (e.g. GetAgent / GetSettings on wilma-assistant) to callers who must not
@@ -3470,18 +3578,10 @@ export interface AgentInfo {
3470
3578
  */
3471
3579
  speechConfigured?: boolean | undefined;
3472
3580
  /**
3473
- * Which engine produces this agent's replies: the managed one, or somebody else's backend
3474
- * over a webhook or a queue. `channels` is what the agent DECLARES, and an engine is
3475
- * implemented per channel, so the two are not the same question — an agent that declares a
3476
- * channel its engine cannot serve is configured, listed, and silent there.
3477
- *
3478
- * Which channels each engine can serve is a property of the platform rather than of this
3479
- * agent, so it does not travel per agent: every `ai` agent would carry the same answer. The
3480
- * service enforces it where it matters — a listing filtered by channel omits an agent whose
3481
- * engine cannot answer there, and the channel refuses the connection.
3581
+ * 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.
3482
3582
  * @public
3483
3583
  */
3484
- engine?: AgentEngineKind | undefined;
3584
+ assistantVoice?: AssistantVoiceSettings | undefined;
3485
3585
  /**
3486
3586
  * Ids of the skills attached to this agent. Always active in this agent's sessions; user skill preferences cannot disable them.
3487
3587
  * @public
@@ -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.56",
4
+ "version": "1.0.57",
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",