@wildix/wilma-agents-client 1.0.42 → 1.0.43

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,14 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = exports.AgentToolVariableGuidedHandler$ = exports.AgentToolVariableAutoHandler$ = exports.AgentToolVariable$ = exports.AgentToolTagAnnotation$ = exports.AgentToolResultAnnotation$ = exports.AgentToolPipeline$ = exports.AgentToolFieldPredefinedHandler$ = exports.AgentToolFieldGuidedHandler$ = exports.AgentToolField$ = exports.AgentToolCommentAnnotation$ = exports.AgentToolApproval$ = exports.AgentTool$ = exports.AgentSuggestionsCapability$ = exports.AgentSqsEngine$ = exports.AgentSnapshotSandboxOptions$ = exports.AgentSettings$ = exports.AgentKnowledgeBase$ = exports.AgentInfo$ = exports.AgentHangupPipeline$ = exports.AgentHangupCapability$ = exports.AgentHandoverPipeline$ = exports.AgentHandoverCapability$ = exports.AgentGuardrails$ = exports.AgentGuardrailRedactAction$ = exports.AgentGuardrailPresetCheck$ = exports.AgentGuardrailObserveAction$ = exports.AgentGuardrailInput$ = exports.AgentGuardrailEndAction$ = exports.AgentGuardrailCustomCheck$ = exports.AgentGuardrailCheck$ = exports.AgentGuardrailBlockAction$ = exports.AgentDeploymentRoute$ = exports.AgentDelegationCapability$ = exports.AgentDefinitionSnapshot$ = exports.AgentConnectorCapability$ = exports.AgentChannels$ = exports.AgentCallCapability$ = exports.AgentApiKey$ = exports.AgentAiEngine$ = exports.AgentAccess$ = exports.Agent$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ConflictException$ = exports.WilmaAgentsServiceException$ = void 0;
4
- exports.CreateAgentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantWelcomeSettings$ = exports.AssistantUiSettings$ = exports.AssistantQuickCommand$ = exports.AssistantChannelSettings$ = exports.AgentWorkflowVariablesHandler$ = exports.AgentWorkflowTransition$ = exports.AgentWorkflowStepPosition$ = exports.AgentWorkflowStep$ = exports.AgentWorkflowSettings$ = exports.AgentWorkflowResultHandler$ = exports.AgentWorkflowResultCondition$ = exports.AgentWorkflowPromptCondition$ = exports.AgentWorkflowNested$ = exports.AgentWorkflowMessageVoiceSettings$ = exports.AgentWorkflowMessageHandler$ = exports.AgentWorkflowMessageGeneration$ = exports.AgentWorkflowMessageChatSettings$ = exports.AgentWorkflowMessageChannelsSettings$ = exports.AgentWorkflowMessageButtonReplyHandler$ = exports.AgentWorkflowMessageButtonLinkHandler$ = exports.AgentWorkflowMessageButton$ = exports.AgentWorkflowInvokeHandler$ = exports.AgentWorkflowFallbackCondition$ = exports.AgentWorkflowFailureCondition$ = exports.AgentWorkflowExpressionCondition$ = exports.AgentWorkflowEndHandler$ = exports.AgentWorkflowConversationVoiceSettings$ = exports.AgentWorkflowConversationHandler$ = exports.AgentWorkflowConversationChannelsSettings$ = exports.AgentWorkflowAssignment$ = exports.AgentWorkflowAlwaysCondition$ = exports.AgentWorkflowActionHandler$ = exports.AgentWorkflow$ = exports.AgentWebSearchCapability$ = exports.AgentWebhookEngine$ = exports.AgentWebFetchCapability$ = exports.AgentWaitCapability$ = exports.AgentVersionInfo$ = exports.AgentVersionChange$ = exports.AgentVersion$ = exports.AgentVercelSandboxOptions$ = exports.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = void 0;
5
- exports.AgentGuardrailAction$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTranscriptionSettings$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSpeechSettings$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoicePronunciation$ = exports.VoiceMaxDurationSettings$ = exports.VoiceLanguage$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.VoiceBackgroundSoundSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.ResetAgentDeploymentOutput$ = exports.ResetAgentDeploymentInput$ = exports.PutAgentDeploymentOutput$ = exports.PutAgentDeploymentInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.ListAgentVersionsOutput$ = exports.ListAgentVersionsInput$ = exports.ListAgentsOutput$ = exports.ListAgentsNamesOutput$ = exports.ListAgentsNamesInput$ = exports.ListAgentsInput$ = exports.ListAgentApiKeysOutput$ = exports.ListAgentApiKeysInput$ = exports.GetAgentVersionOutput$ = exports.GetAgentVersionInput$ = exports.GetAgentOutput$ = exports.GetAgentInput$ = exports.GetAgentDeploymentOutput$ = exports.GetAgentDeploymentInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = void 0;
6
- exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ = void 0;
4
+ exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantWelcomeSettings$ = 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.AgentVercelSandboxOptions$ = exports.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = void 0;
5
+ 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$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = 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$ = 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";
@@ -41,7 +42,9 @@ const _AHPg = "AgentHangupPipeline";
41
42
  const _AI = "AgentInfo";
42
43
  const _AIL = "AgentsInfoList";
43
44
  const _AKB = "AgentKnowledgeBase";
44
- const _AL = "AgentsList";
45
+ const _AL = "AssistantLanguage";
46
+ const _ALL = "AssistantLanguageList";
47
+ const _ALg = "AgentsList";
45
48
  const _AQC = "AssistantQuickCommand";
46
49
  const _AQCL = "AssistantQuickCommandsList";
47
50
  const _AS = "AgentSettings";
@@ -50,6 +53,7 @@ const _ASCg = "AgentSandboxCapability";
50
53
  const _ASE = "AgentSqsEngine";
51
54
  const _ASL = "AgentSkillsList";
52
55
  const _ASR = "AgentSkillReference";
56
+ const _ASS = "AssistantSpeechSettings";
53
57
  const _ASSO = "AgentSnapshotSandboxOptions";
54
58
  const _AT = "AgentTool";
55
59
  const _ATA = "AgentToolApproval";
@@ -65,6 +69,7 @@ const _ATFPH = "AgentToolFieldPredefinedHandler";
65
69
  const _ATP = "AgentToolPipeline";
66
70
  const _ATPg = "AgentTransferPipeline";
67
71
  const _ATRA = "AgentToolResultAnnotation";
72
+ const _ATS = "AssistantTranscriptionSettings";
68
73
  const _ATTA = "AgentToolTagAnnotation";
69
74
  const _ATV = "AgentToolVariable";
70
75
  const _ATVA = "AgentToolVariablesAnnotation";
@@ -221,7 +226,8 @@ const _ar = "artifacts";
221
226
  const _as = "assistant";
222
227
  const _as_ = "as";
223
228
  const _ass = "assignments";
224
- const _au = "auto";
229
+ const _au = "audio";
230
+ const _aut = "auto";
225
231
  const _b = "before";
226
232
  const _bOV = "basedOnVersion";
227
233
  const _bS = "backgroundSound";
@@ -881,16 +887,36 @@ exports.AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
881
887
  [_ass],
882
888
  [() => AgentWorkflowAssignmentsList], 1
883
889
  ];
890
+ exports.AssistantAudioSettings$ = [3, n2, _AAS,
891
+ 0,
892
+ [_ena, _en, _sp],
893
+ [2, 0, () => exports.AssistantSpeechSettings$], 1
894
+ ];
884
895
  exports.AssistantChannelSettings$ = [3, n2, _ACS,
885
896
  0,
886
- [_defa, _ui],
887
- [2, () => exports.AssistantUiSettings$]
897
+ [_defa, _ui, _au],
898
+ [2, () => exports.AssistantUiSettings$, () => exports.AssistantAudioSettings$]
899
+ ];
900
+ exports.AssistantLanguage$ = [3, n2, _AL,
901
+ 0,
902
+ [_cod, _vo, _iD],
903
+ [0, 0, 2], 2
888
904
  ];
889
905
  exports.AssistantQuickCommand$ = [3, n2, _AQC,
890
906
  0,
891
907
  [_tit, _pro, _d],
892
908
  [0, 0, 0], 2
893
909
  ];
910
+ exports.AssistantSpeechSettings$ = [3, n2, _ASS,
911
+ 0,
912
+ [_lan, _tra],
913
+ [() => AssistantLanguageList, () => exports.AssistantTranscriptionSettings$], 1
914
+ ];
915
+ exports.AssistantTranscriptionSettings$ = [3, n2, _ATS,
916
+ 0,
917
+ [_en, _aDu],
918
+ [0, 2]
919
+ ];
894
920
  exports.AssistantUiSettings$ = [3, n2, _AUS,
895
921
  0,
896
922
  [_we, _com, _pl],
@@ -1182,7 +1208,7 @@ var AgentsInfoList = [1, n2, _AIL,
1182
1208
  0, () => exports.AgentInfo$
1183
1209
  ];
1184
1210
  var AgentSkillIdsList = 64 | 0;
1185
- var AgentsList = [1, n2, _AL,
1211
+ var AgentsList = [1, n2, _ALg,
1186
1212
  0, () => exports.Agent$
1187
1213
  ];
1188
1214
  var AgentToolAnnotationsList = [1, n2, _ATAL,
@@ -1219,6 +1245,9 @@ var AgentWorkflowStepsList = [1, n2, _AWSL,
1219
1245
  var AgentWorkflowTransitionsList = [1, n2, _AWTL,
1220
1246
  0, () => exports.AgentWorkflowTransition$
1221
1247
  ];
1248
+ var AssistantLanguageList = [1, n2, _ALL,
1249
+ 0, () => exports.AssistantLanguage$
1250
+ ];
1222
1251
  var AssistantQuickCommandsList = [1, n2, _AQCL,
1223
1252
  0, () => exports.AssistantQuickCommand$
1224
1253
  ];
@@ -1275,7 +1304,7 @@ exports.AgentToolFieldHandler$ = [4, n2, _ATFH,
1275
1304
  ];
1276
1305
  exports.AgentToolVariableHandler$ = [4, n2, _ATVH,
1277
1306
  0,
1278
- [_au, _gui, _pred],
1307
+ [_aut, _gui, _pred],
1279
1308
  [() => exports.AgentToolVariableAutoHandler$, () => exports.AgentToolVariableGuidedHandler$, () => exports.AgentToolVariablePredefinedHandler$]
1280
1309
  ];
1281
1310
  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";
@@ -35,7 +36,9 @@ const _AHPg = "AgentHangupPipeline";
35
36
  const _AI = "AgentInfo";
36
37
  const _AIL = "AgentsInfoList";
37
38
  const _AKB = "AgentKnowledgeBase";
38
- const _AL = "AgentsList";
39
+ const _AL = "AssistantLanguage";
40
+ const _ALL = "AssistantLanguageList";
41
+ const _ALg = "AgentsList";
39
42
  const _AQC = "AssistantQuickCommand";
40
43
  const _AQCL = "AssistantQuickCommandsList";
41
44
  const _AS = "AgentSettings";
@@ -44,6 +47,7 @@ const _ASCg = "AgentSandboxCapability";
44
47
  const _ASE = "AgentSqsEngine";
45
48
  const _ASL = "AgentSkillsList";
46
49
  const _ASR = "AgentSkillReference";
50
+ const _ASS = "AssistantSpeechSettings";
47
51
  const _ASSO = "AgentSnapshotSandboxOptions";
48
52
  const _AT = "AgentTool";
49
53
  const _ATA = "AgentToolApproval";
@@ -59,6 +63,7 @@ const _ATFPH = "AgentToolFieldPredefinedHandler";
59
63
  const _ATP = "AgentToolPipeline";
60
64
  const _ATPg = "AgentTransferPipeline";
61
65
  const _ATRA = "AgentToolResultAnnotation";
66
+ const _ATS = "AssistantTranscriptionSettings";
62
67
  const _ATTA = "AgentToolTagAnnotation";
63
68
  const _ATV = "AgentToolVariable";
64
69
  const _ATVA = "AgentToolVariablesAnnotation";
@@ -215,7 +220,8 @@ const _ar = "artifacts";
215
220
  const _as = "assistant";
216
221
  const _as_ = "as";
217
222
  const _ass = "assignments";
218
- const _au = "auto";
223
+ const _au = "audio";
224
+ const _aut = "auto";
219
225
  const _b = "before";
220
226
  const _bOV = "basedOnVersion";
221
227
  const _bS = "backgroundSound";
@@ -875,16 +881,36 @@ export var AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
875
881
  [_ass],
876
882
  [() => AgentWorkflowAssignmentsList], 1
877
883
  ];
884
+ export var AssistantAudioSettings$ = [3, n2, _AAS,
885
+ 0,
886
+ [_ena, _en, _sp],
887
+ [2, 0, () => AssistantSpeechSettings$], 1
888
+ ];
878
889
  export var AssistantChannelSettings$ = [3, n2, _ACS,
879
890
  0,
880
- [_defa, _ui],
881
- [2, () => AssistantUiSettings$]
891
+ [_defa, _ui, _au],
892
+ [2, () => AssistantUiSettings$, () => AssistantAudioSettings$]
893
+ ];
894
+ export var AssistantLanguage$ = [3, n2, _AL,
895
+ 0,
896
+ [_cod, _vo, _iD],
897
+ [0, 0, 2], 2
882
898
  ];
883
899
  export var AssistantQuickCommand$ = [3, n2, _AQC,
884
900
  0,
885
901
  [_tit, _pro, _d],
886
902
  [0, 0, 0], 2
887
903
  ];
904
+ export var AssistantSpeechSettings$ = [3, n2, _ASS,
905
+ 0,
906
+ [_lan, _tra],
907
+ [() => AssistantLanguageList, () => AssistantTranscriptionSettings$], 1
908
+ ];
909
+ export var AssistantTranscriptionSettings$ = [3, n2, _ATS,
910
+ 0,
911
+ [_en, _aDu],
912
+ [0, 2]
913
+ ];
888
914
  export var AssistantUiSettings$ = [3, n2, _AUS,
889
915
  0,
890
916
  [_we, _com, _pl],
@@ -1176,7 +1202,7 @@ var AgentsInfoList = [1, n2, _AIL,
1176
1202
  0, () => AgentInfo$
1177
1203
  ];
1178
1204
  var AgentSkillIdsList = 64 | 0;
1179
- var AgentsList = [1, n2, _AL,
1205
+ var AgentsList = [1, n2, _ALg,
1180
1206
  0, () => Agent$
1181
1207
  ];
1182
1208
  var AgentToolAnnotationsList = [1, n2, _ATAL,
@@ -1213,6 +1239,9 @@ var AgentWorkflowStepsList = [1, n2, _AWSL,
1213
1239
  var AgentWorkflowTransitionsList = [1, n2, _AWTL,
1214
1240
  0, () => AgentWorkflowTransition$
1215
1241
  ];
1242
+ var AssistantLanguageList = [1, n2, _ALL,
1243
+ 0, () => AssistantLanguage$
1244
+ ];
1216
1245
  var AssistantQuickCommandsList = [1, n2, _AQCL,
1217
1246
  0, () => AssistantQuickCommand$
1218
1247
  ];
@@ -1269,7 +1298,7 @@ export var AgentToolFieldHandler$ = [4, n2, _ATFH,
1269
1298
  ];
1270
1299
  export var AgentToolVariableHandler$ = [4, n2, _ATVH,
1271
1300
  0,
1272
- [_au, _gui, _pred],
1301
+ [_aut, _gui, _pred],
1273
1302
  [() => AgentToolVariableAutoHandler$, () => AgentToolVariableGuidedHandler$, () => AgentToolVariablePredefinedHandler$]
1274
1303
  ];
1275
1304
  export var AgentWorkflowAction$ = [4, n2, _AWAg,
@@ -133,6 +133,23 @@ declare const CreateAgentCommand_base: {
133
133
  * ],
134
134
  * placeholder: "STRING_VALUE",
135
135
  * },
136
+ * audio: { // AssistantAudioSettings
137
+ * enabled: true || false, // required
138
+ * engine: "STRING_VALUE",
139
+ * speech: { // AssistantSpeechSettings
140
+ * languages: [ // AssistantLanguageList // required
141
+ * { // AssistantLanguage
142
+ * code: "STRING_VALUE", // required
143
+ * voice: "STRING_VALUE", // required
144
+ * isDefault: true || false,
145
+ * },
146
+ * ],
147
+ * transcription: { // AssistantTranscriptionSettings
148
+ * engine: "STRING_VALUE",
149
+ * autoDetect: true || false,
150
+ * },
151
+ * },
152
+ * },
136
153
  * },
137
154
  * },
138
155
  * engine: { // AgentEngine Union: only one key present
@@ -979,6 +996,23 @@ declare const CreateAgentCommand_base: {
979
996
  * // ],
980
997
  * // placeholder: "STRING_VALUE",
981
998
  * // },
999
+ * // audio: { // AssistantAudioSettings
1000
+ * // enabled: true || false, // required
1001
+ * // engine: "STRING_VALUE",
1002
+ * // speech: { // AssistantSpeechSettings
1003
+ * // languages: [ // AssistantLanguageList // required
1004
+ * // { // AssistantLanguage
1005
+ * // code: "STRING_VALUE", // required
1006
+ * // voice: "STRING_VALUE", // required
1007
+ * // isDefault: true || false,
1008
+ * // },
1009
+ * // ],
1010
+ * // transcription: { // AssistantTranscriptionSettings
1011
+ * // engine: "STRING_VALUE",
1012
+ * // autoDetect: true || false,
1013
+ * // },
1014
+ * // },
1015
+ * // },
982
1016
  * // },
983
1017
  * // },
984
1018
  * // engine: { // AgentEngine Union: only one key present
@@ -140,6 +140,23 @@ declare const GetAgentCommand_base: {
140
140
  * // ],
141
141
  * // placeholder: "STRING_VALUE",
142
142
  * // },
143
+ * // audio: { // AssistantAudioSettings
144
+ * // enabled: true || false, // required
145
+ * // engine: "STRING_VALUE",
146
+ * // speech: { // AssistantSpeechSettings
147
+ * // languages: [ // AssistantLanguageList // required
148
+ * // { // AssistantLanguage
149
+ * // code: "STRING_VALUE", // required
150
+ * // voice: "STRING_VALUE", // required
151
+ * // isDefault: true || false,
152
+ * // },
153
+ * // ],
154
+ * // transcription: { // AssistantTranscriptionSettings
155
+ * // engine: "STRING_VALUE",
156
+ * // autoDetect: true || false,
157
+ * // },
158
+ * // },
159
+ * // },
143
160
  * // },
144
161
  * // },
145
162
  * // engine: { // AgentEngine Union: only one key present
@@ -147,6 +147,23 @@ declare const GetAgentVersionCommand_base: {
147
147
  * // ],
148
148
  * // placeholder: "STRING_VALUE",
149
149
  * // },
150
+ * // audio: { // AssistantAudioSettings
151
+ * // enabled: true || false, // required
152
+ * // engine: "STRING_VALUE",
153
+ * // speech: { // AssistantSpeechSettings
154
+ * // languages: [ // AssistantLanguageList // required
155
+ * // { // AssistantLanguage
156
+ * // code: "STRING_VALUE", // required
157
+ * // voice: "STRING_VALUE", // required
158
+ * // isDefault: true || false,
159
+ * // },
160
+ * // ],
161
+ * // transcription: { // AssistantTranscriptionSettings
162
+ * // engine: "STRING_VALUE",
163
+ * // autoDetect: true || false,
164
+ * // },
165
+ * // },
166
+ * // },
150
167
  * // },
151
168
  * // },
152
169
  * // engine: { // AgentEngine Union: only one key present
@@ -145,6 +145,23 @@ declare const ListAgentsCommand_base: {
145
145
  * // ],
146
146
  * // placeholder: "STRING_VALUE",
147
147
  * // },
148
+ * // audio: { // AssistantAudioSettings
149
+ * // enabled: true || false, // required
150
+ * // engine: "STRING_VALUE",
151
+ * // speech: { // AssistantSpeechSettings
152
+ * // languages: [ // AssistantLanguageList // required
153
+ * // { // AssistantLanguage
154
+ * // code: "STRING_VALUE", // required
155
+ * // voice: "STRING_VALUE", // required
156
+ * // isDefault: true || false,
157
+ * // },
158
+ * // ],
159
+ * // transcription: { // AssistantTranscriptionSettings
160
+ * // engine: "STRING_VALUE",
161
+ * // autoDetect: true || false,
162
+ * // },
163
+ * // },
164
+ * // },
148
165
  * // },
149
166
  * // },
150
167
  * // engine: { // AgentEngine Union: only one key present
@@ -149,6 +149,23 @@ declare const PublishAgentVersionCommand_base: {
149
149
  * // ],
150
150
  * // placeholder: "STRING_VALUE",
151
151
  * // },
152
+ * // audio: { // AssistantAudioSettings
153
+ * // enabled: true || false, // required
154
+ * // engine: "STRING_VALUE",
155
+ * // speech: { // AssistantSpeechSettings
156
+ * // languages: [ // AssistantLanguageList // required
157
+ * // { // AssistantLanguage
158
+ * // code: "STRING_VALUE", // required
159
+ * // voice: "STRING_VALUE", // required
160
+ * // isDefault: true || false,
161
+ * // },
162
+ * // ],
163
+ * // transcription: { // AssistantTranscriptionSettings
164
+ * // engine: "STRING_VALUE",
165
+ * // autoDetect: true || false,
166
+ * // },
167
+ * // },
168
+ * // },
152
169
  * // },
153
170
  * // },
154
171
  * // engine: { // AgentEngine Union: only one key present
@@ -142,6 +142,23 @@ declare const RestoreAgentVersionToDraftCommand_base: {
142
142
  * // ],
143
143
  * // placeholder: "STRING_VALUE",
144
144
  * // },
145
+ * // audio: { // AssistantAudioSettings
146
+ * // enabled: true || false, // required
147
+ * // engine: "STRING_VALUE",
148
+ * // speech: { // AssistantSpeechSettings
149
+ * // languages: [ // AssistantLanguageList // required
150
+ * // { // AssistantLanguage
151
+ * // code: "STRING_VALUE", // required
152
+ * // voice: "STRING_VALUE", // required
153
+ * // isDefault: true || false,
154
+ * // },
155
+ * // ],
156
+ * // transcription: { // AssistantTranscriptionSettings
157
+ * // engine: "STRING_VALUE",
158
+ * // autoDetect: true || false,
159
+ * // },
160
+ * // },
161
+ * // },
145
162
  * // },
146
163
  * // },
147
164
  * // engine: { // AgentEngine Union: only one key present
@@ -133,6 +133,23 @@ declare const UpdateAgentCommand_base: {
133
133
  * ],
134
134
  * placeholder: "STRING_VALUE",
135
135
  * },
136
+ * audio: { // AssistantAudioSettings
137
+ * enabled: true || false, // required
138
+ * engine: "STRING_VALUE",
139
+ * speech: { // AssistantSpeechSettings
140
+ * languages: [ // AssistantLanguageList // required
141
+ * { // AssistantLanguage
142
+ * code: "STRING_VALUE", // required
143
+ * voice: "STRING_VALUE", // required
144
+ * isDefault: true || false,
145
+ * },
146
+ * ],
147
+ * transcription: { // AssistantTranscriptionSettings
148
+ * engine: "STRING_VALUE",
149
+ * autoDetect: true || false,
150
+ * },
151
+ * },
152
+ * },
136
153
  * },
137
154
  * },
138
155
  * engine: { // AgentEngine Union: only one key present
@@ -981,6 +998,23 @@ declare const UpdateAgentCommand_base: {
981
998
  * // ],
982
999
  * // placeholder: "STRING_VALUE",
983
1000
  * // },
1001
+ * // audio: { // AssistantAudioSettings
1002
+ * // enabled: true || false, // required
1003
+ * // engine: "STRING_VALUE",
1004
+ * // speech: { // AssistantSpeechSettings
1005
+ * // languages: [ // AssistantLanguageList // required
1006
+ * // { // AssistantLanguage
1007
+ * // code: "STRING_VALUE", // required
1008
+ * // voice: "STRING_VALUE", // required
1009
+ * // isDefault: true || false,
1010
+ * // },
1011
+ * // ],
1012
+ * // transcription: { // AssistantTranscriptionSettings
1013
+ * // engine: "STRING_VALUE",
1014
+ * // autoDetect: true || false,
1015
+ * // },
1016
+ * // },
1017
+ * // },
984
1018
  * // },
985
1019
  * // },
986
1020
  * // engine: { // AgentEngine Union: only one key present
@@ -57,6 +57,102 @@ export interface AgentAccess {
57
57
  */
58
58
  grants?: AgentGrantPrincipal[] | undefined;
59
59
  }
60
+ /**
61
+ * One language the assistant audio channel can recognise and speak. There is deliberately no
62
+ * greeting here: an assistant conversation is already open when its audio call starts, so there
63
+ * is no new conversation to welcome and no initial phrase for the runtime to choose or repeat.
64
+ * @public
65
+ */
66
+ export interface AssistantLanguage {
67
+ /**
68
+ * 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.
69
+ * @public
70
+ */
71
+ code: string;
72
+ /**
73
+ * Voice this language speaks with. Reuses the channel-neutral URI value so providers and synthesis parameters have the same representation in every channel without coupling their language rules.
74
+ * @public
75
+ */
76
+ voice: string;
77
+ /**
78
+ * Marks the language used when the caller's language matches nothing configured.
79
+ *
80
+ * THE FULL RESOLUTION ORDER, because a client author reading only this contract cannot
81
+ * otherwise find it: an exact match on the call's language, then a match on its primary
82
+ * subtag (`fr` finds `fr-FR`), then the language marked here, then a language whose primary
83
+ * subtag is `en`, then the first entry in the list. The same order the voice channel resolves
84
+ * by — the rule belongs to choosing a language, not to a channel.
85
+ *
86
+ * At most one language may carry it. A record with two — reachable through the API, where no
87
+ * form prevents it — resolves to the first marked one in list order: refusing an
88
+ * already-open assistant conversation over configuration drift is worse than serving it.
89
+ * @public
90
+ */
91
+ isDefault?: boolean | undefined;
92
+ }
93
+ /**
94
+ * Speech-to-text configuration owned by the assistant channel, so changes to assistant recognition policy cannot alter telephony calls.
95
+ * @public
96
+ */
97
+ export interface AssistantTranscriptionSettings {
98
+ /**
99
+ * Recogniser used for assistant audio. Absent resolves to the platform default, resolved by the server so exactly one component decides it.
100
+ * @public
101
+ */
102
+ engine?: string | undefined;
103
+ /**
104
+ * Identify the caller's language per utterance and switch voice and reply language while the
105
+ * audio call is open. Absent means off. It requires at least two configured languages and a
106
+ * recogniser that can identify them; the server clamps it to false otherwise because passing
107
+ * one candidate to an identifying recogniser can make it reject the stream.
108
+ * @public
109
+ */
110
+ autoDetect?: boolean | undefined;
111
+ }
112
+ /**
113
+ * Recognition and synthesis policy for assistant audio. This is assistant-owned rather than a
114
+ * VoiceSpeechSettings reuse so telephony and assistant audio can evolve independently. It has no
115
+ * language greeting and no greet-every-language switch because an assistant conversation is
116
+ * already open when its audio call starts, leaving nothing for the channel to greet.
117
+ * @public
118
+ */
119
+ export interface AssistantSpeechSettings {
120
+ /**
121
+ * Languages the assistant audio channel can recognise and speak. The @length bound is a
122
+ * STORAGE ceiling, not the product rule: the real cap is the recogniser's own candidate limit,
123
+ * enforced in the service so a recogniser with a different limit needs no model change.
124
+ * @public
125
+ */
126
+ languages: AssistantLanguage[];
127
+ /**
128
+ * Which recogniser listens to assistant audio and whether it identifies the language. Absent uses the platform default recogniser without language identification.
129
+ * @public
130
+ */
131
+ transcription?: AssistantTranscriptionSettings | undefined;
132
+ }
133
+ /**
134
+ * Switchable audio for the assistant channel. The settings object keeps enablement beside its
135
+ * speech policy, matching the voice channel's switchable blocks so a disabled configuration can
136
+ * be retained without serving audio.
137
+ * @public
138
+ */
139
+ export interface AssistantAudioSettings {
140
+ /**
141
+ * Whether the assistant accepts audio calls. Required so the presence of saved speech configuration is never mistaken for enablement.
142
+ * @public
143
+ */
144
+ enabled: boolean;
145
+ /**
146
+ * Which runtime carries the call. Absent is 'voice'.
147
+ * @public
148
+ */
149
+ engine?: string | undefined;
150
+ /**
151
+ * Languages, voices and recognition policy for assistant audio. Absent leaves those choices to platform defaults, including when audio is enabled.
152
+ * @public
153
+ */
154
+ speech?: AssistantSpeechSettings | undefined;
155
+ }
60
156
  /**
61
157
  * 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
158
  * @public
@@ -116,6 +212,7 @@ export interface AssistantUiSettings {
116
212
  placeholder?: string | undefined;
117
213
  }
118
214
  /**
215
+ * Assistant channel settings. Presence enables the in-app assistant surface; audio remains unavailable unless its separate settings are present and enabled.
119
216
  * @public
120
217
  */
121
218
  export interface AssistantChannelSettings {
@@ -129,6 +226,11 @@ export interface AssistantChannelSettings {
129
226
  * @public
130
227
  */
131
228
  ui?: AssistantUiSettings | undefined;
229
+ /**
230
+ * 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`.
231
+ * @public
232
+ */
233
+ audio?: AssistantAudioSettings | undefined;
132
234
  }
133
235
  /**
134
236
  * @public
@@ -495,6 +597,10 @@ export interface AgentChannels {
495
597
  */
496
598
  voice?: VoiceChannelSettings | undefined;
497
599
  chat?: ChatChannelSettings | undefined;
600
+ /**
601
+ * Assistant channel settings. Presence enables the in-app assistant surface; audio remains unavailable unless its separate settings are present and enabled.
602
+ * @public
603
+ */
498
604
  assistant?: AssistantChannelSettings | undefined;
499
605
  }
500
606
  /**
@@ -95,8 +95,12 @@ export declare var AgentWorkflowStep$: StaticStructureSchema;
95
95
  export declare var AgentWorkflowStepPosition$: StaticStructureSchema;
96
96
  export declare var AgentWorkflowTransition$: StaticStructureSchema;
97
97
  export declare var AgentWorkflowVariablesHandler$: StaticStructureSchema;
98
+ export declare var AssistantAudioSettings$: StaticStructureSchema;
98
99
  export declare var AssistantChannelSettings$: StaticStructureSchema;
100
+ export declare var AssistantLanguage$: StaticStructureSchema;
99
101
  export declare var AssistantQuickCommand$: StaticStructureSchema;
102
+ export declare var AssistantSpeechSettings$: StaticStructureSchema;
103
+ export declare var AssistantTranscriptionSettings$: StaticStructureSchema;
100
104
  export declare var AssistantUiSettings$: StaticStructureSchema;
101
105
  export declare var AssistantWelcomeSettings$: StaticStructureSchema;
102
106
  export declare var ChatChannelSettings$: 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.42",
4
+ "version": "1.0.43",
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",