@wildix/wilma-agents-client 1.0.50 → 1.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/enums.js +6 -1
- package/dist-cjs/schemas/schemas_0.js +15 -45
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +12 -42
- package/dist-types/commands/CreateAgentCommand.d.ts +8 -52
- package/dist-types/commands/GetAgentCommand.d.ts +4 -26
- package/dist-types/commands/GetAgentVersionCommand.d.ts +4 -26
- package/dist-types/commands/ListAgentsCommand.d.ts +4 -26
- package/dist-types/commands/ListAgentsNamesCommand.d.ts +1 -1
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +4 -26
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +4 -26
- package/dist-types/commands/UpdateAgentCommand.d.ts +8 -52
- package/dist-types/models/enums.d.ts +22 -0
- package/dist-types/models/models_0.d.ts +73 -199
- package/dist-types/schemas/schemas_0.d.ts +0 -4
- package/package.json +2 -2
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentStatus = exports.AgentWorkflowLayout = exports.AgentWorkflowFailureKind = exports.AgentWorkflowMessageButtonVariant = exports.AgentWorkflowEntryBehavior = exports.AgentVariableType = exports.AgentGuardrailWindow = exports.AgentGuardrailMode = exports.AgentGuardrailErrorMode = exports.AgentGuardrailSensitivity = exports.AgentGuardrailPreset = exports.WebSearchContextSize = exports.AgentTransferVariant = exports.AgentTransferPipelineType = exports.SandboxSize = exports.SandboxNetworkAccess = exports.KnowledgeBaseSearchThreshold = exports.KnowledgeBaseSearchStrategy = exports.AgentHangupPipelineType = exports.AgentHandoverVariant = exports.AgentHandoverPipelineType = exports.AgentToolPipelineType = exports.ChannelType = exports.ActorType = exports.VoicePronunciationEncoding = exports.AgentVisibility = void 0;
|
|
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;
|
|
4
4
|
exports.AgentVisibility = {
|
|
5
5
|
EXPLICIT: "explicit",
|
|
6
6
|
ORGANIZATION: "organization",
|
|
@@ -138,3 +138,8 @@ 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,15 +1,14 @@
|
|
|
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.
|
|
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$ =
|
|
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$ =
|
|
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;
|
|
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";
|
|
13
12
|
const _AC = "AgentChannels";
|
|
14
13
|
const _ACC = "AgentCallCapability";
|
|
15
14
|
const _ACCg = "AgentConnectorCapability";
|
|
@@ -42,9 +41,7 @@ const _AHPg = "AgentHangupPipeline";
|
|
|
42
41
|
const _AI = "AgentInfo";
|
|
43
42
|
const _AIL = "AgentsInfoList";
|
|
44
43
|
const _AKB = "AgentKnowledgeBase";
|
|
45
|
-
const _AL = "
|
|
46
|
-
const _ALL = "AssistantLanguageList";
|
|
47
|
-
const _ALg = "AgentsList";
|
|
44
|
+
const _AL = "AgentsList";
|
|
48
45
|
const _AQC = "AssistantQuickCommand";
|
|
49
46
|
const _AQCL = "AssistantQuickCommandsList";
|
|
50
47
|
const _AS = "AgentSettings";
|
|
@@ -55,7 +52,6 @@ const _ASL = "AgentSkillsList";
|
|
|
55
52
|
const _ASP = "AgentSpokenPhrase";
|
|
56
53
|
const _ASPL = "AgentSpokenPhraseList";
|
|
57
54
|
const _ASR = "AgentSkillReference";
|
|
58
|
-
const _ASS = "AssistantSpeechSettings";
|
|
59
55
|
const _ASSO = "AgentSnapshotSandboxOptions";
|
|
60
56
|
const _AT = "AgentTool";
|
|
61
57
|
const _ATA = "AgentToolApproval";
|
|
@@ -71,7 +67,6 @@ const _ATFPH = "AgentToolFieldPredefinedHandler";
|
|
|
71
67
|
const _ATP = "AgentToolPipeline";
|
|
72
68
|
const _ATPg = "AgentTransferPipeline";
|
|
73
69
|
const _ATRA = "AgentToolResultAnnotation";
|
|
74
|
-
const _ATS = "AssistantTranscriptionSettings";
|
|
75
70
|
const _ATTA = "AgentToolTagAnnotation";
|
|
76
71
|
const _ATV = "AgentToolVariable";
|
|
77
72
|
const _ATVA = "AgentToolVariablesAnnotation";
|
|
@@ -210,7 +205,6 @@ const _VTS = "VoiceTranscriptionSettings";
|
|
|
210
205
|
const _VTT = "VoiceTransferTarget";
|
|
211
206
|
const _WSUL = "WebSearchUserLocation";
|
|
212
207
|
const _a = "access";
|
|
213
|
-
const _aAE = "assistantAudioEnabled";
|
|
214
208
|
const _aD = "allowedDomains";
|
|
215
209
|
const _aDu = "autoDetect";
|
|
216
210
|
const _aI = "agentId";
|
|
@@ -229,8 +223,7 @@ const _ar = "artifacts";
|
|
|
229
223
|
const _as = "assistant";
|
|
230
224
|
const _as_ = "as";
|
|
231
225
|
const _ass = "assignments";
|
|
232
|
-
const _au = "
|
|
233
|
-
const _aut = "auto";
|
|
226
|
+
const _au = "auto";
|
|
234
227
|
const _b = "before";
|
|
235
228
|
const _bOV = "basedOnVersion";
|
|
236
229
|
const _bS = "backgroundSound";
|
|
@@ -322,7 +315,6 @@ const _ki = "kinds";
|
|
|
322
315
|
const _l = "language";
|
|
323
316
|
const _lUA = "lastUsedAt";
|
|
324
317
|
const _lV = "latestVersion";
|
|
325
|
-
const _lVi = "liveVoice";
|
|
326
318
|
const _la = "layout";
|
|
327
319
|
const _lab = "label";
|
|
328
320
|
const _lan = "languages";
|
|
@@ -371,6 +363,7 @@ const _sIn = "snapshotId";
|
|
|
371
363
|
const _sL = "searchLimit";
|
|
372
364
|
const _sM = "startMessage";
|
|
373
365
|
const _sMt = "startMessages";
|
|
366
|
+
const _sR = "secretRef";
|
|
374
367
|
const _sS = "searchStrategy";
|
|
375
368
|
const _sT = "searchThreshold";
|
|
376
369
|
const _sTi = "silenceTimeout";
|
|
@@ -599,8 +592,8 @@ exports.AgentHangupPipeline$ = [3, n2, _AHPg,
|
|
|
599
592
|
];
|
|
600
593
|
exports.AgentInfo$ = [3, n2, _AI,
|
|
601
594
|
0,
|
|
602
|
-
[_i, _n, _st, _ch, _p, _ca, _sC,
|
|
603
|
-
[0, 0, 0, 64 | 0, 0, 0, 2,
|
|
595
|
+
[_i, _n, _st, _ch, _p, _ca, _sC, _en, _sI, _as, _lV],
|
|
596
|
+
[0, 0, 0, 64 | 0, 0, 0, 2, 0, 64 | 0, () => exports.AssistantUiSettings$, 1], 4
|
|
604
597
|
];
|
|
605
598
|
exports.AgentKnowledgeBase$ = [3, n2, _AKB,
|
|
606
599
|
0,
|
|
@@ -625,7 +618,7 @@ exports.AgentSpokenPhrase$ = [3, n2, _ASP,
|
|
|
625
618
|
exports.AgentSqsEngine$ = [3, n2, _ASE,
|
|
626
619
|
0,
|
|
627
620
|
[_u, _ke, _sec],
|
|
628
|
-
[0, 0, () => exports.SecretRef$],
|
|
621
|
+
[0, 0, () => exports.SecretRef$], 2
|
|
629
622
|
];
|
|
630
623
|
exports.AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
631
624
|
0,
|
|
@@ -749,8 +742,8 @@ exports.AgentWebFetchCapability$ = [3, n2, _AWFC,
|
|
|
749
742
|
];
|
|
750
743
|
exports.AgentWebhookEngine$ = [3, n2, _AWE,
|
|
751
744
|
0,
|
|
752
|
-
[_u,
|
|
753
|
-
[0,
|
|
745
|
+
[_u, _sR, _ti],
|
|
746
|
+
[0, () => exports.SecretRef$, 1], 1
|
|
754
747
|
];
|
|
755
748
|
exports.AgentWebSearchCapability$ = [3, n2, _AWSC,
|
|
756
749
|
0,
|
|
@@ -902,36 +895,16 @@ exports.AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
|
|
|
902
895
|
[_ass],
|
|
903
896
|
[() => AgentWorkflowAssignmentsList], 1
|
|
904
897
|
];
|
|
905
|
-
exports.AssistantAudioSettings$ = [3, n2, _AAS,
|
|
906
|
-
0,
|
|
907
|
-
[_ena, _en, _lVi, _sp],
|
|
908
|
-
[2, 0, 0, () => exports.AssistantSpeechSettings$], 1
|
|
909
|
-
];
|
|
910
898
|
exports.AssistantChannelSettings$ = [3, n2, _ACS,
|
|
911
899
|
0,
|
|
912
|
-
[_defa, _ui
|
|
913
|
-
[2, () => exports.AssistantUiSettings
|
|
914
|
-
];
|
|
915
|
-
exports.AssistantLanguage$ = [3, n2, _AL,
|
|
916
|
-
0,
|
|
917
|
-
[_cod, _vo, _iD, _pron],
|
|
918
|
-
[0, 0, 2, () => VoicePronunciationList], 1
|
|
900
|
+
[_defa, _ui],
|
|
901
|
+
[2, () => exports.AssistantUiSettings$]
|
|
919
902
|
];
|
|
920
903
|
exports.AssistantQuickCommand$ = [3, n2, _AQC,
|
|
921
904
|
0,
|
|
922
905
|
[_tit, _pro, _d],
|
|
923
906
|
[0, 0, 0], 2
|
|
924
907
|
];
|
|
925
|
-
exports.AssistantSpeechSettings$ = [3, n2, _ASS,
|
|
926
|
-
0,
|
|
927
|
-
[_lan, _tra],
|
|
928
|
-
[() => AssistantLanguageList, () => exports.AssistantTranscriptionSettings$], 1
|
|
929
|
-
];
|
|
930
|
-
exports.AssistantTranscriptionSettings$ = [3, n2, _ATS,
|
|
931
|
-
0,
|
|
932
|
-
[_en],
|
|
933
|
-
[0]
|
|
934
|
-
];
|
|
935
908
|
exports.AssistantUiSettings$ = [3, n2, _AUS,
|
|
936
909
|
0,
|
|
937
910
|
[_we, _com, _pl],
|
|
@@ -1223,7 +1196,7 @@ var AgentsInfoList = [1, n2, _AIL,
|
|
|
1223
1196
|
0, () => exports.AgentInfo$
|
|
1224
1197
|
];
|
|
1225
1198
|
var AgentSkillIdsList = 64 | 0;
|
|
1226
|
-
var AgentsList = [1, n2,
|
|
1199
|
+
var AgentsList = [1, n2, _AL,
|
|
1227
1200
|
0, () => exports.Agent$
|
|
1228
1201
|
];
|
|
1229
1202
|
var AgentSpokenPhraseList = [1, n2, _ASPL,
|
|
@@ -1263,9 +1236,6 @@ var AgentWorkflowStepsList = [1, n2, _AWSL,
|
|
|
1263
1236
|
var AgentWorkflowTransitionsList = [1, n2, _AWTL,
|
|
1264
1237
|
0, () => exports.AgentWorkflowTransition$
|
|
1265
1238
|
];
|
|
1266
|
-
var AssistantLanguageList = [1, n2, _ALL,
|
|
1267
|
-
0, () => exports.AssistantLanguage$
|
|
1268
|
-
];
|
|
1269
1239
|
var AssistantQuickCommandsList = [1, n2, _AQCL,
|
|
1270
1240
|
0, () => exports.AssistantQuickCommand$
|
|
1271
1241
|
];
|
|
@@ -1322,7 +1292,7 @@ exports.AgentToolFieldHandler$ = [4, n2, _ATFH,
|
|
|
1322
1292
|
];
|
|
1323
1293
|
exports.AgentToolVariableHandler$ = [4, n2, _ATVH,
|
|
1324
1294
|
0,
|
|
1325
|
-
[
|
|
1295
|
+
[_au, _gui, _pred],
|
|
1326
1296
|
[() => exports.AgentToolVariableAutoHandler$, () => exports.AgentToolVariableGuidedHandler$, () => exports.AgentToolVariablePredefinedHandler$]
|
|
1327
1297
|
];
|
|
1328
1298
|
exports.AgentWorkflowAction$ = [4, n2, _AWAg,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -3,7 +3,6 @@ const _AA = "AgentAccess";
|
|
|
3
3
|
const _AAE = "AgentAiEngine";
|
|
4
4
|
const _AAK = "AgentApiKey";
|
|
5
5
|
const _AAKL = "AgentApiKeysList";
|
|
6
|
-
const _AAS = "AssistantAudioSettings";
|
|
7
6
|
const _AC = "AgentChannels";
|
|
8
7
|
const _ACC = "AgentCallCapability";
|
|
9
8
|
const _ACCg = "AgentConnectorCapability";
|
|
@@ -36,9 +35,7 @@ const _AHPg = "AgentHangupPipeline";
|
|
|
36
35
|
const _AI = "AgentInfo";
|
|
37
36
|
const _AIL = "AgentsInfoList";
|
|
38
37
|
const _AKB = "AgentKnowledgeBase";
|
|
39
|
-
const _AL = "
|
|
40
|
-
const _ALL = "AssistantLanguageList";
|
|
41
|
-
const _ALg = "AgentsList";
|
|
38
|
+
const _AL = "AgentsList";
|
|
42
39
|
const _AQC = "AssistantQuickCommand";
|
|
43
40
|
const _AQCL = "AssistantQuickCommandsList";
|
|
44
41
|
const _AS = "AgentSettings";
|
|
@@ -49,7 +46,6 @@ const _ASL = "AgentSkillsList";
|
|
|
49
46
|
const _ASP = "AgentSpokenPhrase";
|
|
50
47
|
const _ASPL = "AgentSpokenPhraseList";
|
|
51
48
|
const _ASR = "AgentSkillReference";
|
|
52
|
-
const _ASS = "AssistantSpeechSettings";
|
|
53
49
|
const _ASSO = "AgentSnapshotSandboxOptions";
|
|
54
50
|
const _AT = "AgentTool";
|
|
55
51
|
const _ATA = "AgentToolApproval";
|
|
@@ -65,7 +61,6 @@ const _ATFPH = "AgentToolFieldPredefinedHandler";
|
|
|
65
61
|
const _ATP = "AgentToolPipeline";
|
|
66
62
|
const _ATPg = "AgentTransferPipeline";
|
|
67
63
|
const _ATRA = "AgentToolResultAnnotation";
|
|
68
|
-
const _ATS = "AssistantTranscriptionSettings";
|
|
69
64
|
const _ATTA = "AgentToolTagAnnotation";
|
|
70
65
|
const _ATV = "AgentToolVariable";
|
|
71
66
|
const _ATVA = "AgentToolVariablesAnnotation";
|
|
@@ -204,7 +199,6 @@ const _VTS = "VoiceTranscriptionSettings";
|
|
|
204
199
|
const _VTT = "VoiceTransferTarget";
|
|
205
200
|
const _WSUL = "WebSearchUserLocation";
|
|
206
201
|
const _a = "access";
|
|
207
|
-
const _aAE = "assistantAudioEnabled";
|
|
208
202
|
const _aD = "allowedDomains";
|
|
209
203
|
const _aDu = "autoDetect";
|
|
210
204
|
const _aI = "agentId";
|
|
@@ -223,8 +217,7 @@ const _ar = "artifacts";
|
|
|
223
217
|
const _as = "assistant";
|
|
224
218
|
const _as_ = "as";
|
|
225
219
|
const _ass = "assignments";
|
|
226
|
-
const _au = "
|
|
227
|
-
const _aut = "auto";
|
|
220
|
+
const _au = "auto";
|
|
228
221
|
const _b = "before";
|
|
229
222
|
const _bOV = "basedOnVersion";
|
|
230
223
|
const _bS = "backgroundSound";
|
|
@@ -316,7 +309,6 @@ const _ki = "kinds";
|
|
|
316
309
|
const _l = "language";
|
|
317
310
|
const _lUA = "lastUsedAt";
|
|
318
311
|
const _lV = "latestVersion";
|
|
319
|
-
const _lVi = "liveVoice";
|
|
320
312
|
const _la = "layout";
|
|
321
313
|
const _lab = "label";
|
|
322
314
|
const _lan = "languages";
|
|
@@ -365,6 +357,7 @@ const _sIn = "snapshotId";
|
|
|
365
357
|
const _sL = "searchLimit";
|
|
366
358
|
const _sM = "startMessage";
|
|
367
359
|
const _sMt = "startMessages";
|
|
360
|
+
const _sR = "secretRef";
|
|
368
361
|
const _sS = "searchStrategy";
|
|
369
362
|
const _sT = "searchThreshold";
|
|
370
363
|
const _sTi = "silenceTimeout";
|
|
@@ -593,8 +586,8 @@ export var AgentHangupPipeline$ = [3, n2, _AHPg,
|
|
|
593
586
|
];
|
|
594
587
|
export var AgentInfo$ = [3, n2, _AI,
|
|
595
588
|
0,
|
|
596
|
-
[_i, _n, _st, _ch, _p, _ca, _sC,
|
|
597
|
-
[0, 0, 0, 64 | 0, 0, 0, 2,
|
|
589
|
+
[_i, _n, _st, _ch, _p, _ca, _sC, _en, _sI, _as, _lV],
|
|
590
|
+
[0, 0, 0, 64 | 0, 0, 0, 2, 0, 64 | 0, () => AssistantUiSettings$, 1], 4
|
|
598
591
|
];
|
|
599
592
|
export var AgentKnowledgeBase$ = [3, n2, _AKB,
|
|
600
593
|
0,
|
|
@@ -619,7 +612,7 @@ export var AgentSpokenPhrase$ = [3, n2, _ASP,
|
|
|
619
612
|
export var AgentSqsEngine$ = [3, n2, _ASE,
|
|
620
613
|
0,
|
|
621
614
|
[_u, _ke, _sec],
|
|
622
|
-
[0, 0, () => SecretRef$],
|
|
615
|
+
[0, 0, () => SecretRef$], 2
|
|
623
616
|
];
|
|
624
617
|
export var AgentSuggestionsCapability$ = [3, n2, _ASC,
|
|
625
618
|
0,
|
|
@@ -743,8 +736,8 @@ export var AgentWebFetchCapability$ = [3, n2, _AWFC,
|
|
|
743
736
|
];
|
|
744
737
|
export var AgentWebhookEngine$ = [3, n2, _AWE,
|
|
745
738
|
0,
|
|
746
|
-
[_u,
|
|
747
|
-
[0,
|
|
739
|
+
[_u, _sR, _ti],
|
|
740
|
+
[0, () => SecretRef$, 1], 1
|
|
748
741
|
];
|
|
749
742
|
export var AgentWebSearchCapability$ = [3, n2, _AWSC,
|
|
750
743
|
0,
|
|
@@ -896,36 +889,16 @@ export var AgentWorkflowVariablesHandler$ = [3, n2, _AWVH,
|
|
|
896
889
|
[_ass],
|
|
897
890
|
[() => AgentWorkflowAssignmentsList], 1
|
|
898
891
|
];
|
|
899
|
-
export var AssistantAudioSettings$ = [3, n2, _AAS,
|
|
900
|
-
0,
|
|
901
|
-
[_ena, _en, _lVi, _sp],
|
|
902
|
-
[2, 0, 0, () => AssistantSpeechSettings$], 1
|
|
903
|
-
];
|
|
904
892
|
export var AssistantChannelSettings$ = [3, n2, _ACS,
|
|
905
893
|
0,
|
|
906
|
-
[_defa, _ui
|
|
907
|
-
[2, () => AssistantUiSettings
|
|
908
|
-
];
|
|
909
|
-
export var AssistantLanguage$ = [3, n2, _AL,
|
|
910
|
-
0,
|
|
911
|
-
[_cod, _vo, _iD, _pron],
|
|
912
|
-
[0, 0, 2, () => VoicePronunciationList], 1
|
|
894
|
+
[_defa, _ui],
|
|
895
|
+
[2, () => AssistantUiSettings$]
|
|
913
896
|
];
|
|
914
897
|
export var AssistantQuickCommand$ = [3, n2, _AQC,
|
|
915
898
|
0,
|
|
916
899
|
[_tit, _pro, _d],
|
|
917
900
|
[0, 0, 0], 2
|
|
918
901
|
];
|
|
919
|
-
export var AssistantSpeechSettings$ = [3, n2, _ASS,
|
|
920
|
-
0,
|
|
921
|
-
[_lan, _tra],
|
|
922
|
-
[() => AssistantLanguageList, () => AssistantTranscriptionSettings$], 1
|
|
923
|
-
];
|
|
924
|
-
export var AssistantTranscriptionSettings$ = [3, n2, _ATS,
|
|
925
|
-
0,
|
|
926
|
-
[_en],
|
|
927
|
-
[0]
|
|
928
|
-
];
|
|
929
902
|
export var AssistantUiSettings$ = [3, n2, _AUS,
|
|
930
903
|
0,
|
|
931
904
|
[_we, _com, _pl],
|
|
@@ -1217,7 +1190,7 @@ var AgentsInfoList = [1, n2, _AIL,
|
|
|
1217
1190
|
0, () => AgentInfo$
|
|
1218
1191
|
];
|
|
1219
1192
|
var AgentSkillIdsList = 64 | 0;
|
|
1220
|
-
var AgentsList = [1, n2,
|
|
1193
|
+
var AgentsList = [1, n2, _AL,
|
|
1221
1194
|
0, () => Agent$
|
|
1222
1195
|
];
|
|
1223
1196
|
var AgentSpokenPhraseList = [1, n2, _ASPL,
|
|
@@ -1257,9 +1230,6 @@ var AgentWorkflowStepsList = [1, n2, _AWSL,
|
|
|
1257
1230
|
var AgentWorkflowTransitionsList = [1, n2, _AWTL,
|
|
1258
1231
|
0, () => AgentWorkflowTransition$
|
|
1259
1232
|
];
|
|
1260
|
-
var AssistantLanguageList = [1, n2, _ALL,
|
|
1261
|
-
0, () => AssistantLanguage$
|
|
1262
|
-
];
|
|
1263
1233
|
var AssistantQuickCommandsList = [1, n2, _AQCL,
|
|
1264
1234
|
0, () => AssistantQuickCommand$
|
|
1265
1235
|
];
|
|
@@ -1316,7 +1286,7 @@ export var AgentToolFieldHandler$ = [4, n2, _ATFH,
|
|
|
1316
1286
|
];
|
|
1317
1287
|
export var AgentToolVariableHandler$ = [4, n2, _ATVH,
|
|
1318
1288
|
0,
|
|
1319
|
-
[
|
|
1289
|
+
[_au, _gui, _pred],
|
|
1320
1290
|
[() => AgentToolVariableAutoHandler$, () => AgentToolVariableGuidedHandler$, () => AgentToolVariablePredefinedHandler$]
|
|
1321
1291
|
];
|
|
1322
1292
|
export var AgentWorkflowAction$ = [4, n2, _AWAg,
|
|
@@ -145,30 +145,6 @@ 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
|
-
* liveVoice: "STRING_VALUE",
|
|
152
|
-
* speech: { // AssistantSpeechSettings
|
|
153
|
-
* languages: [ // AssistantLanguageList // required
|
|
154
|
-
* { // AssistantLanguage
|
|
155
|
-
* code: "STRING_VALUE", // required
|
|
156
|
-
* voice: "STRING_VALUE",
|
|
157
|
-
* isDefault: true || false,
|
|
158
|
-
* pronunciations: [
|
|
159
|
-
* {
|
|
160
|
-
* phrase: "STRING_VALUE", // required
|
|
161
|
-
* as: "STRING_VALUE", // required
|
|
162
|
-
* encoding: "alias" || "ipa",
|
|
163
|
-
* },
|
|
164
|
-
* ],
|
|
165
|
-
* },
|
|
166
|
-
* ],
|
|
167
|
-
* transcription: { // AssistantTranscriptionSettings
|
|
168
|
-
* engine: "STRING_VALUE",
|
|
169
|
-
* },
|
|
170
|
-
* },
|
|
171
|
-
* },
|
|
172
148
|
* },
|
|
173
149
|
* },
|
|
174
150
|
* engine: { // AgentEngine Union: only one key present
|
|
@@ -927,13 +903,15 @@ declare const CreateAgentCommand_base: {
|
|
|
927
903
|
* },
|
|
928
904
|
* webhook: { // AgentWebhookEngine
|
|
929
905
|
* url: "STRING_VALUE", // required
|
|
930
|
-
*
|
|
906
|
+
* secretRef: { // SecretRef
|
|
907
|
+
* id: "STRING_VALUE", // required
|
|
908
|
+
* },
|
|
931
909
|
* timeout: Number("int"),
|
|
932
910
|
* },
|
|
933
911
|
* sqs: { // AgentSqsEngine
|
|
934
912
|
* url: "STRING_VALUE", // required
|
|
935
913
|
* key: "STRING_VALUE", // required
|
|
936
|
-
* secret: {
|
|
914
|
+
* secret: {
|
|
937
915
|
* id: "STRING_VALUE", // required
|
|
938
916
|
* },
|
|
939
917
|
* },
|
|
@@ -1056,30 +1034,6 @@ declare const CreateAgentCommand_base: {
|
|
|
1056
1034
|
* // ],
|
|
1057
1035
|
* // placeholder: "STRING_VALUE",
|
|
1058
1036
|
* // },
|
|
1059
|
-
* // audio: { // AssistantAudioSettings
|
|
1060
|
-
* // enabled: true || false, // required
|
|
1061
|
-
* // engine: "STRING_VALUE",
|
|
1062
|
-
* // liveVoice: "STRING_VALUE",
|
|
1063
|
-
* // speech: { // AssistantSpeechSettings
|
|
1064
|
-
* // languages: [ // AssistantLanguageList // required
|
|
1065
|
-
* // { // AssistantLanguage
|
|
1066
|
-
* // code: "STRING_VALUE", // required
|
|
1067
|
-
* // voice: "STRING_VALUE",
|
|
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
|
-
* // },
|
|
1083
1037
|
* // },
|
|
1084
1038
|
* // },
|
|
1085
1039
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -1838,13 +1792,15 @@ declare const CreateAgentCommand_base: {
|
|
|
1838
1792
|
* // },
|
|
1839
1793
|
* // webhook: { // AgentWebhookEngine
|
|
1840
1794
|
* // url: "STRING_VALUE", // required
|
|
1841
|
-
* //
|
|
1795
|
+
* // secretRef: { // SecretRef
|
|
1796
|
+
* // id: "STRING_VALUE", // required
|
|
1797
|
+
* // },
|
|
1842
1798
|
* // timeout: Number("int"),
|
|
1843
1799
|
* // },
|
|
1844
1800
|
* // sqs: { // AgentSqsEngine
|
|
1845
1801
|
* // url: "STRING_VALUE", // required
|
|
1846
1802
|
* // key: "STRING_VALUE", // required
|
|
1847
|
-
* // secret: {
|
|
1803
|
+
* // secret: {
|
|
1848
1804
|
* // id: "STRING_VALUE", // required
|
|
1849
1805
|
* // },
|
|
1850
1806
|
* // },
|
|
@@ -152,30 +152,6 @@ 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
|
-
* // liveVoice: "STRING_VALUE",
|
|
159
|
-
* // speech: { // AssistantSpeechSettings
|
|
160
|
-
* // languages: [ // AssistantLanguageList // required
|
|
161
|
-
* // { // AssistantLanguage
|
|
162
|
-
* // code: "STRING_VALUE", // required
|
|
163
|
-
* // voice: "STRING_VALUE",
|
|
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
|
-
* // },
|
|
179
155
|
* // },
|
|
180
156
|
* // },
|
|
181
157
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -934,13 +910,15 @@ declare const GetAgentCommand_base: {
|
|
|
934
910
|
* // },
|
|
935
911
|
* // webhook: { // AgentWebhookEngine
|
|
936
912
|
* // url: "STRING_VALUE", // required
|
|
937
|
-
* //
|
|
913
|
+
* // secretRef: { // SecretRef
|
|
914
|
+
* // id: "STRING_VALUE", // required
|
|
915
|
+
* // },
|
|
938
916
|
* // timeout: Number("int"),
|
|
939
917
|
* // },
|
|
940
918
|
* // sqs: { // AgentSqsEngine
|
|
941
919
|
* // url: "STRING_VALUE", // required
|
|
942
920
|
* // key: "STRING_VALUE", // required
|
|
943
|
-
* // secret: {
|
|
921
|
+
* // secret: {
|
|
944
922
|
* // id: "STRING_VALUE", // required
|
|
945
923
|
* // },
|
|
946
924
|
* // },
|
|
@@ -159,30 +159,6 @@ 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
|
-
* // liveVoice: "STRING_VALUE",
|
|
166
|
-
* // speech: { // AssistantSpeechSettings
|
|
167
|
-
* // languages: [ // AssistantLanguageList // required
|
|
168
|
-
* // { // AssistantLanguage
|
|
169
|
-
* // code: "STRING_VALUE", // required
|
|
170
|
-
* // voice: "STRING_VALUE",
|
|
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
|
-
* // },
|
|
186
162
|
* // },
|
|
187
163
|
* // },
|
|
188
164
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -941,13 +917,15 @@ declare const GetAgentVersionCommand_base: {
|
|
|
941
917
|
* // },
|
|
942
918
|
* // webhook: { // AgentWebhookEngine
|
|
943
919
|
* // url: "STRING_VALUE", // required
|
|
944
|
-
* //
|
|
920
|
+
* // secretRef: { // SecretRef
|
|
921
|
+
* // id: "STRING_VALUE", // required
|
|
922
|
+
* // },
|
|
945
923
|
* // timeout: Number("int"),
|
|
946
924
|
* // },
|
|
947
925
|
* // sqs: { // AgentSqsEngine
|
|
948
926
|
* // url: "STRING_VALUE", // required
|
|
949
927
|
* // key: "STRING_VALUE", // required
|
|
950
|
-
* // secret: {
|
|
928
|
+
* // secret: {
|
|
951
929
|
* // id: "STRING_VALUE", // required
|
|
952
930
|
* // },
|
|
953
931
|
* // },
|
|
@@ -157,30 +157,6 @@ 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
|
-
* // liveVoice: "STRING_VALUE",
|
|
164
|
-
* // speech: { // AssistantSpeechSettings
|
|
165
|
-
* // languages: [ // AssistantLanguageList // required
|
|
166
|
-
* // { // AssistantLanguage
|
|
167
|
-
* // code: "STRING_VALUE", // required
|
|
168
|
-
* // voice: "STRING_VALUE",
|
|
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
|
-
* // },
|
|
184
160
|
* // },
|
|
185
161
|
* // },
|
|
186
162
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -939,13 +915,15 @@ declare const ListAgentsCommand_base: {
|
|
|
939
915
|
* // },
|
|
940
916
|
* // webhook: { // AgentWebhookEngine
|
|
941
917
|
* // url: "STRING_VALUE", // required
|
|
942
|
-
* //
|
|
918
|
+
* // secretRef: { // SecretRef
|
|
919
|
+
* // id: "STRING_VALUE", // required
|
|
920
|
+
* // },
|
|
943
921
|
* // timeout: Number("int"),
|
|
944
922
|
* // },
|
|
945
923
|
* // sqs: { // AgentSqsEngine
|
|
946
924
|
* // url: "STRING_VALUE", // required
|
|
947
925
|
* // key: "STRING_VALUE", // required
|
|
948
|
-
* // secret: {
|
|
926
|
+
* // secret: {
|
|
949
927
|
* // id: "STRING_VALUE", // required
|
|
950
928
|
* // },
|
|
951
929
|
* // },
|
|
@@ -54,7 +54,7 @@ declare const ListAgentsNamesCommand_base: {
|
|
|
54
54
|
* // "voice" || "chat" || "assistant",
|
|
55
55
|
* // ],
|
|
56
56
|
* // speechConfigured: true || false,
|
|
57
|
-
* //
|
|
57
|
+
* // engine: "ai" || "webhook" || "sqs",
|
|
58
58
|
* // skillIds: [ // AgentSkillIdsList
|
|
59
59
|
* // "STRING_VALUE",
|
|
60
60
|
* // ],
|
|
@@ -161,30 +161,6 @@ 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
|
-
* // liveVoice: "STRING_VALUE",
|
|
168
|
-
* // speech: { // AssistantSpeechSettings
|
|
169
|
-
* // languages: [ // AssistantLanguageList // required
|
|
170
|
-
* // { // AssistantLanguage
|
|
171
|
-
* // code: "STRING_VALUE", // required
|
|
172
|
-
* // voice: "STRING_VALUE",
|
|
173
|
-
* // isDefault: true || false,
|
|
174
|
-
* // pronunciations: [
|
|
175
|
-
* // {
|
|
176
|
-
* // phrase: "STRING_VALUE", // required
|
|
177
|
-
* // as: "STRING_VALUE", // required
|
|
178
|
-
* // encoding: "alias" || "ipa",
|
|
179
|
-
* // },
|
|
180
|
-
* // ],
|
|
181
|
-
* // },
|
|
182
|
-
* // ],
|
|
183
|
-
* // transcription: { // AssistantTranscriptionSettings
|
|
184
|
-
* // engine: "STRING_VALUE",
|
|
185
|
-
* // },
|
|
186
|
-
* // },
|
|
187
|
-
* // },
|
|
188
164
|
* // },
|
|
189
165
|
* // },
|
|
190
166
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -943,13 +919,15 @@ declare const PublishAgentVersionCommand_base: {
|
|
|
943
919
|
* // },
|
|
944
920
|
* // webhook: { // AgentWebhookEngine
|
|
945
921
|
* // url: "STRING_VALUE", // required
|
|
946
|
-
* //
|
|
922
|
+
* // secretRef: { // SecretRef
|
|
923
|
+
* // id: "STRING_VALUE", // required
|
|
924
|
+
* // },
|
|
947
925
|
* // timeout: Number("int"),
|
|
948
926
|
* // },
|
|
949
927
|
* // sqs: { // AgentSqsEngine
|
|
950
928
|
* // url: "STRING_VALUE", // required
|
|
951
929
|
* // key: "STRING_VALUE", // required
|
|
952
|
-
* // secret: {
|
|
930
|
+
* // secret: {
|
|
953
931
|
* // id: "STRING_VALUE", // required
|
|
954
932
|
* // },
|
|
955
933
|
* // },
|
|
@@ -154,30 +154,6 @@ 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
|
-
* // liveVoice: "STRING_VALUE",
|
|
161
|
-
* // speech: { // AssistantSpeechSettings
|
|
162
|
-
* // languages: [ // AssistantLanguageList // required
|
|
163
|
-
* // { // AssistantLanguage
|
|
164
|
-
* // code: "STRING_VALUE", // required
|
|
165
|
-
* // voice: "STRING_VALUE",
|
|
166
|
-
* // isDefault: true || false,
|
|
167
|
-
* // pronunciations: [
|
|
168
|
-
* // {
|
|
169
|
-
* // phrase: "STRING_VALUE", // required
|
|
170
|
-
* // as: "STRING_VALUE", // required
|
|
171
|
-
* // encoding: "alias" || "ipa",
|
|
172
|
-
* // },
|
|
173
|
-
* // ],
|
|
174
|
-
* // },
|
|
175
|
-
* // ],
|
|
176
|
-
* // transcription: { // AssistantTranscriptionSettings
|
|
177
|
-
* // engine: "STRING_VALUE",
|
|
178
|
-
* // },
|
|
179
|
-
* // },
|
|
180
|
-
* // },
|
|
181
157
|
* // },
|
|
182
158
|
* // },
|
|
183
159
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -936,13 +912,15 @@ declare const RestoreAgentVersionToDraftCommand_base: {
|
|
|
936
912
|
* // },
|
|
937
913
|
* // webhook: { // AgentWebhookEngine
|
|
938
914
|
* // url: "STRING_VALUE", // required
|
|
939
|
-
* //
|
|
915
|
+
* // secretRef: { // SecretRef
|
|
916
|
+
* // id: "STRING_VALUE", // required
|
|
917
|
+
* // },
|
|
940
918
|
* // timeout: Number("int"),
|
|
941
919
|
* // },
|
|
942
920
|
* // sqs: { // AgentSqsEngine
|
|
943
921
|
* // url: "STRING_VALUE", // required
|
|
944
922
|
* // key: "STRING_VALUE", // required
|
|
945
|
-
* // secret: {
|
|
923
|
+
* // secret: {
|
|
946
924
|
* // id: "STRING_VALUE", // required
|
|
947
925
|
* // },
|
|
948
926
|
* // },
|
|
@@ -145,30 +145,6 @@ 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
|
-
* liveVoice: "STRING_VALUE",
|
|
152
|
-
* speech: { // AssistantSpeechSettings
|
|
153
|
-
* languages: [ // AssistantLanguageList // required
|
|
154
|
-
* { // AssistantLanguage
|
|
155
|
-
* code: "STRING_VALUE", // required
|
|
156
|
-
* voice: "STRING_VALUE",
|
|
157
|
-
* isDefault: true || false,
|
|
158
|
-
* pronunciations: [
|
|
159
|
-
* {
|
|
160
|
-
* phrase: "STRING_VALUE", // required
|
|
161
|
-
* as: "STRING_VALUE", // required
|
|
162
|
-
* encoding: "alias" || "ipa",
|
|
163
|
-
* },
|
|
164
|
-
* ],
|
|
165
|
-
* },
|
|
166
|
-
* ],
|
|
167
|
-
* transcription: { // AssistantTranscriptionSettings
|
|
168
|
-
* engine: "STRING_VALUE",
|
|
169
|
-
* },
|
|
170
|
-
* },
|
|
171
|
-
* },
|
|
172
148
|
* },
|
|
173
149
|
* },
|
|
174
150
|
* engine: { // AgentEngine Union: only one key present
|
|
@@ -927,13 +903,15 @@ declare const UpdateAgentCommand_base: {
|
|
|
927
903
|
* },
|
|
928
904
|
* webhook: { // AgentWebhookEngine
|
|
929
905
|
* url: "STRING_VALUE", // required
|
|
930
|
-
*
|
|
906
|
+
* secretRef: { // SecretRef
|
|
907
|
+
* id: "STRING_VALUE", // required
|
|
908
|
+
* },
|
|
931
909
|
* timeout: Number("int"),
|
|
932
910
|
* },
|
|
933
911
|
* sqs: { // AgentSqsEngine
|
|
934
912
|
* url: "STRING_VALUE", // required
|
|
935
913
|
* key: "STRING_VALUE", // required
|
|
936
|
-
* secret: {
|
|
914
|
+
* secret: {
|
|
937
915
|
* id: "STRING_VALUE", // required
|
|
938
916
|
* },
|
|
939
917
|
* },
|
|
@@ -1058,30 +1036,6 @@ declare const UpdateAgentCommand_base: {
|
|
|
1058
1036
|
* // ],
|
|
1059
1037
|
* // placeholder: "STRING_VALUE",
|
|
1060
1038
|
* // },
|
|
1061
|
-
* // audio: { // AssistantAudioSettings
|
|
1062
|
-
* // enabled: true || false, // required
|
|
1063
|
-
* // engine: "STRING_VALUE",
|
|
1064
|
-
* // liveVoice: "STRING_VALUE",
|
|
1065
|
-
* // speech: { // AssistantSpeechSettings
|
|
1066
|
-
* // languages: [ // AssistantLanguageList // required
|
|
1067
|
-
* // { // AssistantLanguage
|
|
1068
|
-
* // code: "STRING_VALUE", // required
|
|
1069
|
-
* // voice: "STRING_VALUE",
|
|
1070
|
-
* // isDefault: true || false,
|
|
1071
|
-
* // pronunciations: [
|
|
1072
|
-
* // {
|
|
1073
|
-
* // phrase: "STRING_VALUE", // required
|
|
1074
|
-
* // as: "STRING_VALUE", // required
|
|
1075
|
-
* // encoding: "alias" || "ipa",
|
|
1076
|
-
* // },
|
|
1077
|
-
* // ],
|
|
1078
|
-
* // },
|
|
1079
|
-
* // ],
|
|
1080
|
-
* // transcription: { // AssistantTranscriptionSettings
|
|
1081
|
-
* // engine: "STRING_VALUE",
|
|
1082
|
-
* // },
|
|
1083
|
-
* // },
|
|
1084
|
-
* // },
|
|
1085
1039
|
* // },
|
|
1086
1040
|
* // },
|
|
1087
1041
|
* // engine: { // AgentEngine Union: only one key present
|
|
@@ -1840,13 +1794,15 @@ declare const UpdateAgentCommand_base: {
|
|
|
1840
1794
|
* // },
|
|
1841
1795
|
* // webhook: { // AgentWebhookEngine
|
|
1842
1796
|
* // url: "STRING_VALUE", // required
|
|
1843
|
-
* //
|
|
1797
|
+
* // secretRef: { // SecretRef
|
|
1798
|
+
* // id: "STRING_VALUE", // required
|
|
1799
|
+
* // },
|
|
1844
1800
|
* // timeout: Number("int"),
|
|
1845
1801
|
* // },
|
|
1846
1802
|
* // sqs: { // AgentSqsEngine
|
|
1847
1803
|
* // url: "STRING_VALUE", // required
|
|
1848
1804
|
* // key: "STRING_VALUE", // required
|
|
1849
|
-
* // secret: {
|
|
1805
|
+
* // secret: {
|
|
1850
1806
|
* // id: "STRING_VALUE", // required
|
|
1851
1807
|
* // },
|
|
1852
1808
|
* // },
|
|
@@ -505,3 +505,25 @@ 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, 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, 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";
|
|
3
3
|
/**
|
|
4
4
|
* A user or group that access is granted to.
|
|
5
5
|
* @public
|
|
@@ -57,176 +57,6 @@ 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
|
|
98
|
-
* synthesis parameters have the same representation in every channel without coupling their
|
|
99
|
-
* language rules.
|
|
100
|
-
*
|
|
101
|
-
* REQUIRED ONLY FOR THE 'voice' ENGINE, enforced in the service rather than here (at
|
|
102
|
-
* `validateAssistantSpeechSettings`, which reads the engine this contract has no view of).
|
|
103
|
-
* 'gpt-live', 'gemini-live' and 'gemini-live-thinking' hold the audio and speak with the
|
|
104
|
-
* gateway's own voice (see AssistantAudioEngine); a language row for one of them carries no
|
|
105
|
-
* voice, and a caller configuring a gateway agent must not have to invent a synthesis URI
|
|
106
|
-
* nobody will ever hear just to satisfy this member.
|
|
107
|
-
* @public
|
|
108
|
-
*/
|
|
109
|
-
voice?: string | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* Marks the language used when the caller's language matches nothing configured.
|
|
112
|
-
*
|
|
113
|
-
* THE FULL RESOLUTION ORDER, because a client author reading only this contract cannot
|
|
114
|
-
* otherwise find it: an exact match on the call's language, then a match on its primary
|
|
115
|
-
* subtag (`fr` finds `fr-FR`), then the language marked here, then a language whose primary
|
|
116
|
-
* subtag is `en`, then the first entry in the list. The same order the voice channel resolves
|
|
117
|
-
* by — the rule belongs to choosing a language, not to a channel.
|
|
118
|
-
*
|
|
119
|
-
* At most one language may carry it. A record with two — reachable through the API, where no
|
|
120
|
-
* form prevents it — resolves to the first marked one in list order: refusing an
|
|
121
|
-
* already-open assistant conversation over configuration drift is worse than serving it.
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
124
|
-
isDefault?: boolean | undefined;
|
|
125
|
-
/**
|
|
126
|
-
* The rules this language is spoken with, same shape and same per-language ownership as
|
|
127
|
-
* VoiceLanguage.pronunciations — a respelling is about how a synthesized reply SOUNDS, not
|
|
128
|
-
* about how a conversation starts, so the rationale that leaves `greeting` off this structure
|
|
129
|
-
* does not apply here. Absent means no respellings for this language, distinct from the voice
|
|
130
|
-
* channel's OWN configured rules for the same language: an agent's assistant audio does not
|
|
131
|
-
* inherit them, so a name gets fixed once and read once, on whichever channel it is saved.
|
|
132
|
-
*
|
|
133
|
-
* READ ONLY BY THE 'voice' ENGINE, same conditionality as `voice` above and for the same
|
|
134
|
-
* reason: 'gpt-live', 'gemini-live' and 'gemini-live-thinking' hold the audio and speak with
|
|
135
|
-
* the gateway's own voice, never this service's synthesis path, so a rule saved here on a
|
|
136
|
-
* gateway agent configures a respelling nothing will ever apply.
|
|
137
|
-
* @public
|
|
138
|
-
*/
|
|
139
|
-
pronunciations?: VoicePronunciation[] | undefined;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Speech-to-text configuration owned by the assistant channel, so changes to assistant
|
|
143
|
-
* recognition policy cannot alter telephony calls.
|
|
144
|
-
*
|
|
145
|
-
* NO `autoDetect` HERE, unlike the voice channel: on this channel configuring a second language
|
|
146
|
-
* IS the request to recognise which one is being spoken — nobody lists two and then asks to be
|
|
147
|
-
* heard in only one — so the server derives identification from the language list and clamps it
|
|
148
|
-
* to false when the recogniser cannot identify among them, or there are too few to identify. The
|
|
149
|
-
* voice channel keeps the switch because a dialplan can hand a call its language, which is a
|
|
150
|
-
* choice an assistant conversation never has to make.
|
|
151
|
-
* @public
|
|
152
|
-
*/
|
|
153
|
-
export interface AssistantTranscriptionSettings {
|
|
154
|
-
/**
|
|
155
|
-
* Recogniser used for assistant audio. Absent resolves to the platform default, resolved by the server so exactly one component decides it.
|
|
156
|
-
* @public
|
|
157
|
-
*/
|
|
158
|
-
engine?: string | undefined;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Recognition and synthesis policy for assistant audio. This is assistant-owned rather than a
|
|
162
|
-
* VoiceSpeechSettings reuse so telephony and assistant audio can evolve independently. It has no
|
|
163
|
-
* language greeting and no greet-every-language switch because an assistant conversation is
|
|
164
|
-
* already open when its audio call starts, leaving nothing for the channel to greet.
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
|
-
export interface AssistantSpeechSettings {
|
|
168
|
-
/**
|
|
169
|
-
* Languages the assistant audio channel can recognise and speak. The @length bound is a
|
|
170
|
-
* STORAGE ceiling, not a promise about what a recogniser accepts at once — unlike the voice
|
|
171
|
-
* channel, where a caller opts into identification with `autoDetect`, THIS channel derives
|
|
172
|
-
* identification from `languages` and turns it on whenever the recogniser can identify among
|
|
173
|
-
* more than one, so every one of the up to ten rows here can become a live candidate list. The
|
|
174
|
-
* service does not clamp that list to a recogniser's own practical limit today (Amazon
|
|
175
|
-
* Transcribe's documented recommendation for streaming identification is five); a caller
|
|
176
|
-
* configuring more than a recogniser accepts should expect degraded identification or a
|
|
177
|
-
* rejected stream, not a refusal from this contract.
|
|
178
|
-
* @public
|
|
179
|
-
*/
|
|
180
|
-
languages: AssistantLanguage[];
|
|
181
|
-
/**
|
|
182
|
-
* 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.
|
|
183
|
-
* @public
|
|
184
|
-
*/
|
|
185
|
-
transcription?: AssistantTranscriptionSettings | undefined;
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Switchable audio for the assistant channel. The settings object keeps enablement beside its
|
|
189
|
-
* speech policy, matching the voice channel's switchable blocks so a disabled configuration can
|
|
190
|
-
* be retained without serving audio.
|
|
191
|
-
* @public
|
|
192
|
-
*/
|
|
193
|
-
export interface AssistantAudioSettings {
|
|
194
|
-
/**
|
|
195
|
-
* Whether the assistant accepts audio calls. Required so the presence of saved speech configuration is never mistaken for enablement.
|
|
196
|
-
* @public
|
|
197
|
-
*/
|
|
198
|
-
enabled: boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Which runtime carries the call. Absent is 'voice'.
|
|
201
|
-
* @public
|
|
202
|
-
*/
|
|
203
|
-
engine?: string | undefined;
|
|
204
|
-
/**
|
|
205
|
-
* Voice the gateway speaks with. Read only by 'gpt-live', 'gemini-live' and 'gemini-live-thinking' —
|
|
206
|
-
* the same three engines `AssistantLanguage.voice` is silent for, and for the mirror-image reason:
|
|
207
|
-
* that member is read only by the 'voice' engine, which is the one engine that synthesizes; this one
|
|
208
|
-
* is read only by the gateways, which are the ones with a voice of their own to name. Absent is the
|
|
209
|
-
* gateway's own default voice. Ignored, but kept, by the 'voice' engine — an agent switched back to
|
|
210
|
-
* it keeps whatever was saved here, unused until it is switched to a gateway again.
|
|
211
|
-
*
|
|
212
|
-
* A NAME, NOT A URI, unlike `AssistantLanguage.voice`. A gateway's voice is never synthesized by this
|
|
213
|
-
* stack, so there is no provider scheme to prefix and no synthesis parameter to carry on it — only
|
|
214
|
-
* the vendor's own prebuilt voice name ('marin', 'Kore', ...), exactly as the gateway's own API takes
|
|
215
|
-
* it.
|
|
216
|
-
*
|
|
217
|
-
* VALIDATED AGAINST THE SELECTED GATEWAY'S OWN CATALOG, not a shared one: OpenAI's Realtime voices
|
|
218
|
-
* and Gemini's prebuilt voices do not overlap. Enforced in the service
|
|
219
|
-
* (`validateAssistantLiveVoice`, wilma-common), which reads the engine this contract has no view
|
|
220
|
-
* of — the same split `AssistantLanguage.voice`'s own REQUIRED ONLY FOR note describes.
|
|
221
|
-
* @public
|
|
222
|
-
*/
|
|
223
|
-
liveVoice?: string | undefined;
|
|
224
|
-
/**
|
|
225
|
-
* Languages, voices and recognition policy for assistant audio. Absent leaves those choices to platform defaults, including when audio is enabled.
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
228
|
-
speech?: AssistantSpeechSettings | undefined;
|
|
229
|
-
}
|
|
230
60
|
/**
|
|
231
61
|
* 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.
|
|
232
62
|
* @public
|
|
@@ -286,7 +116,6 @@ export interface AssistantUiSettings {
|
|
|
286
116
|
placeholder?: string | undefined;
|
|
287
117
|
}
|
|
288
118
|
/**
|
|
289
|
-
* Assistant channel settings. Presence enables the in-app assistant surface; audio remains unavailable unless its separate settings are present and enabled.
|
|
290
119
|
* @public
|
|
291
120
|
*/
|
|
292
121
|
export interface AssistantChannelSettings {
|
|
@@ -300,11 +129,6 @@ export interface AssistantChannelSettings {
|
|
|
300
129
|
* @public
|
|
301
130
|
*/
|
|
302
131
|
ui?: AssistantUiSettings | undefined;
|
|
303
|
-
/**
|
|
304
|
-
* 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`.
|
|
305
|
-
* @public
|
|
306
|
-
*/
|
|
307
|
-
audio?: AssistantAudioSettings | undefined;
|
|
308
132
|
}
|
|
309
133
|
/**
|
|
310
134
|
* @public
|
|
@@ -507,6 +331,30 @@ export interface VoiceSilenceTimeoutSettings {
|
|
|
507
331
|
seconds: number;
|
|
508
332
|
action: VoiceTerminateAction;
|
|
509
333
|
}
|
|
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
|
+
}
|
|
510
358
|
/**
|
|
511
359
|
* One configured language: its voice, its initial phrase and its pronunciation rules.
|
|
512
360
|
* @public
|
|
@@ -605,14 +453,9 @@ export interface VoiceTranscriptionSettings {
|
|
|
605
453
|
*/
|
|
606
454
|
export interface VoiceSpeechSettings {
|
|
607
455
|
/**
|
|
608
|
-
* Configured languages. The @length bound is a STORAGE ceiling, not
|
|
609
|
-
* recogniser
|
|
610
|
-
*
|
|
611
|
-
* recogniser's own practical limit today (Amazon Transcribe's documented recommendation for
|
|
612
|
-
* streaming identification is five) — a caller who both opts in and configures more than a
|
|
613
|
-
* recogniser accepts should expect degraded identification or a rejected stream, not a refusal
|
|
614
|
-
* from this contract. With detection off, only the single resolved language is ever sent, so
|
|
615
|
-
* the ceiling never becomes a candidate-list problem at all.
|
|
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.
|
|
616
459
|
* @public
|
|
617
460
|
*/
|
|
618
461
|
languages: VoiceLanguage[];
|
|
@@ -678,10 +521,6 @@ export interface AgentChannels {
|
|
|
678
521
|
*/
|
|
679
522
|
voice?: VoiceChannelSettings | undefined;
|
|
680
523
|
chat?: ChatChannelSettings | undefined;
|
|
681
|
-
/**
|
|
682
|
-
* Assistant channel settings. Presence enables the in-app assistant surface; audio remains unavailable unless its separate settings are present and enabled.
|
|
683
|
-
* @public
|
|
684
|
-
*/
|
|
685
524
|
assistant?: AssistantChannelSettings | undefined;
|
|
686
525
|
}
|
|
687
526
|
/**
|
|
@@ -3322,29 +3161,51 @@ export interface SecretRef {
|
|
|
3322
3161
|
id: string;
|
|
3323
3162
|
}
|
|
3324
3163
|
/**
|
|
3325
|
-
* Bring-your-own backend over SQS:
|
|
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.
|
|
3326
3167
|
* @public
|
|
3327
3168
|
*/
|
|
3328
3169
|
export interface AgentSqsEngine {
|
|
3329
3170
|
url: string;
|
|
3330
3171
|
key: string;
|
|
3331
3172
|
/**
|
|
3332
|
-
* Reference to the SQS secret access key in wilma-secrets.
|
|
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.
|
|
3333
3177
|
* @public
|
|
3334
3178
|
*/
|
|
3335
|
-
secret
|
|
3179
|
+
secret?: SecretRef | undefined;
|
|
3336
3180
|
}
|
|
3337
3181
|
/**
|
|
3338
|
-
* Bring-your-own backend over HTTPS:
|
|
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.
|
|
3339
3186
|
* @public
|
|
3340
3187
|
*/
|
|
3341
3188
|
export interface AgentWebhookEngine {
|
|
3342
3189
|
url: string;
|
|
3343
3190
|
/**
|
|
3344
|
-
*
|
|
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. An agent migrated from the previous stack gets one created for
|
|
3194
|
+
* the secret it was configured with.
|
|
3195
|
+
*
|
|
3196
|
+
* A DRAFT MAY NOT HAVE ONE YET. An agent is created before it is configured — that is what
|
|
3197
|
+
* the draft status is for — and a console cannot supply a reference to a secret nobody has
|
|
3198
|
+
* chosen. The call refuses instead, naming what is missing, which is where the author finds
|
|
3199
|
+
* out at the only moment it matters.
|
|
3200
|
+
* @public
|
|
3201
|
+
*/
|
|
3202
|
+
secretRef?: SecretRef | undefined;
|
|
3203
|
+
/**
|
|
3204
|
+
* How long one delivery may take, in MILLISECONDS. It bounds a single request and not the
|
|
3205
|
+
* call: a backend that spends all of it on every event is told about the call late, never
|
|
3206
|
+
* less often.
|
|
3345
3207
|
* @public
|
|
3346
3208
|
*/
|
|
3347
|
-
secret: string;
|
|
3348
3209
|
timeout?: number | undefined;
|
|
3349
3210
|
}
|
|
3350
3211
|
/**
|
|
@@ -3367,7 +3228,10 @@ export declare namespace AgentEngine {
|
|
|
3367
3228
|
$unknown?: never;
|
|
3368
3229
|
}
|
|
3369
3230
|
/**
|
|
3370
|
-
* Bring-your-own backend over HTTPS:
|
|
3231
|
+
* Bring-your-own backend over HTTPS: the platform POSTs what happens to the URL and the backend
|
|
3232
|
+
* answers out of band through the channel's command plane, never in the response body — which is
|
|
3233
|
+
* what lets one contract serve both this engine and the queue one, where there is no body to
|
|
3234
|
+
* answer in. The response body is not read.
|
|
3371
3235
|
* @public
|
|
3372
3236
|
*/
|
|
3373
3237
|
interface WebhookMember {
|
|
@@ -3377,7 +3241,9 @@ export declare namespace AgentEngine {
|
|
|
3377
3241
|
$unknown?: never;
|
|
3378
3242
|
}
|
|
3379
3243
|
/**
|
|
3380
|
-
* Bring-your-own backend over SQS:
|
|
3244
|
+
* Bring-your-own backend over SQS: the platform sends what happens to the queue and the backend
|
|
3245
|
+
* answers out of band through the channel's command plane. Authentication is the credential that
|
|
3246
|
+
* makes the send; there is no signature and no response.
|
|
3381
3247
|
* @public
|
|
3382
3248
|
*/
|
|
3383
3249
|
interface SqsMember {
|
|
@@ -3602,10 +3468,18 @@ export interface AgentInfo {
|
|
|
3602
3468
|
*/
|
|
3603
3469
|
speechConfigured?: boolean | undefined;
|
|
3604
3470
|
/**
|
|
3605
|
-
*
|
|
3471
|
+
* Which engine produces this agent's replies: the managed one, or somebody else's backend
|
|
3472
|
+
* over a webhook or a queue. `channels` is what the agent DECLARES, and an engine is
|
|
3473
|
+
* implemented per channel, so the two are not the same question — an agent that declares a
|
|
3474
|
+
* channel its engine cannot serve is configured, listed, and silent there.
|
|
3475
|
+
*
|
|
3476
|
+
* Which channels each engine can serve is a property of the platform rather than of this
|
|
3477
|
+
* agent, so it does not travel per agent: every `ai` agent would carry the same answer. The
|
|
3478
|
+
* service enforces it where it matters — a listing filtered by channel omits an agent whose
|
|
3479
|
+
* engine cannot answer there, and the channel refuses the connection.
|
|
3606
3480
|
* @public
|
|
3607
3481
|
*/
|
|
3608
|
-
|
|
3482
|
+
engine?: AgentEngineKind | undefined;
|
|
3609
3483
|
/**
|
|
3610
3484
|
* Ids of the skills attached to this agent. Always active in this agent's sessions; user skill preferences cannot disable them.
|
|
3611
3485
|
* @public
|
|
@@ -96,12 +96,8 @@ 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;
|
|
100
99
|
export declare var AssistantChannelSettings$: StaticStructureSchema;
|
|
101
|
-
export declare var AssistantLanguage$: StaticStructureSchema;
|
|
102
100
|
export declare var AssistantQuickCommand$: StaticStructureSchema;
|
|
103
|
-
export declare var AssistantSpeechSettings$: StaticStructureSchema;
|
|
104
|
-
export declare var AssistantTranscriptionSettings$: StaticStructureSchema;
|
|
105
101
|
export declare var AssistantUiSettings$: StaticStructureSchema;
|
|
106
102
|
export declare var AssistantWelcomeSettings$: StaticStructureSchema;
|
|
107
103
|
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.
|
|
4
|
+
"version": "1.0.52",
|
|
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",
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
"browser": {
|
|
57
57
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
58
58
|
}
|
|
59
|
-
}
|
|
59
|
+
}
|