@wildix/wilma-agents-client 1.0.29 → 1.0.30

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,
@@ -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,
@@ -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
@@ -1026,6 +1027,7 @@ declare const CreateAgentCommand_base: {
1026
1027
  * // placeholder: "STRING_VALUE",
1027
1028
  * // },
1028
1029
  * // },
1030
+ * // workflow: {},
1029
1031
  * // },
1030
1032
  * // engine: { // AgentEngine Union: only one key present
1031
1033
  * // ai: { // AgentAiEngine
@@ -1077,7 +1079,7 @@ declare const CreateAgentCommand_base: {
1077
1079
  * // prompt: "STRING_VALUE",
1078
1080
  * // },
1079
1081
  * // channels: [ // AgentCapabilityChannelsList
1080
- * // "voice" || "chat" || "assistant",
1082
+ * // "voice" || "chat" || "assistant" || "workflow",
1081
1083
  * // ],
1082
1084
  * // annotations: [ // AgentToolAnnotationsList
1083
1085
  * // { // AgentToolAnnotation Union: only one key present
@@ -1107,7 +1109,7 @@ declare const CreateAgentCommand_base: {
1107
1109
  * // prompt: "STRING_VALUE",
1108
1110
  * // },
1109
1111
  * // channels: [
1110
- * // "voice" || "chat" || "assistant",
1112
+ * // "voice" || "chat" || "assistant" || "workflow",
1111
1113
  * // ],
1112
1114
  * // annotations: [
1113
1115
  * // {// Union: only one key present
@@ -1130,7 +1132,7 @@ declare const CreateAgentCommand_base: {
1130
1132
  * // knowledgeBaseId: "STRING_VALUE",
1131
1133
  * // instructions: "STRING_VALUE",
1132
1134
  * // channels: [
1133
- * // "voice" || "chat" || "assistant",
1135
+ * // "voice" || "chat" || "assistant" || "workflow",
1134
1136
  * // ],
1135
1137
  * // annotations: [
1136
1138
  * // {// Union: only one key present
@@ -1178,7 +1180,7 @@ declare const CreateAgentCommand_base: {
1178
1180
  * // timezone: "STRING_VALUE",
1179
1181
  * // },
1180
1182
  * // channels: [
1181
- * // "voice" || "chat" || "assistant",
1183
+ * // "voice" || "chat" || "assistant" || "workflow",
1182
1184
  * // ],
1183
1185
  * // },
1184
1186
  * // webFetch: { // AgentWebFetchCapability
@@ -1186,7 +1188,7 @@ declare const CreateAgentCommand_base: {
1186
1188
  * // "STRING_VALUE",
1187
1189
  * // ],
1188
1190
  * // channels: [
1189
- * // "voice" || "chat" || "assistant",
1191
+ * // "voice" || "chat" || "assistant" || "workflow",
1190
1192
  * // ],
1191
1193
  * // },
1192
1194
  * // agent: { // AgentCallCapability
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1028,6 +1029,7 @@ declare const UpdateAgentCommand_base: {
1028
1029
  * // placeholder: "STRING_VALUE",
1029
1030
  * // },
1030
1031
  * // },
1032
+ * // workflow: {},
1031
1033
  * // },
1032
1034
  * // engine: { // AgentEngine Union: only one key present
1033
1035
  * // ai: { // AgentAiEngine
@@ -1079,7 +1081,7 @@ declare const UpdateAgentCommand_base: {
1079
1081
  * // prompt: "STRING_VALUE",
1080
1082
  * // },
1081
1083
  * // channels: [ // AgentCapabilityChannelsList
1082
- * // "voice" || "chat" || "assistant",
1084
+ * // "voice" || "chat" || "assistant" || "workflow",
1083
1085
  * // ],
1084
1086
  * // annotations: [ // AgentToolAnnotationsList
1085
1087
  * // { // AgentToolAnnotation Union: only one key present
@@ -1109,7 +1111,7 @@ declare const UpdateAgentCommand_base: {
1109
1111
  * // prompt: "STRING_VALUE",
1110
1112
  * // },
1111
1113
  * // channels: [
1112
- * // "voice" || "chat" || "assistant",
1114
+ * // "voice" || "chat" || "assistant" || "workflow",
1113
1115
  * // ],
1114
1116
  * // annotations: [
1115
1117
  * // {// Union: only one key present
@@ -1132,7 +1134,7 @@ declare const UpdateAgentCommand_base: {
1132
1134
  * // knowledgeBaseId: "STRING_VALUE",
1133
1135
  * // instructions: "STRING_VALUE",
1134
1136
  * // channels: [
1135
- * // "voice" || "chat" || "assistant",
1137
+ * // "voice" || "chat" || "assistant" || "workflow",
1136
1138
  * // ],
1137
1139
  * // annotations: [
1138
1140
  * // {// Union: only one key present
@@ -1180,7 +1182,7 @@ declare const UpdateAgentCommand_base: {
1180
1182
  * // timezone: "STRING_VALUE",
1181
1183
  * // },
1182
1184
  * // channels: [
1183
- * // "voice" || "chat" || "assistant",
1185
+ * // "voice" || "chat" || "assistant" || "workflow",
1184
1186
  * // ],
1185
1187
  * // },
1186
1188
  * // webFetch: { // AgentWebFetchCapability
@@ -1188,7 +1190,7 @@ declare const UpdateAgentCommand_base: {
1188
1190
  * // "STRING_VALUE",
1189
1191
  * // ],
1190
1192
  * // channels: [
1191
- * // "voice" || "chat" || "assistant",
1193
+ * // "voice" || "chat" || "assistant" || "workflow",
1192
1194
  * // ],
1193
1195
  * // },
1194
1196
  * // agent: { // AgentCallCapability
@@ -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.
@@ -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.30",
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",