@wildix/wilma-agents-client 1.0.29 → 1.0.31

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.
@@ -27,6 +27,7 @@ exports.ChannelType = {
27
27
  ASSISTANT: "assistant",
28
28
  CHAT: "chat",
29
29
  VOICE: "voice",
30
+ WORKFLOW: "workflow",
30
31
  };
31
32
  exports.AgentToolPipelineType = {
32
33
  ASYNC_REQUEST: "async_request",
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = exports.AgentToolVariableGuidedHandler$ = exports.AgentToolVariableAutoHandler$ = exports.AgentToolVariable$ = exports.AgentToolTagAnnotation$ = exports.AgentToolResultAnnotation$ = exports.AgentToolPipeline$ = exports.AgentToolFieldPredefinedHandler$ = exports.AgentToolFieldGuidedHandler$ = exports.AgentToolField$ = exports.AgentToolCommentAnnotation$ = exports.AgentToolApproval$ = exports.AgentTool$ = exports.AgentSuggestionsCapability$ = exports.AgentSqsEngine$ = exports.AgentSnapshotSandboxOptions$ = exports.AgentSettings$ = exports.AgentKnowledgeBase$ = exports.AgentInfo$ = exports.AgentHangupPipeline$ = exports.AgentHangupCapability$ = exports.AgentHandoverPipeline$ = exports.AgentHandoverCapability$ = exports.AgentGuardrails$ = exports.AgentGuardrailRedactAction$ = exports.AgentGuardrailPresetCheck$ = exports.AgentGuardrailObserveAction$ = exports.AgentGuardrailInput$ = exports.AgentGuardrailEndAction$ = exports.AgentGuardrailCustomCheck$ = exports.AgentGuardrailCheck$ = exports.AgentGuardrailBlockAction$ = exports.AgentDeploymentRoute$ = exports.AgentDelegationCapability$ = exports.AgentDefinitionSnapshot$ = exports.AgentConnectorCapability$ = exports.AgentChannels$ = exports.AgentCallCapability$ = exports.AgentApiKey$ = exports.AgentAiEngine$ = exports.AgentAccess$ = exports.Agent$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ConflictException$ = exports.WilmaAgentsServiceException$ = void 0;
4
4
  exports.CreateAgentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantWelcomeSettings$ = exports.AssistantUiSettings$ = exports.AssistantQuickCommand$ = exports.AssistantChannelSettings$ = exports.AgentWorkflowVariablesHandler$ = exports.AgentWorkflowTransition$ = exports.AgentWorkflowStepPosition$ = exports.AgentWorkflowStep$ = exports.AgentWorkflowSettings$ = exports.AgentWorkflowResultHandler$ = exports.AgentWorkflowResultCondition$ = exports.AgentWorkflowPromptCondition$ = exports.AgentWorkflowNested$ = exports.AgentWorkflowMessageVoiceSettings$ = exports.AgentWorkflowMessageHandler$ = exports.AgentWorkflowMessageGeneration$ = exports.AgentWorkflowMessageChatSettings$ = exports.AgentWorkflowMessageChannelsSettings$ = exports.AgentWorkflowMessageButtonReplyHandler$ = exports.AgentWorkflowMessageButtonLinkHandler$ = exports.AgentWorkflowMessageButton$ = exports.AgentWorkflowInvokeHandler$ = exports.AgentWorkflowFallbackCondition$ = exports.AgentWorkflowFailureCondition$ = exports.AgentWorkflowExpressionCondition$ = exports.AgentWorkflowEndHandler$ = exports.AgentWorkflowConversationVoiceSettings$ = exports.AgentWorkflowConversationHandler$ = exports.AgentWorkflowConversationChannelsSettings$ = exports.AgentWorkflowAssignment$ = exports.AgentWorkflowAlwaysCondition$ = exports.AgentWorkflowActionHandler$ = exports.AgentWorkflow$ = exports.AgentWebSearchCapability$ = exports.AgentWebhookEngine$ = exports.AgentWebFetchCapability$ = exports.AgentWaitCapability$ = exports.AgentVersionInfo$ = exports.AgentVersionChange$ = exports.AgentVersion$ = exports.AgentVercelSandboxOptions$ = exports.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = void 0;
5
5
  exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTranscriptionSettings$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSynthesisOptions$ = exports.VoiceSpeechSettings$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoicePronunciation$ = exports.VoiceMaxDurationSettings$ = exports.VoiceLanguage$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.ResetAgentDeploymentOutput$ = exports.ResetAgentDeploymentInput$ = exports.PutPronunciationDictionaryOutput$ = exports.PutPronunciationDictionaryInput$ = exports.PutAgentDeploymentOutput$ = exports.PutAgentDeploymentInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.PronunciationDictionary$ = exports.ListPronunciationDictionariesOutput$ = exports.ListPronunciationDictionariesInput$ = 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.DeletePronunciationDictionaryOutput$ = exports.DeletePronunciationDictionaryInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = void 0;
6
- exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutPronunciationDictionary$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListPronunciationDictionaries$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeletePronunciationDictionary$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ = exports.AgentGuardrailAction$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = void 0;
6
+ exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutPronunciationDictionary$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListPronunciationDictionaries$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeletePronunciationDictionary$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ = exports.AgentGuardrailAction$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.WorkflowChannelSettings$ = void 0;
7
7
  const _A = "Agent";
8
8
  const _AA = "AgentAccess";
9
9
  const _AAE = "AgentAiEngine";
@@ -212,6 +212,7 @@ const _VTA = "VoiceTerminateAction";
212
212
  const _VTHA = "VoiceTerminateHangupAction";
213
213
  const _VTS = "VoiceTranscriptionSettings";
214
214
  const _VTT = "VoiceTransferTarget";
215
+ const _WCS = "WorkflowChannelSettings";
215
216
  const _WSUL = "WebSearchUserLocation";
216
217
  const _a = "access";
217
218
  const _aD = "allowedDomains";
@@ -518,8 +519,8 @@ exports.AgentCallCapability$ = [3, n2, _ACC,
518
519
  ];
519
520
  exports.AgentChannels$ = [3, n2, _AC,
520
521
  0,
521
- [_vo, _cha, _as],
522
- [() => exports.VoiceChannelSettings$, () => exports.ChatChannelSettings$, () => exports.AssistantChannelSettings$]
522
+ [_vo, _cha, _as, _w],
523
+ [() => exports.VoiceChannelSettings$, () => exports.ChatChannelSettings$, () => exports.AssistantChannelSettings$, () => exports.WorkflowChannelSettings$]
523
524
  ];
524
525
  exports.AgentConnectorCapability$ = [3, n2, _ACCg,
525
526
  0,
@@ -563,8 +564,8 @@ exports.AgentGuardrailEndAction$ = [3, n2, _AGEA,
563
564
  ];
564
565
  exports.AgentGuardrailInput$ = [3, n2, _AGI,
565
566
  0,
566
- [_che, _mo, _mod, _eM, _wi],
567
- [() => AgentGuardrailChecksList, 0, 0, 0, 0]
567
+ [_che, _mo, _ac, _mod, _eM, _wi],
568
+ [() => AgentGuardrailChecksList, 0, () => exports.AgentGuardrailAction$, 0, 0, 0]
568
569
  ];
569
570
  exports.AgentGuardrailObserveAction$ = [3, n2, _AGOA,
570
571
  0,
@@ -1206,6 +1207,11 @@ exports.WebSearchUserLocation$ = [3, n2, _WSUL,
1206
1207
  [_cou, _reg, _ci, _time],
1207
1208
  [0, 0, 0, 0]
1208
1209
  ];
1210
+ exports.WorkflowChannelSettings$ = [3, n2, _WCS,
1211
+ 0,
1212
+ [],
1213
+ []
1214
+ ];
1209
1215
  exports.Actor$ = [3, n1, _Ac,
1210
1216
  0,
1211
1217
  [_t, _i, _n],
@@ -24,6 +24,7 @@ export const ChannelType = {
24
24
  ASSISTANT: "assistant",
25
25
  CHAT: "chat",
26
26
  VOICE: "voice",
27
+ WORKFLOW: "workflow",
27
28
  };
28
29
  export const AgentToolPipelineType = {
29
30
  ASYNC_REQUEST: "async_request",
@@ -206,6 +206,7 @@ const _VTA = "VoiceTerminateAction";
206
206
  const _VTHA = "VoiceTerminateHangupAction";
207
207
  const _VTS = "VoiceTranscriptionSettings";
208
208
  const _VTT = "VoiceTransferTarget";
209
+ const _WCS = "WorkflowChannelSettings";
209
210
  const _WSUL = "WebSearchUserLocation";
210
211
  const _a = "access";
211
212
  const _aD = "allowedDomains";
@@ -512,8 +513,8 @@ export var AgentCallCapability$ = [3, n2, _ACC,
512
513
  ];
513
514
  export var AgentChannels$ = [3, n2, _AC,
514
515
  0,
515
- [_vo, _cha, _as],
516
- [() => VoiceChannelSettings$, () => ChatChannelSettings$, () => AssistantChannelSettings$]
516
+ [_vo, _cha, _as, _w],
517
+ [() => VoiceChannelSettings$, () => ChatChannelSettings$, () => AssistantChannelSettings$, () => WorkflowChannelSettings$]
517
518
  ];
518
519
  export var AgentConnectorCapability$ = [3, n2, _ACCg,
519
520
  0,
@@ -557,8 +558,8 @@ export var AgentGuardrailEndAction$ = [3, n2, _AGEA,
557
558
  ];
558
559
  export var AgentGuardrailInput$ = [3, n2, _AGI,
559
560
  0,
560
- [_che, _mo, _mod, _eM, _wi],
561
- [() => AgentGuardrailChecksList, 0, 0, 0, 0]
561
+ [_che, _mo, _ac, _mod, _eM, _wi],
562
+ [() => AgentGuardrailChecksList, 0, () => AgentGuardrailAction$, 0, 0, 0]
562
563
  ];
563
564
  export var AgentGuardrailObserveAction$ = [3, n2, _AGOA,
564
565
  0,
@@ -1200,6 +1201,11 @@ export var WebSearchUserLocation$ = [3, n2, _WSUL,
1200
1201
  [_cou, _reg, _ci, _time],
1201
1202
  [0, 0, 0, 0]
1202
1203
  ];
1204
+ export var WorkflowChannelSettings$ = [3, n2, _WCS,
1205
+ 0,
1206
+ [],
1207
+ []
1208
+ ];
1203
1209
  export var Actor$ = [3, n1, _Ac,
1204
1210
  0,
1205
1211
  [_t, _i, _n],
@@ -163,6 +163,7 @@ declare const CreateAgentCommand_base: {
163
163
  * placeholder: "STRING_VALUE",
164
164
  * },
165
165
  * },
166
+ * workflow: {},
166
167
  * },
167
168
  * engine: { // AgentEngine Union: only one key present
168
169
  * ai: { // AgentAiEngine
@@ -214,7 +215,7 @@ declare const CreateAgentCommand_base: {
214
215
  * prompt: "STRING_VALUE",
215
216
  * },
216
217
  * channels: [ // AgentCapabilityChannelsList
217
- * "voice" || "chat" || "assistant",
218
+ * "voice" || "chat" || "assistant" || "workflow",
218
219
  * ],
219
220
  * annotations: [ // AgentToolAnnotationsList
220
221
  * { // AgentToolAnnotation Union: only one key present
@@ -244,7 +245,7 @@ declare const CreateAgentCommand_base: {
244
245
  * prompt: "STRING_VALUE",
245
246
  * },
246
247
  * channels: [
247
- * "voice" || "chat" || "assistant",
248
+ * "voice" || "chat" || "assistant" || "workflow",
248
249
  * ],
249
250
  * annotations: [
250
251
  * {// Union: only one key present
@@ -267,7 +268,7 @@ declare const CreateAgentCommand_base: {
267
268
  * knowledgeBaseId: "STRING_VALUE",
268
269
  * instructions: "STRING_VALUE",
269
270
  * channels: [
270
- * "voice" || "chat" || "assistant",
271
+ * "voice" || "chat" || "assistant" || "workflow",
271
272
  * ],
272
273
  * annotations: [
273
274
  * {// Union: only one key present
@@ -315,7 +316,7 @@ declare const CreateAgentCommand_base: {
315
316
  * timezone: "STRING_VALUE",
316
317
  * },
317
318
  * channels: [
318
- * "voice" || "chat" || "assistant",
319
+ * "voice" || "chat" || "assistant" || "workflow",
319
320
  * ],
320
321
  * },
321
322
  * webFetch: { // AgentWebFetchCapability
@@ -323,7 +324,7 @@ declare const CreateAgentCommand_base: {
323
324
  * "STRING_VALUE",
324
325
  * ],
325
326
  * channels: [
326
- * "voice" || "chat" || "assistant",
327
+ * "voice" || "chat" || "assistant" || "workflow",
327
328
  * ],
328
329
  * },
329
330
  * agent: { // AgentCallCapability
@@ -854,6 +855,16 @@ declare const CreateAgentCommand_base: {
854
855
  * },
855
856
  * ],
856
857
  * model: "STRING_VALUE",
858
+ * action: {// Union: only one key present
859
+ * observe: {},
860
+ * redact: {},
861
+ * block: {
862
+ * message: "STRING_VALUE",
863
+ * },
864
+ * end: {
865
+ * message: "STRING_VALUE",
866
+ * },
867
+ * },
857
868
  * mode: "blocking" || "parallel",
858
869
  * errorMode: "open" || "closed",
859
870
  * window: "lastMessage" || "lastWithPrior",
@@ -1026,6 +1037,7 @@ declare const CreateAgentCommand_base: {
1026
1037
  * // placeholder: "STRING_VALUE",
1027
1038
  * // },
1028
1039
  * // },
1040
+ * // workflow: {},
1029
1041
  * // },
1030
1042
  * // engine: { // AgentEngine Union: only one key present
1031
1043
  * // ai: { // AgentAiEngine
@@ -1077,7 +1089,7 @@ declare const CreateAgentCommand_base: {
1077
1089
  * // prompt: "STRING_VALUE",
1078
1090
  * // },
1079
1091
  * // channels: [ // AgentCapabilityChannelsList
1080
- * // "voice" || "chat" || "assistant",
1092
+ * // "voice" || "chat" || "assistant" || "workflow",
1081
1093
  * // ],
1082
1094
  * // annotations: [ // AgentToolAnnotationsList
1083
1095
  * // { // AgentToolAnnotation Union: only one key present
@@ -1107,7 +1119,7 @@ declare const CreateAgentCommand_base: {
1107
1119
  * // prompt: "STRING_VALUE",
1108
1120
  * // },
1109
1121
  * // channels: [
1110
- * // "voice" || "chat" || "assistant",
1122
+ * // "voice" || "chat" || "assistant" || "workflow",
1111
1123
  * // ],
1112
1124
  * // annotations: [
1113
1125
  * // {// Union: only one key present
@@ -1130,7 +1142,7 @@ declare const CreateAgentCommand_base: {
1130
1142
  * // knowledgeBaseId: "STRING_VALUE",
1131
1143
  * // instructions: "STRING_VALUE",
1132
1144
  * // channels: [
1133
- * // "voice" || "chat" || "assistant",
1145
+ * // "voice" || "chat" || "assistant" || "workflow",
1134
1146
  * // ],
1135
1147
  * // annotations: [
1136
1148
  * // {// Union: only one key present
@@ -1178,7 +1190,7 @@ declare const CreateAgentCommand_base: {
1178
1190
  * // timezone: "STRING_VALUE",
1179
1191
  * // },
1180
1192
  * // channels: [
1181
- * // "voice" || "chat" || "assistant",
1193
+ * // "voice" || "chat" || "assistant" || "workflow",
1182
1194
  * // ],
1183
1195
  * // },
1184
1196
  * // webFetch: { // AgentWebFetchCapability
@@ -1186,7 +1198,7 @@ declare const CreateAgentCommand_base: {
1186
1198
  * // "STRING_VALUE",
1187
1199
  * // ],
1188
1200
  * // channels: [
1189
- * // "voice" || "chat" || "assistant",
1201
+ * // "voice" || "chat" || "assistant" || "workflow",
1190
1202
  * // ],
1191
1203
  * // },
1192
1204
  * // agent: { // AgentCallCapability
@@ -1717,6 +1729,16 @@ declare const CreateAgentCommand_base: {
1717
1729
  * // },
1718
1730
  * // ],
1719
1731
  * // model: "STRING_VALUE",
1732
+ * // action: {// Union: only one key present
1733
+ * // observe: {},
1734
+ * // redact: {},
1735
+ * // block: {
1736
+ * // message: "STRING_VALUE",
1737
+ * // },
1738
+ * // end: {
1739
+ * // message: "STRING_VALUE",
1740
+ * // },
1741
+ * // },
1720
1742
  * // mode: "blocking" || "parallel",
1721
1743
  * // errorMode: "open" || "closed",
1722
1744
  * // window: "lastMessage" || "lastWithPrior",
@@ -170,6 +170,7 @@ declare const GetAgentCommand_base: {
170
170
  * // placeholder: "STRING_VALUE",
171
171
  * // },
172
172
  * // },
173
+ * // workflow: {},
173
174
  * // },
174
175
  * // engine: { // AgentEngine Union: only one key present
175
176
  * // ai: { // AgentAiEngine
@@ -221,7 +222,7 @@ declare const GetAgentCommand_base: {
221
222
  * // prompt: "STRING_VALUE",
222
223
  * // },
223
224
  * // channels: [ // AgentCapabilityChannelsList
224
- * // "voice" || "chat" || "assistant",
225
+ * // "voice" || "chat" || "assistant" || "workflow",
225
226
  * // ],
226
227
  * // annotations: [ // AgentToolAnnotationsList
227
228
  * // { // AgentToolAnnotation Union: only one key present
@@ -251,7 +252,7 @@ declare const GetAgentCommand_base: {
251
252
  * // prompt: "STRING_VALUE",
252
253
  * // },
253
254
  * // channels: [
254
- * // "voice" || "chat" || "assistant",
255
+ * // "voice" || "chat" || "assistant" || "workflow",
255
256
  * // ],
256
257
  * // annotations: [
257
258
  * // {// Union: only one key present
@@ -274,7 +275,7 @@ declare const GetAgentCommand_base: {
274
275
  * // knowledgeBaseId: "STRING_VALUE",
275
276
  * // instructions: "STRING_VALUE",
276
277
  * // channels: [
277
- * // "voice" || "chat" || "assistant",
278
+ * // "voice" || "chat" || "assistant" || "workflow",
278
279
  * // ],
279
280
  * // annotations: [
280
281
  * // {// Union: only one key present
@@ -322,7 +323,7 @@ declare const GetAgentCommand_base: {
322
323
  * // timezone: "STRING_VALUE",
323
324
  * // },
324
325
  * // channels: [
325
- * // "voice" || "chat" || "assistant",
326
+ * // "voice" || "chat" || "assistant" || "workflow",
326
327
  * // ],
327
328
  * // },
328
329
  * // webFetch: { // AgentWebFetchCapability
@@ -330,7 +331,7 @@ declare const GetAgentCommand_base: {
330
331
  * // "STRING_VALUE",
331
332
  * // ],
332
333
  * // channels: [
333
- * // "voice" || "chat" || "assistant",
334
+ * // "voice" || "chat" || "assistant" || "workflow",
334
335
  * // ],
335
336
  * // },
336
337
  * // agent: { // AgentCallCapability
@@ -861,6 +862,16 @@ declare const GetAgentCommand_base: {
861
862
  * // },
862
863
  * // ],
863
864
  * // model: "STRING_VALUE",
865
+ * // action: {// Union: only one key present
866
+ * // observe: {},
867
+ * // redact: {},
868
+ * // block: {
869
+ * // message: "STRING_VALUE",
870
+ * // },
871
+ * // end: {
872
+ * // message: "STRING_VALUE",
873
+ * // },
874
+ * // },
864
875
  * // mode: "blocking" || "parallel",
865
876
  * // errorMode: "open" || "closed",
866
877
  * // window: "lastMessage" || "lastWithPrior",
@@ -177,6 +177,7 @@ declare const GetAgentVersionCommand_base: {
177
177
  * // placeholder: "STRING_VALUE",
178
178
  * // },
179
179
  * // },
180
+ * // workflow: {},
180
181
  * // },
181
182
  * // engine: { // AgentEngine Union: only one key present
182
183
  * // ai: { // AgentAiEngine
@@ -228,7 +229,7 @@ declare const GetAgentVersionCommand_base: {
228
229
  * // prompt: "STRING_VALUE",
229
230
  * // },
230
231
  * // channels: [ // AgentCapabilityChannelsList
231
- * // "voice" || "chat" || "assistant",
232
+ * // "voice" || "chat" || "assistant" || "workflow",
232
233
  * // ],
233
234
  * // annotations: [ // AgentToolAnnotationsList
234
235
  * // { // AgentToolAnnotation Union: only one key present
@@ -258,7 +259,7 @@ declare const GetAgentVersionCommand_base: {
258
259
  * // prompt: "STRING_VALUE",
259
260
  * // },
260
261
  * // channels: [
261
- * // "voice" || "chat" || "assistant",
262
+ * // "voice" || "chat" || "assistant" || "workflow",
262
263
  * // ],
263
264
  * // annotations: [
264
265
  * // {// Union: only one key present
@@ -281,7 +282,7 @@ declare const GetAgentVersionCommand_base: {
281
282
  * // knowledgeBaseId: "STRING_VALUE",
282
283
  * // instructions: "STRING_VALUE",
283
284
  * // channels: [
284
- * // "voice" || "chat" || "assistant",
285
+ * // "voice" || "chat" || "assistant" || "workflow",
285
286
  * // ],
286
287
  * // annotations: [
287
288
  * // {// Union: only one key present
@@ -329,7 +330,7 @@ declare const GetAgentVersionCommand_base: {
329
330
  * // timezone: "STRING_VALUE",
330
331
  * // },
331
332
  * // channels: [
332
- * // "voice" || "chat" || "assistant",
333
+ * // "voice" || "chat" || "assistant" || "workflow",
333
334
  * // ],
334
335
  * // },
335
336
  * // webFetch: { // AgentWebFetchCapability
@@ -337,7 +338,7 @@ declare const GetAgentVersionCommand_base: {
337
338
  * // "STRING_VALUE",
338
339
  * // ],
339
340
  * // channels: [
340
- * // "voice" || "chat" || "assistant",
341
+ * // "voice" || "chat" || "assistant" || "workflow",
341
342
  * // ],
342
343
  * // },
343
344
  * // agent: { // AgentCallCapability
@@ -868,6 +869,16 @@ declare const GetAgentVersionCommand_base: {
868
869
  * // },
869
870
  * // ],
870
871
  * // model: "STRING_VALUE",
872
+ * // action: {// Union: only one key present
873
+ * // observe: {},
874
+ * // redact: {},
875
+ * // block: {
876
+ * // message: "STRING_VALUE",
877
+ * // },
878
+ * // end: {
879
+ * // message: "STRING_VALUE",
880
+ * // },
881
+ * // },
871
882
  * // mode: "blocking" || "parallel",
872
883
  * // errorMode: "open" || "closed",
873
884
  * // window: "lastMessage" || "lastWithPrior",
@@ -38,7 +38,7 @@ declare const ListAgentsCommand_base: {
38
38
  * const client = new WilmaAgentsClient(config);
39
39
  * const input = { // ListAgentsInput
40
40
  * company: "STRING_VALUE",
41
- * channel: "voice" || "chat" || "assistant",
41
+ * channel: "voice" || "chat" || "assistant" || "workflow",
42
42
  * status: "draft" || "active",
43
43
  * search: "STRING_VALUE",
44
44
  * limit: Number("int"),
@@ -175,6 +175,7 @@ declare const ListAgentsCommand_base: {
175
175
  * // placeholder: "STRING_VALUE",
176
176
  * // },
177
177
  * // },
178
+ * // workflow: {},
178
179
  * // },
179
180
  * // engine: { // AgentEngine Union: only one key present
180
181
  * // ai: { // AgentAiEngine
@@ -226,7 +227,7 @@ declare const ListAgentsCommand_base: {
226
227
  * // prompt: "STRING_VALUE",
227
228
  * // },
228
229
  * // channels: [ // AgentCapabilityChannelsList
229
- * // "voice" || "chat" || "assistant",
230
+ * // "voice" || "chat" || "assistant" || "workflow",
230
231
  * // ],
231
232
  * // annotations: [ // AgentToolAnnotationsList
232
233
  * // { // AgentToolAnnotation Union: only one key present
@@ -256,7 +257,7 @@ declare const ListAgentsCommand_base: {
256
257
  * // prompt: "STRING_VALUE",
257
258
  * // },
258
259
  * // channels: [
259
- * // "voice" || "chat" || "assistant",
260
+ * // "voice" || "chat" || "assistant" || "workflow",
260
261
  * // ],
261
262
  * // annotations: [
262
263
  * // {// Union: only one key present
@@ -279,7 +280,7 @@ declare const ListAgentsCommand_base: {
279
280
  * // knowledgeBaseId: "STRING_VALUE",
280
281
  * // instructions: "STRING_VALUE",
281
282
  * // channels: [
282
- * // "voice" || "chat" || "assistant",
283
+ * // "voice" || "chat" || "assistant" || "workflow",
283
284
  * // ],
284
285
  * // annotations: [
285
286
  * // {// Union: only one key present
@@ -327,7 +328,7 @@ declare const ListAgentsCommand_base: {
327
328
  * // timezone: "STRING_VALUE",
328
329
  * // },
329
330
  * // channels: [
330
- * // "voice" || "chat" || "assistant",
331
+ * // "voice" || "chat" || "assistant" || "workflow",
331
332
  * // ],
332
333
  * // },
333
334
  * // webFetch: { // AgentWebFetchCapability
@@ -335,7 +336,7 @@ declare const ListAgentsCommand_base: {
335
336
  * // "STRING_VALUE",
336
337
  * // ],
337
338
  * // channels: [
338
- * // "voice" || "chat" || "assistant",
339
+ * // "voice" || "chat" || "assistant" || "workflow",
339
340
  * // ],
340
341
  * // },
341
342
  * // agent: { // AgentCallCapability
@@ -866,6 +867,16 @@ declare const ListAgentsCommand_base: {
866
867
  * // },
867
868
  * // ],
868
869
  * // model: "STRING_VALUE",
870
+ * // action: {// Union: only one key present
871
+ * // observe: {},
872
+ * // redact: {},
873
+ * // block: {
874
+ * // message: "STRING_VALUE",
875
+ * // },
876
+ * // end: {
877
+ * // message: "STRING_VALUE",
878
+ * // },
879
+ * // },
869
880
  * // mode: "blocking" || "parallel",
870
881
  * // errorMode: "open" || "closed",
871
882
  * // window: "lastMessage" || "lastWithPrior",
@@ -38,7 +38,7 @@ declare const ListAgentsNamesCommand_base: {
38
38
  * const client = new WilmaAgentsClient(config);
39
39
  * const input = { // ListAgentsNamesInput
40
40
  * company: "STRING_VALUE",
41
- * channel: "voice" || "chat" || "assistant",
41
+ * channel: "voice" || "chat" || "assistant" || "workflow",
42
42
  * };
43
43
  * const command = new ListAgentsNamesCommand(input);
44
44
  * const response = await client.send(command);
@@ -51,7 +51,7 @@ declare const ListAgentsNamesCommand_base: {
51
51
  * // category: "STRING_VALUE",
52
52
  * // status: "draft" || "active", // required
53
53
  * // channels: [ // ChannelTypeList // required
54
- * // "voice" || "chat" || "assistant",
54
+ * // "voice" || "chat" || "assistant" || "workflow",
55
55
  * // ],
56
56
  * // speechConfigured: true || false,
57
57
  * // assistant: { // AssistantUiSettings
@@ -179,6 +179,7 @@ declare const PublishAgentVersionCommand_base: {
179
179
  * // placeholder: "STRING_VALUE",
180
180
  * // },
181
181
  * // },
182
+ * // workflow: {},
182
183
  * // },
183
184
  * // engine: { // AgentEngine Union: only one key present
184
185
  * // ai: { // AgentAiEngine
@@ -230,7 +231,7 @@ declare const PublishAgentVersionCommand_base: {
230
231
  * // prompt: "STRING_VALUE",
231
232
  * // },
232
233
  * // channels: [ // AgentCapabilityChannelsList
233
- * // "voice" || "chat" || "assistant",
234
+ * // "voice" || "chat" || "assistant" || "workflow",
234
235
  * // ],
235
236
  * // annotations: [ // AgentToolAnnotationsList
236
237
  * // { // AgentToolAnnotation Union: only one key present
@@ -260,7 +261,7 @@ declare const PublishAgentVersionCommand_base: {
260
261
  * // prompt: "STRING_VALUE",
261
262
  * // },
262
263
  * // channels: [
263
- * // "voice" || "chat" || "assistant",
264
+ * // "voice" || "chat" || "assistant" || "workflow",
264
265
  * // ],
265
266
  * // annotations: [
266
267
  * // {// Union: only one key present
@@ -283,7 +284,7 @@ declare const PublishAgentVersionCommand_base: {
283
284
  * // knowledgeBaseId: "STRING_VALUE",
284
285
  * // instructions: "STRING_VALUE",
285
286
  * // channels: [
286
- * // "voice" || "chat" || "assistant",
287
+ * // "voice" || "chat" || "assistant" || "workflow",
287
288
  * // ],
288
289
  * // annotations: [
289
290
  * // {// Union: only one key present
@@ -331,7 +332,7 @@ declare const PublishAgentVersionCommand_base: {
331
332
  * // timezone: "STRING_VALUE",
332
333
  * // },
333
334
  * // channels: [
334
- * // "voice" || "chat" || "assistant",
335
+ * // "voice" || "chat" || "assistant" || "workflow",
335
336
  * // ],
336
337
  * // },
337
338
  * // webFetch: { // AgentWebFetchCapability
@@ -339,7 +340,7 @@ declare const PublishAgentVersionCommand_base: {
339
340
  * // "STRING_VALUE",
340
341
  * // ],
341
342
  * // channels: [
342
- * // "voice" || "chat" || "assistant",
343
+ * // "voice" || "chat" || "assistant" || "workflow",
343
344
  * // ],
344
345
  * // },
345
346
  * // agent: { // AgentCallCapability
@@ -870,6 +871,16 @@ declare const PublishAgentVersionCommand_base: {
870
871
  * // },
871
872
  * // ],
872
873
  * // model: "STRING_VALUE",
874
+ * // action: {// Union: only one key present
875
+ * // observe: {},
876
+ * // redact: {},
877
+ * // block: {
878
+ * // message: "STRING_VALUE",
879
+ * // },
880
+ * // end: {
881
+ * // message: "STRING_VALUE",
882
+ * // },
883
+ * // },
873
884
  * // mode: "blocking" || "parallel",
874
885
  * // errorMode: "open" || "closed",
875
886
  * // window: "lastMessage" || "lastWithPrior",
@@ -172,6 +172,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
172
172
  * // placeholder: "STRING_VALUE",
173
173
  * // },
174
174
  * // },
175
+ * // workflow: {},
175
176
  * // },
176
177
  * // engine: { // AgentEngine Union: only one key present
177
178
  * // ai: { // AgentAiEngine
@@ -223,7 +224,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
223
224
  * // prompt: "STRING_VALUE",
224
225
  * // },
225
226
  * // channels: [ // AgentCapabilityChannelsList
226
- * // "voice" || "chat" || "assistant",
227
+ * // "voice" || "chat" || "assistant" || "workflow",
227
228
  * // ],
228
229
  * // annotations: [ // AgentToolAnnotationsList
229
230
  * // { // AgentToolAnnotation Union: only one key present
@@ -253,7 +254,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
253
254
  * // prompt: "STRING_VALUE",
254
255
  * // },
255
256
  * // channels: [
256
- * // "voice" || "chat" || "assistant",
257
+ * // "voice" || "chat" || "assistant" || "workflow",
257
258
  * // ],
258
259
  * // annotations: [
259
260
  * // {// Union: only one key present
@@ -276,7 +277,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
276
277
  * // knowledgeBaseId: "STRING_VALUE",
277
278
  * // instructions: "STRING_VALUE",
278
279
  * // channels: [
279
- * // "voice" || "chat" || "assistant",
280
+ * // "voice" || "chat" || "assistant" || "workflow",
280
281
  * // ],
281
282
  * // annotations: [
282
283
  * // {// Union: only one key present
@@ -324,7 +325,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
324
325
  * // timezone: "STRING_VALUE",
325
326
  * // },
326
327
  * // channels: [
327
- * // "voice" || "chat" || "assistant",
328
+ * // "voice" || "chat" || "assistant" || "workflow",
328
329
  * // ],
329
330
  * // },
330
331
  * // webFetch: { // AgentWebFetchCapability
@@ -332,7 +333,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
332
333
  * // "STRING_VALUE",
333
334
  * // ],
334
335
  * // channels: [
335
- * // "voice" || "chat" || "assistant",
336
+ * // "voice" || "chat" || "assistant" || "workflow",
336
337
  * // ],
337
338
  * // },
338
339
  * // agent: { // AgentCallCapability
@@ -863,6 +864,16 @@ declare const RestoreAgentVersionToDraftCommand_base: {
863
864
  * // },
864
865
  * // ],
865
866
  * // model: "STRING_VALUE",
867
+ * // action: {// Union: only one key present
868
+ * // observe: {},
869
+ * // redact: {},
870
+ * // block: {
871
+ * // message: "STRING_VALUE",
872
+ * // },
873
+ * // end: {
874
+ * // message: "STRING_VALUE",
875
+ * // },
876
+ * // },
866
877
  * // mode: "blocking" || "parallel",
867
878
  * // errorMode: "open" || "closed",
868
879
  * // window: "lastMessage" || "lastWithPrior",
@@ -163,6 +163,7 @@ declare const UpdateAgentCommand_base: {
163
163
  * placeholder: "STRING_VALUE",
164
164
  * },
165
165
  * },
166
+ * workflow: {},
166
167
  * },
167
168
  * engine: { // AgentEngine Union: only one key present
168
169
  * ai: { // AgentAiEngine
@@ -214,7 +215,7 @@ declare const UpdateAgentCommand_base: {
214
215
  * prompt: "STRING_VALUE",
215
216
  * },
216
217
  * channels: [ // AgentCapabilityChannelsList
217
- * "voice" || "chat" || "assistant",
218
+ * "voice" || "chat" || "assistant" || "workflow",
218
219
  * ],
219
220
  * annotations: [ // AgentToolAnnotationsList
220
221
  * { // AgentToolAnnotation Union: only one key present
@@ -244,7 +245,7 @@ declare const UpdateAgentCommand_base: {
244
245
  * prompt: "STRING_VALUE",
245
246
  * },
246
247
  * channels: [
247
- * "voice" || "chat" || "assistant",
248
+ * "voice" || "chat" || "assistant" || "workflow",
248
249
  * ],
249
250
  * annotations: [
250
251
  * {// Union: only one key present
@@ -267,7 +268,7 @@ declare const UpdateAgentCommand_base: {
267
268
  * knowledgeBaseId: "STRING_VALUE",
268
269
  * instructions: "STRING_VALUE",
269
270
  * channels: [
270
- * "voice" || "chat" || "assistant",
271
+ * "voice" || "chat" || "assistant" || "workflow",
271
272
  * ],
272
273
  * annotations: [
273
274
  * {// Union: only one key present
@@ -315,7 +316,7 @@ declare const UpdateAgentCommand_base: {
315
316
  * timezone: "STRING_VALUE",
316
317
  * },
317
318
  * channels: [
318
- * "voice" || "chat" || "assistant",
319
+ * "voice" || "chat" || "assistant" || "workflow",
319
320
  * ],
320
321
  * },
321
322
  * webFetch: { // AgentWebFetchCapability
@@ -323,7 +324,7 @@ declare const UpdateAgentCommand_base: {
323
324
  * "STRING_VALUE",
324
325
  * ],
325
326
  * channels: [
326
- * "voice" || "chat" || "assistant",
327
+ * "voice" || "chat" || "assistant" || "workflow",
327
328
  * ],
328
329
  * },
329
330
  * agent: { // AgentCallCapability
@@ -854,6 +855,16 @@ declare const UpdateAgentCommand_base: {
854
855
  * },
855
856
  * ],
856
857
  * model: "STRING_VALUE",
858
+ * action: {// Union: only one key present
859
+ * observe: {},
860
+ * redact: {},
861
+ * block: {
862
+ * message: "STRING_VALUE",
863
+ * },
864
+ * end: {
865
+ * message: "STRING_VALUE",
866
+ * },
867
+ * },
857
868
  * mode: "blocking" || "parallel",
858
869
  * errorMode: "open" || "closed",
859
870
  * window: "lastMessage" || "lastWithPrior",
@@ -1028,6 +1039,7 @@ declare const UpdateAgentCommand_base: {
1028
1039
  * // placeholder: "STRING_VALUE",
1029
1040
  * // },
1030
1041
  * // },
1042
+ * // workflow: {},
1031
1043
  * // },
1032
1044
  * // engine: { // AgentEngine Union: only one key present
1033
1045
  * // ai: { // AgentAiEngine
@@ -1079,7 +1091,7 @@ declare const UpdateAgentCommand_base: {
1079
1091
  * // prompt: "STRING_VALUE",
1080
1092
  * // },
1081
1093
  * // channels: [ // AgentCapabilityChannelsList
1082
- * // "voice" || "chat" || "assistant",
1094
+ * // "voice" || "chat" || "assistant" || "workflow",
1083
1095
  * // ],
1084
1096
  * // annotations: [ // AgentToolAnnotationsList
1085
1097
  * // { // AgentToolAnnotation Union: only one key present
@@ -1109,7 +1121,7 @@ declare const UpdateAgentCommand_base: {
1109
1121
  * // prompt: "STRING_VALUE",
1110
1122
  * // },
1111
1123
  * // channels: [
1112
- * // "voice" || "chat" || "assistant",
1124
+ * // "voice" || "chat" || "assistant" || "workflow",
1113
1125
  * // ],
1114
1126
  * // annotations: [
1115
1127
  * // {// Union: only one key present
@@ -1132,7 +1144,7 @@ declare const UpdateAgentCommand_base: {
1132
1144
  * // knowledgeBaseId: "STRING_VALUE",
1133
1145
  * // instructions: "STRING_VALUE",
1134
1146
  * // channels: [
1135
- * // "voice" || "chat" || "assistant",
1147
+ * // "voice" || "chat" || "assistant" || "workflow",
1136
1148
  * // ],
1137
1149
  * // annotations: [
1138
1150
  * // {// Union: only one key present
@@ -1180,7 +1192,7 @@ declare const UpdateAgentCommand_base: {
1180
1192
  * // timezone: "STRING_VALUE",
1181
1193
  * // },
1182
1194
  * // channels: [
1183
- * // "voice" || "chat" || "assistant",
1195
+ * // "voice" || "chat" || "assistant" || "workflow",
1184
1196
  * // ],
1185
1197
  * // },
1186
1198
  * // webFetch: { // AgentWebFetchCapability
@@ -1188,7 +1200,7 @@ declare const UpdateAgentCommand_base: {
1188
1200
  * // "STRING_VALUE",
1189
1201
  * // ],
1190
1202
  * // channels: [
1191
- * // "voice" || "chat" || "assistant",
1203
+ * // "voice" || "chat" || "assistant" || "workflow",
1192
1204
  * // ],
1193
1205
  * // },
1194
1206
  * // agent: { // AgentCallCapability
@@ -1719,6 +1731,16 @@ declare const UpdateAgentCommand_base: {
1719
1731
  * // },
1720
1732
  * // ],
1721
1733
  * // model: "STRING_VALUE",
1734
+ * // action: {// Union: only one key present
1735
+ * // observe: {},
1736
+ * // redact: {},
1737
+ * // block: {
1738
+ * // message: "STRING_VALUE",
1739
+ * // },
1740
+ * // end: {
1741
+ * // message: "STRING_VALUE",
1742
+ * // },
1743
+ * // },
1722
1744
  * // mode: "blocking" || "parallel",
1723
1745
  * // errorMode: "open" || "closed",
1724
1746
  * // window: "lastMessage" || "lastWithPrior",
@@ -92,6 +92,10 @@ export declare const ChannelType: {
92
92
  * Voice calls on the PBX.
93
93
  */
94
94
  readonly VOICE: "voice";
95
+ /**
96
+ * No delivery channel: runs as background tasks — invoked by other agents (call / delegation / handover), by automations or over the API.
97
+ */
98
+ readonly WORKFLOW: "workflow";
95
99
  };
96
100
  /**
97
101
  * @public
@@ -577,6 +577,12 @@ export interface VoiceChannelSettings {
577
577
  */
578
578
  callerMetadata?: VoiceCallerMetadataSettings | undefined;
579
579
  }
580
+ /**
581
+ * Enablement only: a workflow agent has no delivery surface to configure. Present so `channels` can express that the agent runs as background tasks.
582
+ * @public
583
+ */
584
+ export interface WorkflowChannelSettings {
585
+ }
580
586
  /**
581
587
  * The channels an agent serves and their channel-specific settings. Presence of a member enables that channel; at least one must be set. Enabled channels are mirrored as ChannelType values on AgentInfo.
582
588
  * @public
@@ -589,6 +595,11 @@ export interface AgentChannels {
589
595
  voice?: VoiceChannelSettings | undefined;
590
596
  chat?: ChatChannelSettings | undefined;
591
597
  assistant?: AssistantChannelSettings | undefined;
598
+ /**
599
+ * Enablement only: a workflow agent has no delivery surface to configure. Present so `channels` can express that the agent runs as background tasks.
600
+ * @public
601
+ */
602
+ workflow?: WorkflowChannelSettings | undefined;
592
603
  }
593
604
  /**
594
605
  * Who performed an action: an interactive user, an API key or an internal service.
@@ -1999,6 +2010,11 @@ export interface AgentGuardrailInput {
1999
2010
  * @public
2000
2011
  */
2001
2012
  model?: string | undefined;
2013
+ /**
2014
+ * Action for checks that declare none. Defaults to a block.
2015
+ * @public
2016
+ */
2017
+ action?: AgentGuardrailAction | undefined;
2002
2018
  /**
2003
2019
  * Runs the checker before the agent's model (BLOCKING) or alongside it (PARALLEL). Blocking costs the checker's latency on every turn but guarantees that a refused turn spent no tokens and fired no tool; parallel adds no latency and is the right trade on voice, where the delay is audible, at the risk that part of a reply reaches the caller and that a tool has already run before the cancellation lands. Defaults to BLOCKING.
2004
2020
  * @public
@@ -155,6 +155,7 @@ export declare var VoiceTerminateHangupAction$: StaticStructureSchema;
155
155
  export declare var VoiceTranscriptionSettings$: StaticStructureSchema;
156
156
  export declare var VoiceTransferTarget$: StaticStructureSchema;
157
157
  export declare var WebSearchUserLocation$: StaticStructureSchema;
158
+ export declare var WorkflowChannelSettings$: StaticStructureSchema;
158
159
  export declare var Actor$: StaticStructureSchema;
159
160
  export declare var SecretRef$: StaticStructureSchema;
160
161
  export declare var AgentSkillReference$: 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.29",
4
+ "version": "1.0.31",
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",