@wildix/wilma-agents-client 1.0.44 → 1.0.46

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.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.AgentSpokenPhrase$ = 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.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$ = exports.AgentToolVariablesAnnotation$ = 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.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$ = exports.AgentToolVariablesAnnotation$ = void 0;
5
+ 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$ = exports.CompareAgentVersionsInput$ = 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$ = 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";
@@ -52,6 +55,7 @@ const _ASL = "AgentSkillsList";
52
55
  const _ASP = "AgentSpokenPhrase";
53
56
  const _ASPL = "AgentSpokenPhraseList";
54
57
  const _ASR = "AgentSkillReference";
58
+ const _ASS = "AssistantSpeechSettings";
55
59
  const _ASSO = "AgentSnapshotSandboxOptions";
56
60
  const _AT = "AgentTool";
57
61
  const _ATA = "AgentToolApproval";
@@ -67,6 +71,7 @@ const _ATFPH = "AgentToolFieldPredefinedHandler";
67
71
  const _ATP = "AgentToolPipeline";
68
72
  const _ATPg = "AgentTransferPipeline";
69
73
  const _ATRA = "AgentToolResultAnnotation";
74
+ const _ATS = "AssistantTranscriptionSettings";
70
75
  const _ATTA = "AgentToolTagAnnotation";
71
76
  const _ATV = "AgentToolVariable";
72
77
  const _ATVA = "AgentToolVariablesAnnotation";
@@ -223,7 +228,8 @@ const _ar = "artifacts";
223
228
  const _as = "assistant";
224
229
  const _as_ = "as";
225
230
  const _ass = "assignments";
226
- const _au = "auto";
231
+ const _au = "audio";
232
+ const _aut = "auto";
227
233
  const _b = "before";
228
234
  const _bOV = "basedOnVersion";
229
235
  const _bS = "backgroundSound";
@@ -894,16 +900,36 @@ exports.AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
894
900
  [_ass],
895
901
  [() => AgentWorkflowAssignmentsList], 1
896
902
  ];
903
+ exports.AssistantAudioSettings$ = [3, n2, _AAS,
904
+ 0,
905
+ [_ena, _en, _sp],
906
+ [2, 0, () => exports.AssistantSpeechSettings$], 1
907
+ ];
897
908
  exports.AssistantChannelSettings$ = [3, n2, _ACS,
898
909
  0,
899
- [_defa, _ui],
900
- [2, () => exports.AssistantUiSettings$]
910
+ [_defa, _ui, _au],
911
+ [2, () => exports.AssistantUiSettings$, () => exports.AssistantAudioSettings$]
912
+ ];
913
+ exports.AssistantLanguage$ = [3, n2, _AL,
914
+ 0,
915
+ [_cod, _vo, _iD],
916
+ [0, 0, 2], 2
901
917
  ];
902
918
  exports.AssistantQuickCommand$ = [3, n2, _AQC,
903
919
  0,
904
920
  [_tit, _pro, _d],
905
921
  [0, 0, 0], 2
906
922
  ];
923
+ exports.AssistantSpeechSettings$ = [3, n2, _ASS,
924
+ 0,
925
+ [_lan, _tra],
926
+ [() => AssistantLanguageList, () => exports.AssistantTranscriptionSettings$], 1
927
+ ];
928
+ exports.AssistantTranscriptionSettings$ = [3, n2, _ATS,
929
+ 0,
930
+ [_en],
931
+ [0]
932
+ ];
907
933
  exports.AssistantUiSettings$ = [3, n2, _AUS,
908
934
  0,
909
935
  [_we, _com, _pl],
@@ -1195,7 +1221,7 @@ var AgentsInfoList = [1, n2, _AIL,
1195
1221
  0, () => exports.AgentInfo$
1196
1222
  ];
1197
1223
  var AgentSkillIdsList = 64 | 0;
1198
- var AgentsList = [1, n2, _AL,
1224
+ var AgentsList = [1, n2, _ALg,
1199
1225
  0, () => exports.Agent$
1200
1226
  ];
1201
1227
  var AgentSpokenPhraseList = [1, n2, _ASPL,
@@ -1235,6 +1261,9 @@ var AgentWorkflowStepsList = [1, n2, _AWSL,
1235
1261
  var AgentWorkflowTransitionsList = [1, n2, _AWTL,
1236
1262
  0, () => exports.AgentWorkflowTransition$
1237
1263
  ];
1264
+ var AssistantLanguageList = [1, n2, _ALL,
1265
+ 0, () => exports.AssistantLanguage$
1266
+ ];
1238
1267
  var AssistantQuickCommandsList = [1, n2, _AQCL,
1239
1268
  0, () => exports.AssistantQuickCommand$
1240
1269
  ];
@@ -1291,7 +1320,7 @@ exports.AgentToolFieldHandler$ = [4, n2, _ATFH,
1291
1320
  ];
1292
1321
  exports.AgentToolVariableHandler$ = [4, n2, _ATVH,
1293
1322
  0,
1294
- [_au, _gui, _pred],
1323
+ [_aut, _gui, _pred],
1295
1324
  [() => exports.AgentToolVariableAutoHandler$, () => exports.AgentToolVariableGuidedHandler$, () => exports.AgentToolVariablePredefinedHandler$]
1296
1325
  ];
1297
1326
  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";
@@ -46,6 +49,7 @@ const _ASL = "AgentSkillsList";
46
49
  const _ASP = "AgentSpokenPhrase";
47
50
  const _ASPL = "AgentSpokenPhraseList";
48
51
  const _ASR = "AgentSkillReference";
52
+ const _ASS = "AssistantSpeechSettings";
49
53
  const _ASSO = "AgentSnapshotSandboxOptions";
50
54
  const _AT = "AgentTool";
51
55
  const _ATA = "AgentToolApproval";
@@ -61,6 +65,7 @@ const _ATFPH = "AgentToolFieldPredefinedHandler";
61
65
  const _ATP = "AgentToolPipeline";
62
66
  const _ATPg = "AgentTransferPipeline";
63
67
  const _ATRA = "AgentToolResultAnnotation";
68
+ const _ATS = "AssistantTranscriptionSettings";
64
69
  const _ATTA = "AgentToolTagAnnotation";
65
70
  const _ATV = "AgentToolVariable";
66
71
  const _ATVA = "AgentToolVariablesAnnotation";
@@ -217,7 +222,8 @@ const _ar = "artifacts";
217
222
  const _as = "assistant";
218
223
  const _as_ = "as";
219
224
  const _ass = "assignments";
220
- const _au = "auto";
225
+ const _au = "audio";
226
+ const _aut = "auto";
221
227
  const _b = "before";
222
228
  const _bOV = "basedOnVersion";
223
229
  const _bS = "backgroundSound";
@@ -888,16 +894,36 @@ export var AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
888
894
  [_ass],
889
895
  [() => AgentWorkflowAssignmentsList], 1
890
896
  ];
897
+ export var AssistantAudioSettings$ = [3, n2, _AAS,
898
+ 0,
899
+ [_ena, _en, _sp],
900
+ [2, 0, () => AssistantSpeechSettings$], 1
901
+ ];
891
902
  export var AssistantChannelSettings$ = [3, n2, _ACS,
892
903
  0,
893
- [_defa, _ui],
894
- [2, () => AssistantUiSettings$]
904
+ [_defa, _ui, _au],
905
+ [2, () => AssistantUiSettings$, () => AssistantAudioSettings$]
906
+ ];
907
+ export var AssistantLanguage$ = [3, n2, _AL,
908
+ 0,
909
+ [_cod, _vo, _iD],
910
+ [0, 0, 2], 2
895
911
  ];
896
912
  export var AssistantQuickCommand$ = [3, n2, _AQC,
897
913
  0,
898
914
  [_tit, _pro, _d],
899
915
  [0, 0, 0], 2
900
916
  ];
917
+ export var AssistantSpeechSettings$ = [3, n2, _ASS,
918
+ 0,
919
+ [_lan, _tra],
920
+ [() => AssistantLanguageList, () => AssistantTranscriptionSettings$], 1
921
+ ];
922
+ export var AssistantTranscriptionSettings$ = [3, n2, _ATS,
923
+ 0,
924
+ [_en],
925
+ [0]
926
+ ];
901
927
  export var AssistantUiSettings$ = [3, n2, _AUS,
902
928
  0,
903
929
  [_we, _com, _pl],
@@ -1189,7 +1215,7 @@ var AgentsInfoList = [1, n2, _AIL,
1189
1215
  0, () => AgentInfo$
1190
1216
  ];
1191
1217
  var AgentSkillIdsList = 64 | 0;
1192
- var AgentsList = [1, n2, _AL,
1218
+ var AgentsList = [1, n2, _ALg,
1193
1219
  0, () => Agent$
1194
1220
  ];
1195
1221
  var AgentSpokenPhraseList = [1, n2, _ASPL,
@@ -1229,6 +1255,9 @@ var AgentWorkflowStepsList = [1, n2, _AWSL,
1229
1255
  var AgentWorkflowTransitionsList = [1, n2, _AWTL,
1230
1256
  0, () => AgentWorkflowTransition$
1231
1257
  ];
1258
+ var AssistantLanguageList = [1, n2, _ALL,
1259
+ 0, () => AssistantLanguage$
1260
+ ];
1232
1261
  var AssistantQuickCommandsList = [1, n2, _AQCL,
1233
1262
  0, () => AssistantQuickCommand$
1234
1263
  ];
@@ -1285,7 +1314,7 @@ export var AgentToolFieldHandler$ = [4, n2, _ATFH,
1285
1314
  ];
1286
1315
  export var AgentToolVariableHandler$ = [4, n2, _ATVH,
1287
1316
  0,
1288
- [_au, _gui, _pred],
1317
+ [_aut, _gui, _pred],
1289
1318
  [() => AgentToolVariableAutoHandler$, () => AgentToolVariableGuidedHandler$, () => AgentToolVariablePredefinedHandler$]
1290
1319
  ];
1291
1320
  export var AgentWorkflowAction$ = [4, n2, _AWAg,
@@ -145,6 +145,22 @@ declare const CreateAgentCommand_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
+ * },
162
+ * },
163
+ * },
148
164
  * },
149
165
  * },
150
166
  * engine: { // AgentEngine Union: only one key present
@@ -1032,6 +1048,22 @@ declare const CreateAgentCommand_base: {
1032
1048
  * // ],
1033
1049
  * // placeholder: "STRING_VALUE",
1034
1050
  * // },
1051
+ * // audio: { // AssistantAudioSettings
1052
+ * // enabled: true || false, // required
1053
+ * // engine: "STRING_VALUE",
1054
+ * // speech: { // AssistantSpeechSettings
1055
+ * // languages: [ // AssistantLanguageList // required
1056
+ * // { // AssistantLanguage
1057
+ * // code: "STRING_VALUE", // required
1058
+ * // voice: "STRING_VALUE", // required
1059
+ * // isDefault: true || false,
1060
+ * // },
1061
+ * // ],
1062
+ * // transcription: { // AssistantTranscriptionSettings
1063
+ * // engine: "STRING_VALUE",
1064
+ * // },
1065
+ * // },
1066
+ * // },
1035
1067
  * // },
1036
1068
  * // },
1037
1069
  * // engine: { // AgentEngine Union: only one key present
@@ -152,6 +152,22 @@ declare const GetAgentCommand_base: {
152
152
  * // ],
153
153
  * // placeholder: "STRING_VALUE",
154
154
  * // },
155
+ * // audio: { // AssistantAudioSettings
156
+ * // enabled: true || false, // required
157
+ * // engine: "STRING_VALUE",
158
+ * // speech: { // AssistantSpeechSettings
159
+ * // languages: [ // AssistantLanguageList // required
160
+ * // { // AssistantLanguage
161
+ * // code: "STRING_VALUE", // required
162
+ * // voice: "STRING_VALUE", // required
163
+ * // isDefault: true || false,
164
+ * // },
165
+ * // ],
166
+ * // transcription: { // AssistantTranscriptionSettings
167
+ * // engine: "STRING_VALUE",
168
+ * // },
169
+ * // },
170
+ * // },
155
171
  * // },
156
172
  * // },
157
173
  * // engine: { // AgentEngine Union: only one key present
@@ -159,6 +159,22 @@ declare const GetAgentVersionCommand_base: {
159
159
  * // ],
160
160
  * // placeholder: "STRING_VALUE",
161
161
  * // },
162
+ * // audio: { // AssistantAudioSettings
163
+ * // enabled: true || false, // required
164
+ * // engine: "STRING_VALUE",
165
+ * // speech: { // AssistantSpeechSettings
166
+ * // languages: [ // AssistantLanguageList // required
167
+ * // { // AssistantLanguage
168
+ * // code: "STRING_VALUE", // required
169
+ * // voice: "STRING_VALUE", // required
170
+ * // isDefault: true || false,
171
+ * // },
172
+ * // ],
173
+ * // transcription: { // AssistantTranscriptionSettings
174
+ * // engine: "STRING_VALUE",
175
+ * // },
176
+ * // },
177
+ * // },
162
178
  * // },
163
179
  * // },
164
180
  * // engine: { // AgentEngine Union: only one key present
@@ -157,6 +157,22 @@ declare const ListAgentsCommand_base: {
157
157
  * // ],
158
158
  * // placeholder: "STRING_VALUE",
159
159
  * // },
160
+ * // audio: { // AssistantAudioSettings
161
+ * // enabled: true || false, // required
162
+ * // engine: "STRING_VALUE",
163
+ * // speech: { // AssistantSpeechSettings
164
+ * // languages: [ // AssistantLanguageList // required
165
+ * // { // AssistantLanguage
166
+ * // code: "STRING_VALUE", // required
167
+ * // voice: "STRING_VALUE", // required
168
+ * // isDefault: true || false,
169
+ * // },
170
+ * // ],
171
+ * // transcription: { // AssistantTranscriptionSettings
172
+ * // engine: "STRING_VALUE",
173
+ * // },
174
+ * // },
175
+ * // },
160
176
  * // },
161
177
  * // },
162
178
  * // engine: { // AgentEngine Union: only one key present
@@ -161,6 +161,22 @@ declare const PublishAgentVersionCommand_base: {
161
161
  * // ],
162
162
  * // placeholder: "STRING_VALUE",
163
163
  * // },
164
+ * // audio: { // AssistantAudioSettings
165
+ * // enabled: true || false, // required
166
+ * // engine: "STRING_VALUE",
167
+ * // speech: { // AssistantSpeechSettings
168
+ * // languages: [ // AssistantLanguageList // required
169
+ * // { // AssistantLanguage
170
+ * // code: "STRING_VALUE", // required
171
+ * // voice: "STRING_VALUE", // required
172
+ * // isDefault: true || false,
173
+ * // },
174
+ * // ],
175
+ * // transcription: { // AssistantTranscriptionSettings
176
+ * // engine: "STRING_VALUE",
177
+ * // },
178
+ * // },
179
+ * // },
164
180
  * // },
165
181
  * // },
166
182
  * // engine: { // AgentEngine Union: only one key present
@@ -154,6 +154,22 @@ declare const RestoreAgentVersionToDraftCommand_base: {
154
154
  * // ],
155
155
  * // placeholder: "STRING_VALUE",
156
156
  * // },
157
+ * // audio: { // AssistantAudioSettings
158
+ * // enabled: true || false, // required
159
+ * // engine: "STRING_VALUE",
160
+ * // speech: { // AssistantSpeechSettings
161
+ * // languages: [ // AssistantLanguageList // required
162
+ * // { // AssistantLanguage
163
+ * // code: "STRING_VALUE", // required
164
+ * // voice: "STRING_VALUE", // required
165
+ * // isDefault: true || false,
166
+ * // },
167
+ * // ],
168
+ * // transcription: { // AssistantTranscriptionSettings
169
+ * // engine: "STRING_VALUE",
170
+ * // },
171
+ * // },
172
+ * // },
157
173
  * // },
158
174
  * // },
159
175
  * // engine: { // AgentEngine Union: only one key present
@@ -145,6 +145,22 @@ declare const UpdateAgentCommand_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
+ * },
162
+ * },
163
+ * },
148
164
  * },
149
165
  * },
150
166
  * engine: { // AgentEngine Union: only one key present
@@ -1034,6 +1050,22 @@ declare const UpdateAgentCommand_base: {
1034
1050
  * // ],
1035
1051
  * // placeholder: "STRING_VALUE",
1036
1052
  * // },
1053
+ * // audio: { // AssistantAudioSettings
1054
+ * // enabled: true || false, // required
1055
+ * // engine: "STRING_VALUE",
1056
+ * // speech: { // AssistantSpeechSettings
1057
+ * // languages: [ // AssistantLanguageList // required
1058
+ * // { // AssistantLanguage
1059
+ * // code: "STRING_VALUE", // required
1060
+ * // voice: "STRING_VALUE", // required
1061
+ * // isDefault: true || false,
1062
+ * // },
1063
+ * // ],
1064
+ * // transcription: { // AssistantTranscriptionSettings
1065
+ * // engine: "STRING_VALUE",
1066
+ * // },
1067
+ * // },
1068
+ * // },
1037
1069
  * // },
1038
1070
  * // },
1039
1071
  * // 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
95
+ * recognition policy cannot alter telephony calls.
96
+ *
97
+ * NO `autoDetect` HERE, unlike the voice channel: on this channel configuring a second language
98
+ * IS the request to recognise which one is being spoken — nobody lists two and then asks to be
99
+ * heard in only one — so the server derives identification from the language list and clamps it
100
+ * to false when the recogniser cannot identify among them, or there are too few to identify. The
101
+ * voice channel keeps the switch because a dialplan can hand a call its language, which is a
102
+ * choice an assistant conversation never has to make.
103
+ * @public
104
+ */
105
+ export interface AssistantTranscriptionSettings {
106
+ /**
107
+ * Recogniser used for assistant audio. Absent resolves to the platform default, resolved by the server so exactly one component decides it.
108
+ * @public
109
+ */
110
+ engine?: string | 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. Absent uses the platform default recogniser. Whether it identifies the spoken language is derived from `languages` rather than configured — see AssistantTranscriptionSettings.
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
@@ -521,6 +623,10 @@ export interface AgentChannels {
521
623
  */
522
624
  voice?: VoiceChannelSettings | undefined;
523
625
  chat?: ChatChannelSettings | undefined;
626
+ /**
627
+ * Assistant channel settings. Presence enables the in-app assistant surface; audio remains unavailable unless its separate settings are present and enabled.
628
+ * @public
629
+ */
524
630
  assistant?: AssistantChannelSettings | undefined;
525
631
  }
526
632
  /**
@@ -96,8 +96,12 @@ 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;
102
106
  export declare var AssistantWelcomeSettings$: StaticStructureSchema;
103
107
  export declare var ChatChannelSettings$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
1
  {
2
- "name": "@wildix/wilma-agents-client",
3
- "description": "@wildix/wilma-agents-client client",
4
- "version": "1.0.44",
5
- "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
8
- "build:es": "tsc -p tsconfig.es.json",
9
- "build:types": "tsc -p tsconfig.types.json",
10
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
- "prepack": "yarn run clean && yarn run build",
13
- "postpublish": "node ../../scripts/postpublish.js"
14
- },
15
- "main": "./dist-cjs/index.js",
16
- "types": "./dist-types/index.d.ts",
17
- "module": "./dist-es/index.js",
18
- "sideEffects": false,
19
- "dependencies": {
20
- "tslib": "^2.6.2",
21
- "@aws-crypto/sha256-browser": "5.2.0",
22
- "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "^3.974.15",
24
- "@smithy/core": "^3.24.5",
25
- "@smithy/fetch-http-handler": "^5.4.5",
26
- "@smithy/node-http-handler": "^4.7.5",
27
- "@smithy/types": "^4.14.2",
28
- "@wildix/smithy-react-native": "^1.0.0"
29
- },
30
- "devDependencies": {
31
- "@tsconfig/node20": "20.1.8",
32
- "concurrently": "7.0.0",
33
- "downlevel-dts": "0.10.1",
34
- "premove": "4.0.0",
35
- "typescript": "~5.8.3",
36
- "@types/node": "^20.14.8"
37
- },
38
- "engines": {
39
- "node": ">=20.0.0"
40
- },
41
- "typesVersions": {
42
- "<4.5": {
43
- "dist-types/*": [
44
- "dist-types/ts3.4/*"
45
- ]
46
- }
47
- },
48
- "files": [
49
- "dist-*/**"
50
- ],
51
- "license": "Apache-2.0",
52
- "react-native": {
53
- "@aws-sdk/core/client": "@aws-sdk/core/dist-es/submodules/client/index.native.js",
54
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
55
- },
56
- "browser": {
57
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
2
+ "name": "@wildix/wilma-agents-client",
3
+ "description": "@wildix/wilma-agents-client client",
4
+ "version": "1.0.46",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "prepack": "yarn run clean && yarn run build",
13
+ "postpublish": "node ../../scripts/postpublish.js"
14
+ },
15
+ "main": "./dist-cjs/index.js",
16
+ "types": "./dist-types/index.d.ts",
17
+ "module": "./dist-es/index.js",
18
+ "sideEffects": false,
19
+ "dependencies": {
20
+ "tslib": "^2.6.2",
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/core": "^3.974.15",
24
+ "@smithy/core": "^3.24.5",
25
+ "@smithy/fetch-http-handler": "^5.4.5",
26
+ "@smithy/node-http-handler": "^4.7.5",
27
+ "@smithy/types": "^4.14.2",
28
+ "@wildix/smithy-react-native": "^1.0.0"
29
+ },
30
+ "devDependencies": {
31
+ "@tsconfig/node20": "20.1.8",
32
+ "concurrently": "7.0.0",
33
+ "downlevel-dts": "0.10.1",
34
+ "premove": "4.0.0",
35
+ "typescript": "~5.8.3",
36
+ "@types/node": "^20.14.8"
37
+ },
38
+ "engines": {
39
+ "node": ">=20.0.0"
40
+ },
41
+ "typesVersions": {
42
+ "<4.5": {
43
+ "dist-types/*": [
44
+ "dist-types/ts3.4/*"
45
+ ]
58
46
  }
47
+ },
48
+ "files": [
49
+ "dist-*/**"
50
+ ],
51
+ "license": "Apache-2.0",
52
+ "react-native": {
53
+ "@aws-sdk/core/client": "@aws-sdk/core/dist-es/submodules/client/index.native.js",
54
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
55
+ },
56
+ "browser": {
57
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
58
+ }
59
59
  }