@wildix/wilma-agents-client 1.0.35 → 1.0.37

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.
@@ -19,7 +19,6 @@ exports.ChannelType = {
19
19
  ASSISTANT: "assistant",
20
20
  CHAT: "chat",
21
21
  VOICE: "voice",
22
- WORKFLOW: "workflow",
23
22
  };
24
23
  exports.AgentToolPipelineType = {
25
24
  ASYNC_REQUEST: "async_request",
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AgentToolVariablesAnnotation$ = exports.AgentToolVariablePredefinedHandler$ = exports.AgentToolVariableGuidedHandler$ = exports.AgentToolVariableAutoHandler$ = exports.AgentToolVariable$ = exports.AgentToolTagAnnotation$ = exports.AgentToolResultAnnotation$ = exports.AgentToolPipeline$ = exports.AgentToolFieldPredefinedHandler$ = exports.AgentToolFieldGuidedHandler$ = exports.AgentToolField$ = exports.AgentToolCommentAnnotation$ = exports.AgentToolApproval$ = exports.AgentTool$ = exports.AgentSuggestionsCapability$ = exports.AgentSqsEngine$ = exports.AgentSnapshotSandboxOptions$ = exports.AgentSettings$ = exports.AgentKnowledgeBase$ = exports.AgentInfo$ = exports.AgentHangupPipeline$ = exports.AgentHangupCapability$ = exports.AgentHandoverPipeline$ = exports.AgentHandoverCapability$ = exports.AgentGuardrails$ = exports.AgentGuardrailRedactAction$ = exports.AgentGuardrailPresetCheck$ = exports.AgentGuardrailObserveAction$ = exports.AgentGuardrailInput$ = exports.AgentGuardrailEndAction$ = exports.AgentGuardrailCustomCheck$ = exports.AgentGuardrailCheck$ = exports.AgentGuardrailBlockAction$ = exports.AgentDeploymentRoute$ = exports.AgentDelegationCapability$ = exports.AgentDefinitionSnapshot$ = exports.AgentConnectorCapability$ = exports.AgentChannels$ = exports.AgentCallCapability$ = exports.AgentApiKey$ = exports.AgentAiEngine$ = exports.AgentAccess$ = exports.Agent$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ConflictException$ = exports.WilmaAgentsServiceException$ = void 0;
4
4
  exports.CreateAgentInput$ = exports.CreateAgentApiKeyOutput$ = exports.CreateAgentApiKeyInput$ = exports.CompareAgentVersionsOutput$ = exports.CompareAgentVersionsInput$ = exports.ChatChannelSettings$ = exports.AssistantWelcomeSettings$ = exports.AssistantUiSettings$ = exports.AssistantQuickCommand$ = exports.AssistantChannelSettings$ = exports.AgentWorkflowVariablesHandler$ = exports.AgentWorkflowTransition$ = exports.AgentWorkflowStepPosition$ = exports.AgentWorkflowStep$ = exports.AgentWorkflowSettings$ = exports.AgentWorkflowResultHandler$ = exports.AgentWorkflowResultCondition$ = exports.AgentWorkflowPromptCondition$ = exports.AgentWorkflowNested$ = exports.AgentWorkflowMessageVoiceSettings$ = exports.AgentWorkflowMessageHandler$ = exports.AgentWorkflowMessageGeneration$ = exports.AgentWorkflowMessageChatSettings$ = exports.AgentWorkflowMessageChannelsSettings$ = exports.AgentWorkflowMessageButtonReplyHandler$ = exports.AgentWorkflowMessageButtonLinkHandler$ = exports.AgentWorkflowMessageButton$ = exports.AgentWorkflowInvokeHandler$ = exports.AgentWorkflowFallbackCondition$ = exports.AgentWorkflowFailureCondition$ = exports.AgentWorkflowExpressionCondition$ = exports.AgentWorkflowEndHandler$ = exports.AgentWorkflowConversationVoiceSettings$ = exports.AgentWorkflowConversationHandler$ = exports.AgentWorkflowConversationChannelsSettings$ = exports.AgentWorkflowAssignment$ = exports.AgentWorkflowAlwaysCondition$ = exports.AgentWorkflowActionHandler$ = exports.AgentWorkflow$ = exports.AgentWebSearchCapability$ = exports.AgentWebhookEngine$ = exports.AgentWebFetchCapability$ = exports.AgentWaitCapability$ = exports.AgentVersionInfo$ = exports.AgentVersionChange$ = exports.AgentVersion$ = exports.AgentVercelSandboxOptions$ = exports.AgentVariable$ = exports.AgentTransferPipeline$ = exports.AgentTransferCapability$ = void 0;
5
- exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.WorkflowChannelSettings$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTranscriptionSettings$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSpeechSettings$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoicePronunciation$ = exports.VoiceMaxDurationSettings$ = exports.VoiceLanguage$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.VoiceBackgroundSoundSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.ResetAgentDeploymentOutput$ = exports.ResetAgentDeploymentInput$ = exports.PutAgentDeploymentOutput$ = exports.PutAgentDeploymentInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.ListAgentVersionsOutput$ = exports.ListAgentVersionsInput$ = exports.ListAgentsOutput$ = exports.ListAgentsNamesOutput$ = exports.ListAgentsNamesInput$ = exports.ListAgentsInput$ = exports.ListAgentApiKeysOutput$ = exports.ListAgentApiKeysInput$ = exports.GetAgentVersionOutput$ = exports.GetAgentVersionInput$ = exports.GetAgentOutput$ = exports.GetAgentInput$ = exports.GetAgentDeploymentOutput$ = exports.GetAgentDeploymentInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = void 0;
6
- exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ = exports.AgentGuardrailAction$ = void 0;
5
+ exports.AgentGuardrailAction$ = exports.AgentGrantPrincipal$ = exports.AgentEngine$ = exports.AgentCapability$ = exports.AgentSkillReference$ = exports.SecretRef$ = exports.Actor$ = exports.WebSearchUserLocation$ = exports.VoiceTransferTarget$ = exports.VoiceTranscriptionSettings$ = exports.VoiceTerminateHangupAction$ = exports.VoiceSpeechSettings$ = exports.VoiceSilenceTimeoutSettings$ = exports.VoicePronunciation$ = exports.VoiceMaxDurationSettings$ = exports.VoiceLanguage$ = exports.VoiceInterruptionSettings$ = exports.VoiceEndCallSettings$ = exports.VoiceChannelSettings$ = exports.VoiceCallerMetadataSettings$ = exports.VoiceBackgroundSoundSettings$ = exports.UpdateAgentOutput$ = exports.UpdateAgentInput$ = exports.RestoreAgentVersionToDraftOutput$ = exports.RestoreAgentVersionToDraftInput$ = exports.ResetAgentDeploymentOutput$ = exports.ResetAgentDeploymentInput$ = exports.PutAgentDeploymentOutput$ = exports.PutAgentDeploymentInput$ = exports.PublishAgentVersionOutput$ = exports.PublishAgentVersionInput$ = exports.ListAgentVersionsOutput$ = exports.ListAgentVersionsInput$ = exports.ListAgentsOutput$ = exports.ListAgentsNamesOutput$ = exports.ListAgentsNamesInput$ = exports.ListAgentsInput$ = exports.ListAgentApiKeysOutput$ = exports.ListAgentApiKeysInput$ = exports.GetAgentVersionOutput$ = exports.GetAgentVersionInput$ = exports.GetAgentOutput$ = exports.GetAgentInput$ = exports.GetAgentDeploymentOutput$ = exports.GetAgentDeploymentInput$ = exports.DeleteAgentOutput$ = exports.DeleteAgentInput$ = exports.DeleteAgentApiKeyOutput$ = exports.DeleteAgentApiKeyInput$ = exports.CreateAgentOutput$ = void 0;
6
+ exports.UpdateAgent$ = exports.RestoreAgentVersionToDraft$ = exports.ResetAgentDeployment$ = exports.PutAgentDeployment$ = exports.PublishAgentVersion$ = exports.ListAgentVersions$ = exports.ListAgentsNames$ = exports.ListAgents$ = exports.ListAgentApiKeys$ = exports.GetAgentVersion$ = exports.GetAgentDeployment$ = exports.GetAgent$ = exports.DeleteAgentApiKey$ = exports.DeleteAgent$ = exports.CreateAgentApiKey$ = exports.CreateAgent$ = exports.CompareAgentVersions$ = exports.VoiceTerminateAction$ = exports.AgentWorkflowMessageContent$ = exports.AgentWorkflowMessageButtonHandler$ = exports.AgentWorkflowHandler$ = exports.AgentWorkflowCondition$ = exports.AgentWorkflowAction$ = exports.AgentToolVariableHandler$ = exports.AgentToolFieldHandler$ = exports.AgentToolAnnotation$ = exports.AgentSandboxCapability$ = exports.AgentGuardrailCheckKind$ = void 0;
7
7
  const _A = "Agent";
8
8
  const _AA = "AgentAccess";
9
9
  const _AAE = "AgentAiEngine";
@@ -201,7 +201,6 @@ const _VTA = "VoiceTerminateAction";
201
201
  const _VTHA = "VoiceTerminateHangupAction";
202
202
  const _VTS = "VoiceTranscriptionSettings";
203
203
  const _VTT = "VoiceTransferTarget";
204
- const _WCS = "WorkflowChannelSettings";
205
204
  const _WSUL = "WebSearchUserLocation";
206
205
  const _a = "access";
207
206
  const _aD = "allowedDomains";
@@ -494,8 +493,8 @@ exports.AgentCallCapability$ = [3, n2, _ACC,
494
493
  ];
495
494
  exports.AgentChannels$ = [3, n2, _AC,
496
495
  0,
497
- [_vo, _cha, _as, _w],
498
- [() => exports.VoiceChannelSettings$, () => exports.ChatChannelSettings$, () => exports.AssistantChannelSettings$, () => exports.WorkflowChannelSettings$]
496
+ [_vo, _cha, _as],
497
+ [() => exports.VoiceChannelSettings$, () => exports.ChatChannelSettings$, () => exports.AssistantChannelSettings$]
499
498
  ];
500
499
  exports.AgentConnectorCapability$ = [3, n2, _ACCg,
501
500
  0,
@@ -1147,11 +1146,6 @@ exports.WebSearchUserLocation$ = [3, n2, _WSUL,
1147
1146
  [_cou, _reg, _ci, _time],
1148
1147
  [0, 0, 0, 0]
1149
1148
  ];
1150
- exports.WorkflowChannelSettings$ = [3, n2, _WCS,
1151
- 0,
1152
- [],
1153
- []
1154
- ];
1155
1149
  exports.Actor$ = [3, n1, _Ac,
1156
1150
  0,
1157
1151
  [_t, _i, _n],
@@ -16,7 +16,6 @@ export const ChannelType = {
16
16
  ASSISTANT: "assistant",
17
17
  CHAT: "chat",
18
18
  VOICE: "voice",
19
- WORKFLOW: "workflow",
20
19
  };
21
20
  export const AgentToolPipelineType = {
22
21
  ASYNC_REQUEST: "async_request",
@@ -195,7 +195,6 @@ const _VTA = "VoiceTerminateAction";
195
195
  const _VTHA = "VoiceTerminateHangupAction";
196
196
  const _VTS = "VoiceTranscriptionSettings";
197
197
  const _VTT = "VoiceTransferTarget";
198
- const _WCS = "WorkflowChannelSettings";
199
198
  const _WSUL = "WebSearchUserLocation";
200
199
  const _a = "access";
201
200
  const _aD = "allowedDomains";
@@ -488,8 +487,8 @@ export var AgentCallCapability$ = [3, n2, _ACC,
488
487
  ];
489
488
  export var AgentChannels$ = [3, n2, _AC,
490
489
  0,
491
- [_vo, _cha, _as, _w],
492
- [() => VoiceChannelSettings$, () => ChatChannelSettings$, () => AssistantChannelSettings$, () => WorkflowChannelSettings$]
490
+ [_vo, _cha, _as],
491
+ [() => VoiceChannelSettings$, () => ChatChannelSettings$, () => AssistantChannelSettings$]
493
492
  ];
494
493
  export var AgentConnectorCapability$ = [3, n2, _ACCg,
495
494
  0,
@@ -1141,11 +1140,6 @@ export var WebSearchUserLocation$ = [3, n2, _WSUL,
1141
1140
  [_cou, _reg, _ci, _time],
1142
1141
  [0, 0, 0, 0]
1143
1142
  ];
1144
- export var WorkflowChannelSettings$ = [3, n2, _WCS,
1145
- 0,
1146
- [],
1147
- []
1148
- ];
1149
1143
  export var Actor$ = [3, n1, _Ac,
1150
1144
  0,
1151
1145
  [_t, _i, _n],
@@ -134,7 +134,6 @@ declare const CreateAgentCommand_base: {
134
134
  * placeholder: "STRING_VALUE",
135
135
  * },
136
136
  * },
137
- * workflow: {},
138
137
  * },
139
138
  * engine: { // AgentEngine Union: only one key present
140
139
  * ai: { // AgentAiEngine
@@ -186,7 +185,7 @@ declare const CreateAgentCommand_base: {
186
185
  * prompt: "STRING_VALUE",
187
186
  * },
188
187
  * channels: [ // AgentCapabilityChannelsList
189
- * "voice" || "chat" || "assistant" || "workflow",
188
+ * "voice" || "chat" || "assistant",
190
189
  * ],
191
190
  * annotations: [ // AgentToolAnnotationsList
192
191
  * { // AgentToolAnnotation Union: only one key present
@@ -216,7 +215,7 @@ declare const CreateAgentCommand_base: {
216
215
  * prompt: "STRING_VALUE",
217
216
  * },
218
217
  * channels: [
219
- * "voice" || "chat" || "assistant" || "workflow",
218
+ * "voice" || "chat" || "assistant",
220
219
  * ],
221
220
  * annotations: [
222
221
  * {// Union: only one key present
@@ -239,7 +238,7 @@ declare const CreateAgentCommand_base: {
239
238
  * knowledgeBaseId: "STRING_VALUE",
240
239
  * instructions: "STRING_VALUE",
241
240
  * channels: [
242
- * "voice" || "chat" || "assistant" || "workflow",
241
+ * "voice" || "chat" || "assistant",
243
242
  * ],
244
243
  * annotations: [
245
244
  * {// Union: only one key present
@@ -287,7 +286,7 @@ declare const CreateAgentCommand_base: {
287
286
  * timezone: "STRING_VALUE",
288
287
  * },
289
288
  * channels: [
290
- * "voice" || "chat" || "assistant" || "workflow",
289
+ * "voice" || "chat" || "assistant",
291
290
  * ],
292
291
  * },
293
292
  * webFetch: { // AgentWebFetchCapability
@@ -295,7 +294,7 @@ declare const CreateAgentCommand_base: {
295
294
  * "STRING_VALUE",
296
295
  * ],
297
296
  * channels: [
298
- * "voice" || "chat" || "assistant" || "workflow",
297
+ * "voice" || "chat" || "assistant",
299
298
  * ],
300
299
  * },
301
300
  * agent: { // AgentCallCapability
@@ -981,7 +980,6 @@ declare const CreateAgentCommand_base: {
981
980
  * // placeholder: "STRING_VALUE",
982
981
  * // },
983
982
  * // },
984
- * // workflow: {},
985
983
  * // },
986
984
  * // engine: { // AgentEngine Union: only one key present
987
985
  * // ai: { // AgentAiEngine
@@ -1033,7 +1031,7 @@ declare const CreateAgentCommand_base: {
1033
1031
  * // prompt: "STRING_VALUE",
1034
1032
  * // },
1035
1033
  * // channels: [ // AgentCapabilityChannelsList
1036
- * // "voice" || "chat" || "assistant" || "workflow",
1034
+ * // "voice" || "chat" || "assistant",
1037
1035
  * // ],
1038
1036
  * // annotations: [ // AgentToolAnnotationsList
1039
1037
  * // { // AgentToolAnnotation Union: only one key present
@@ -1063,7 +1061,7 @@ declare const CreateAgentCommand_base: {
1063
1061
  * // prompt: "STRING_VALUE",
1064
1062
  * // },
1065
1063
  * // channels: [
1066
- * // "voice" || "chat" || "assistant" || "workflow",
1064
+ * // "voice" || "chat" || "assistant",
1067
1065
  * // ],
1068
1066
  * // annotations: [
1069
1067
  * // {// Union: only one key present
@@ -1086,7 +1084,7 @@ declare const CreateAgentCommand_base: {
1086
1084
  * // knowledgeBaseId: "STRING_VALUE",
1087
1085
  * // instructions: "STRING_VALUE",
1088
1086
  * // channels: [
1089
- * // "voice" || "chat" || "assistant" || "workflow",
1087
+ * // "voice" || "chat" || "assistant",
1090
1088
  * // ],
1091
1089
  * // annotations: [
1092
1090
  * // {// Union: only one key present
@@ -1134,7 +1132,7 @@ declare const CreateAgentCommand_base: {
1134
1132
  * // timezone: "STRING_VALUE",
1135
1133
  * // },
1136
1134
  * // channels: [
1137
- * // "voice" || "chat" || "assistant" || "workflow",
1135
+ * // "voice" || "chat" || "assistant",
1138
1136
  * // ],
1139
1137
  * // },
1140
1138
  * // webFetch: { // AgentWebFetchCapability
@@ -1142,7 +1140,7 @@ declare const CreateAgentCommand_base: {
1142
1140
  * // "STRING_VALUE",
1143
1141
  * // ],
1144
1142
  * // channels: [
1145
- * // "voice" || "chat" || "assistant" || "workflow",
1143
+ * // "voice" || "chat" || "assistant",
1146
1144
  * // ],
1147
1145
  * // },
1148
1146
  * // agent: { // AgentCallCapability
@@ -141,7 +141,6 @@ declare const GetAgentCommand_base: {
141
141
  * // placeholder: "STRING_VALUE",
142
142
  * // },
143
143
  * // },
144
- * // workflow: {},
145
144
  * // },
146
145
  * // engine: { // AgentEngine Union: only one key present
147
146
  * // ai: { // AgentAiEngine
@@ -193,7 +192,7 @@ declare const GetAgentCommand_base: {
193
192
  * // prompt: "STRING_VALUE",
194
193
  * // },
195
194
  * // channels: [ // AgentCapabilityChannelsList
196
- * // "voice" || "chat" || "assistant" || "workflow",
195
+ * // "voice" || "chat" || "assistant",
197
196
  * // ],
198
197
  * // annotations: [ // AgentToolAnnotationsList
199
198
  * // { // AgentToolAnnotation Union: only one key present
@@ -223,7 +222,7 @@ declare const GetAgentCommand_base: {
223
222
  * // prompt: "STRING_VALUE",
224
223
  * // },
225
224
  * // channels: [
226
- * // "voice" || "chat" || "assistant" || "workflow",
225
+ * // "voice" || "chat" || "assistant",
227
226
  * // ],
228
227
  * // annotations: [
229
228
  * // {// Union: only one key present
@@ -246,7 +245,7 @@ declare const GetAgentCommand_base: {
246
245
  * // knowledgeBaseId: "STRING_VALUE",
247
246
  * // instructions: "STRING_VALUE",
248
247
  * // channels: [
249
- * // "voice" || "chat" || "assistant" || "workflow",
248
+ * // "voice" || "chat" || "assistant",
250
249
  * // ],
251
250
  * // annotations: [
252
251
  * // {// Union: only one key present
@@ -294,7 +293,7 @@ declare const GetAgentCommand_base: {
294
293
  * // timezone: "STRING_VALUE",
295
294
  * // },
296
295
  * // channels: [
297
- * // "voice" || "chat" || "assistant" || "workflow",
296
+ * // "voice" || "chat" || "assistant",
298
297
  * // ],
299
298
  * // },
300
299
  * // webFetch: { // AgentWebFetchCapability
@@ -302,7 +301,7 @@ declare const GetAgentCommand_base: {
302
301
  * // "STRING_VALUE",
303
302
  * // ],
304
303
  * // channels: [
305
- * // "voice" || "chat" || "assistant" || "workflow",
304
+ * // "voice" || "chat" || "assistant",
306
305
  * // ],
307
306
  * // },
308
307
  * // agent: { // AgentCallCapability
@@ -148,7 +148,6 @@ declare const GetAgentVersionCommand_base: {
148
148
  * // placeholder: "STRING_VALUE",
149
149
  * // },
150
150
  * // },
151
- * // workflow: {},
152
151
  * // },
153
152
  * // engine: { // AgentEngine Union: only one key present
154
153
  * // ai: { // AgentAiEngine
@@ -200,7 +199,7 @@ declare const GetAgentVersionCommand_base: {
200
199
  * // prompt: "STRING_VALUE",
201
200
  * // },
202
201
  * // channels: [ // AgentCapabilityChannelsList
203
- * // "voice" || "chat" || "assistant" || "workflow",
202
+ * // "voice" || "chat" || "assistant",
204
203
  * // ],
205
204
  * // annotations: [ // AgentToolAnnotationsList
206
205
  * // { // AgentToolAnnotation Union: only one key present
@@ -230,7 +229,7 @@ declare const GetAgentVersionCommand_base: {
230
229
  * // prompt: "STRING_VALUE",
231
230
  * // },
232
231
  * // channels: [
233
- * // "voice" || "chat" || "assistant" || "workflow",
232
+ * // "voice" || "chat" || "assistant",
234
233
  * // ],
235
234
  * // annotations: [
236
235
  * // {// Union: only one key present
@@ -253,7 +252,7 @@ declare const GetAgentVersionCommand_base: {
253
252
  * // knowledgeBaseId: "STRING_VALUE",
254
253
  * // instructions: "STRING_VALUE",
255
254
  * // channels: [
256
- * // "voice" || "chat" || "assistant" || "workflow",
255
+ * // "voice" || "chat" || "assistant",
257
256
  * // ],
258
257
  * // annotations: [
259
258
  * // {// Union: only one key present
@@ -301,7 +300,7 @@ declare const GetAgentVersionCommand_base: {
301
300
  * // timezone: "STRING_VALUE",
302
301
  * // },
303
302
  * // channels: [
304
- * // "voice" || "chat" || "assistant" || "workflow",
303
+ * // "voice" || "chat" || "assistant",
305
304
  * // ],
306
305
  * // },
307
306
  * // webFetch: { // AgentWebFetchCapability
@@ -309,7 +308,7 @@ declare const GetAgentVersionCommand_base: {
309
308
  * // "STRING_VALUE",
310
309
  * // ],
311
310
  * // channels: [
312
- * // "voice" || "chat" || "assistant" || "workflow",
311
+ * // "voice" || "chat" || "assistant",
313
312
  * // ],
314
313
  * // },
315
314
  * // 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" || "workflow",
41
+ * channel: "voice" || "chat" || "assistant",
42
42
  * status: "draft" || "active",
43
43
  * search: "STRING_VALUE",
44
44
  * limit: Number("int"),
@@ -146,7 +146,6 @@ declare const ListAgentsCommand_base: {
146
146
  * // placeholder: "STRING_VALUE",
147
147
  * // },
148
148
  * // },
149
- * // workflow: {},
150
149
  * // },
151
150
  * // engine: { // AgentEngine Union: only one key present
152
151
  * // ai: { // AgentAiEngine
@@ -198,7 +197,7 @@ declare const ListAgentsCommand_base: {
198
197
  * // prompt: "STRING_VALUE",
199
198
  * // },
200
199
  * // channels: [ // AgentCapabilityChannelsList
201
- * // "voice" || "chat" || "assistant" || "workflow",
200
+ * // "voice" || "chat" || "assistant",
202
201
  * // ],
203
202
  * // annotations: [ // AgentToolAnnotationsList
204
203
  * // { // AgentToolAnnotation Union: only one key present
@@ -228,7 +227,7 @@ declare const ListAgentsCommand_base: {
228
227
  * // prompt: "STRING_VALUE",
229
228
  * // },
230
229
  * // channels: [
231
- * // "voice" || "chat" || "assistant" || "workflow",
230
+ * // "voice" || "chat" || "assistant",
232
231
  * // ],
233
232
  * // annotations: [
234
233
  * // {// Union: only one key present
@@ -251,7 +250,7 @@ declare const ListAgentsCommand_base: {
251
250
  * // knowledgeBaseId: "STRING_VALUE",
252
251
  * // instructions: "STRING_VALUE",
253
252
  * // channels: [
254
- * // "voice" || "chat" || "assistant" || "workflow",
253
+ * // "voice" || "chat" || "assistant",
255
254
  * // ],
256
255
  * // annotations: [
257
256
  * // {// Union: only one key present
@@ -299,7 +298,7 @@ declare const ListAgentsCommand_base: {
299
298
  * // timezone: "STRING_VALUE",
300
299
  * // },
301
300
  * // channels: [
302
- * // "voice" || "chat" || "assistant" || "workflow",
301
+ * // "voice" || "chat" || "assistant",
303
302
  * // ],
304
303
  * // },
305
304
  * // webFetch: { // AgentWebFetchCapability
@@ -307,7 +306,7 @@ declare const ListAgentsCommand_base: {
307
306
  * // "STRING_VALUE",
308
307
  * // ],
309
308
  * // channels: [
310
- * // "voice" || "chat" || "assistant" || "workflow",
309
+ * // "voice" || "chat" || "assistant",
311
310
  * // ],
312
311
  * // },
313
312
  * // 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" || "workflow",
41
+ * channel: "voice" || "chat" || "assistant",
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" || "workflow",
54
+ * // "voice" || "chat" || "assistant",
55
55
  * // ],
56
56
  * // speechConfigured: true || false,
57
57
  * // skillIds: [ // AgentSkillIdsList
@@ -150,7 +150,6 @@ declare const PublishAgentVersionCommand_base: {
150
150
  * // placeholder: "STRING_VALUE",
151
151
  * // },
152
152
  * // },
153
- * // workflow: {},
154
153
  * // },
155
154
  * // engine: { // AgentEngine Union: only one key present
156
155
  * // ai: { // AgentAiEngine
@@ -202,7 +201,7 @@ declare const PublishAgentVersionCommand_base: {
202
201
  * // prompt: "STRING_VALUE",
203
202
  * // },
204
203
  * // channels: [ // AgentCapabilityChannelsList
205
- * // "voice" || "chat" || "assistant" || "workflow",
204
+ * // "voice" || "chat" || "assistant",
206
205
  * // ],
207
206
  * // annotations: [ // AgentToolAnnotationsList
208
207
  * // { // AgentToolAnnotation Union: only one key present
@@ -232,7 +231,7 @@ declare const PublishAgentVersionCommand_base: {
232
231
  * // prompt: "STRING_VALUE",
233
232
  * // },
234
233
  * // channels: [
235
- * // "voice" || "chat" || "assistant" || "workflow",
234
+ * // "voice" || "chat" || "assistant",
236
235
  * // ],
237
236
  * // annotations: [
238
237
  * // {// Union: only one key present
@@ -255,7 +254,7 @@ declare const PublishAgentVersionCommand_base: {
255
254
  * // knowledgeBaseId: "STRING_VALUE",
256
255
  * // instructions: "STRING_VALUE",
257
256
  * // channels: [
258
- * // "voice" || "chat" || "assistant" || "workflow",
257
+ * // "voice" || "chat" || "assistant",
259
258
  * // ],
260
259
  * // annotations: [
261
260
  * // {// Union: only one key present
@@ -303,7 +302,7 @@ declare const PublishAgentVersionCommand_base: {
303
302
  * // timezone: "STRING_VALUE",
304
303
  * // },
305
304
  * // channels: [
306
- * // "voice" || "chat" || "assistant" || "workflow",
305
+ * // "voice" || "chat" || "assistant",
307
306
  * // ],
308
307
  * // },
309
308
  * // webFetch: { // AgentWebFetchCapability
@@ -311,7 +310,7 @@ declare const PublishAgentVersionCommand_base: {
311
310
  * // "STRING_VALUE",
312
311
  * // ],
313
312
  * // channels: [
314
- * // "voice" || "chat" || "assistant" || "workflow",
313
+ * // "voice" || "chat" || "assistant",
315
314
  * // ],
316
315
  * // },
317
316
  * // agent: { // AgentCallCapability
@@ -143,7 +143,6 @@ declare const RestoreAgentVersionToDraftCommand_base: {
143
143
  * // placeholder: "STRING_VALUE",
144
144
  * // },
145
145
  * // },
146
- * // workflow: {},
147
146
  * // },
148
147
  * // engine: { // AgentEngine Union: only one key present
149
148
  * // ai: { // AgentAiEngine
@@ -195,7 +194,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
195
194
  * // prompt: "STRING_VALUE",
196
195
  * // },
197
196
  * // channels: [ // AgentCapabilityChannelsList
198
- * // "voice" || "chat" || "assistant" || "workflow",
197
+ * // "voice" || "chat" || "assistant",
199
198
  * // ],
200
199
  * // annotations: [ // AgentToolAnnotationsList
201
200
  * // { // AgentToolAnnotation Union: only one key present
@@ -225,7 +224,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
225
224
  * // prompt: "STRING_VALUE",
226
225
  * // },
227
226
  * // channels: [
228
- * // "voice" || "chat" || "assistant" || "workflow",
227
+ * // "voice" || "chat" || "assistant",
229
228
  * // ],
230
229
  * // annotations: [
231
230
  * // {// Union: only one key present
@@ -248,7 +247,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
248
247
  * // knowledgeBaseId: "STRING_VALUE",
249
248
  * // instructions: "STRING_VALUE",
250
249
  * // channels: [
251
- * // "voice" || "chat" || "assistant" || "workflow",
250
+ * // "voice" || "chat" || "assistant",
252
251
  * // ],
253
252
  * // annotations: [
254
253
  * // {// Union: only one key present
@@ -296,7 +295,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
296
295
  * // timezone: "STRING_VALUE",
297
296
  * // },
298
297
  * // channels: [
299
- * // "voice" || "chat" || "assistant" || "workflow",
298
+ * // "voice" || "chat" || "assistant",
300
299
  * // ],
301
300
  * // },
302
301
  * // webFetch: { // AgentWebFetchCapability
@@ -304,7 +303,7 @@ declare const RestoreAgentVersionToDraftCommand_base: {
304
303
  * // "STRING_VALUE",
305
304
  * // ],
306
305
  * // channels: [
307
- * // "voice" || "chat" || "assistant" || "workflow",
306
+ * // "voice" || "chat" || "assistant",
308
307
  * // ],
309
308
  * // },
310
309
  * // agent: { // AgentCallCapability
@@ -134,7 +134,6 @@ declare const UpdateAgentCommand_base: {
134
134
  * placeholder: "STRING_VALUE",
135
135
  * },
136
136
  * },
137
- * workflow: {},
138
137
  * },
139
138
  * engine: { // AgentEngine Union: only one key present
140
139
  * ai: { // AgentAiEngine
@@ -186,7 +185,7 @@ declare const UpdateAgentCommand_base: {
186
185
  * prompt: "STRING_VALUE",
187
186
  * },
188
187
  * channels: [ // AgentCapabilityChannelsList
189
- * "voice" || "chat" || "assistant" || "workflow",
188
+ * "voice" || "chat" || "assistant",
190
189
  * ],
191
190
  * annotations: [ // AgentToolAnnotationsList
192
191
  * { // AgentToolAnnotation Union: only one key present
@@ -216,7 +215,7 @@ declare const UpdateAgentCommand_base: {
216
215
  * prompt: "STRING_VALUE",
217
216
  * },
218
217
  * channels: [
219
- * "voice" || "chat" || "assistant" || "workflow",
218
+ * "voice" || "chat" || "assistant",
220
219
  * ],
221
220
  * annotations: [
222
221
  * {// Union: only one key present
@@ -239,7 +238,7 @@ declare const UpdateAgentCommand_base: {
239
238
  * knowledgeBaseId: "STRING_VALUE",
240
239
  * instructions: "STRING_VALUE",
241
240
  * channels: [
242
- * "voice" || "chat" || "assistant" || "workflow",
241
+ * "voice" || "chat" || "assistant",
243
242
  * ],
244
243
  * annotations: [
245
244
  * {// Union: only one key present
@@ -287,7 +286,7 @@ declare const UpdateAgentCommand_base: {
287
286
  * timezone: "STRING_VALUE",
288
287
  * },
289
288
  * channels: [
290
- * "voice" || "chat" || "assistant" || "workflow",
289
+ * "voice" || "chat" || "assistant",
291
290
  * ],
292
291
  * },
293
292
  * webFetch: { // AgentWebFetchCapability
@@ -295,7 +294,7 @@ declare const UpdateAgentCommand_base: {
295
294
  * "STRING_VALUE",
296
295
  * ],
297
296
  * channels: [
298
- * "voice" || "chat" || "assistant" || "workflow",
297
+ * "voice" || "chat" || "assistant",
299
298
  * ],
300
299
  * },
301
300
  * agent: { // AgentCallCapability
@@ -983,7 +982,6 @@ declare const UpdateAgentCommand_base: {
983
982
  * // placeholder: "STRING_VALUE",
984
983
  * // },
985
984
  * // },
986
- * // workflow: {},
987
985
  * // },
988
986
  * // engine: { // AgentEngine Union: only one key present
989
987
  * // ai: { // AgentAiEngine
@@ -1035,7 +1033,7 @@ declare const UpdateAgentCommand_base: {
1035
1033
  * // prompt: "STRING_VALUE",
1036
1034
  * // },
1037
1035
  * // channels: [ // AgentCapabilityChannelsList
1038
- * // "voice" || "chat" || "assistant" || "workflow",
1036
+ * // "voice" || "chat" || "assistant",
1039
1037
  * // ],
1040
1038
  * // annotations: [ // AgentToolAnnotationsList
1041
1039
  * // { // AgentToolAnnotation Union: only one key present
@@ -1065,7 +1063,7 @@ declare const UpdateAgentCommand_base: {
1065
1063
  * // prompt: "STRING_VALUE",
1066
1064
  * // },
1067
1065
  * // channels: [
1068
- * // "voice" || "chat" || "assistant" || "workflow",
1066
+ * // "voice" || "chat" || "assistant",
1069
1067
  * // ],
1070
1068
  * // annotations: [
1071
1069
  * // {// Union: only one key present
@@ -1088,7 +1086,7 @@ declare const UpdateAgentCommand_base: {
1088
1086
  * // knowledgeBaseId: "STRING_VALUE",
1089
1087
  * // instructions: "STRING_VALUE",
1090
1088
  * // channels: [
1091
- * // "voice" || "chat" || "assistant" || "workflow",
1089
+ * // "voice" || "chat" || "assistant",
1092
1090
  * // ],
1093
1091
  * // annotations: [
1094
1092
  * // {// Union: only one key present
@@ -1136,7 +1134,7 @@ declare const UpdateAgentCommand_base: {
1136
1134
  * // timezone: "STRING_VALUE",
1137
1135
  * // },
1138
1136
  * // channels: [
1139
- * // "voice" || "chat" || "assistant" || "workflow",
1137
+ * // "voice" || "chat" || "assistant",
1140
1138
  * // ],
1141
1139
  * // },
1142
1140
  * // webFetch: { // AgentWebFetchCapability
@@ -1144,7 +1142,7 @@ declare const UpdateAgentCommand_base: {
1144
1142
  * // "STRING_VALUE",
1145
1143
  * // ],
1146
1144
  * // channels: [
1147
- * // "voice" || "chat" || "assistant" || "workflow",
1145
+ * // "voice" || "chat" || "assistant",
1148
1146
  * // ],
1149
1147
  * // },
1150
1148
  * // agent: { // AgentCallCapability
@@ -68,10 +68,6 @@ export declare const ChannelType: {
68
68
  * Voice calls on the PBX.
69
69
  */
70
70
  readonly VOICE: "voice";
71
- /**
72
- * No delivery channel: runs as background tasks — invoked by other agents (call / delegation / handover), by automations or over the API.
73
- */
74
- readonly WORKFLOW: "workflow";
75
71
  };
76
72
  /**
77
73
  * @public
@@ -485,13 +485,7 @@ export interface VoiceChannelSettings {
485
485
  callerMetadata?: VoiceCallerMetadataSettings | undefined;
486
486
  }
487
487
  /**
488
- * Enablement only: a workflow agent has no delivery surface to configure. Present so `channels` can express that the agent runs as background tasks.
489
- * @public
490
- */
491
- export interface WorkflowChannelSettings {
492
- }
493
- /**
494
- * 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.
488
+ * The channels an agent serves and their channel-specific settings. Presence of a member enables that channel. Empty means the agent serves no channel: it is not reachable on its own and runs only as an automation's task or when another agent calls it. Enabled channels are mirrored as ChannelType values on AgentInfo.
495
489
  * @public
496
490
  */
497
491
  export interface AgentChannels {
@@ -502,11 +496,6 @@ export interface AgentChannels {
502
496
  voice?: VoiceChannelSettings | undefined;
503
497
  chat?: ChatChannelSettings | undefined;
504
498
  assistant?: AssistantChannelSettings | undefined;
505
- /**
506
- * Enablement only: a workflow agent has no delivery surface to configure. Present so `channels` can express that the agent runs as background tasks.
507
- * @public
508
- */
509
- workflow?: WorkflowChannelSettings | undefined;
510
499
  }
511
500
  /**
512
501
  * Who performed an action: an interactive user, an API key or an internal service.
@@ -3211,7 +3200,7 @@ export interface Agent {
3211
3200
  */
3212
3201
  picture?: string | undefined;
3213
3202
  /**
3214
- * The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present; at least one must be set. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine.
3203
+ * The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine, or none at all — an empty structure is an agent that is only run as an automation's task or called by another agent, and is not reachable on any delivery surface.
3215
3204
  * @public
3216
3205
  */
3217
3206
  channels: AgentChannels;
@@ -3327,7 +3316,7 @@ export interface AgentDefinitionSnapshot {
3327
3316
  */
3328
3317
  picture?: string | undefined;
3329
3318
  /**
3330
- * The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present; at least one must be set. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine.
3319
+ * The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine, or none at all — an empty structure is an agent that is only run as an automation's task or called by another agent, and is not reachable on any delivery surface.
3331
3320
  * @public
3332
3321
  */
3333
3322
  channels: AgentChannels;
@@ -3368,7 +3357,7 @@ export interface AgentInfo {
3368
3357
  category?: string | undefined;
3369
3358
  status: AgentStatus;
3370
3359
  /**
3371
- * The channels this agent serves (voice / chat / assistant).
3360
+ * The channels this agent serves (voice / chat / assistant). Empty for an agent that serves none — one only an automation runs or another agent calls.
3372
3361
  * @public
3373
3362
  */
3374
3363
  channels: ChannelType[];
@@ -3538,7 +3527,7 @@ export interface CreateAgentInput {
3538
3527
  */
3539
3528
  picture?: string | undefined;
3540
3529
  /**
3541
- * The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present; at least one must be set. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine.
3530
+ * The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine, or none at all — an empty structure is an agent that is only run as an automation's task or called by another agent, and is not reachable on any delivery surface.
3542
3531
  * @public
3543
3532
  */
3544
3533
  channels: AgentChannels;
@@ -3693,7 +3682,7 @@ export interface ListAgentApiKeysOutput {
3693
3682
  export interface ListAgentsInput {
3694
3683
  company?: string | undefined;
3695
3684
  /**
3696
- * Only agents that have this channel enabled (voice / chat / assistant).
3685
+ * Only agents that have this channel enabled (voice / chat / assistant). An agent serving no channel matches no value of this filter, so a caller listing agents to run as a task — rather than to reach on a surface — must leave it unset.
3697
3686
  * @public
3698
3687
  */
3699
3688
  channel?: ChannelType | undefined;
@@ -3874,7 +3863,7 @@ export interface UpdateAgentInput {
3874
3863
  */
3875
3864
  picture?: string | undefined;
3876
3865
  /**
3877
- * The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present; at least one must be set. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine.
3866
+ * The channels this agent serves and their channel-specific settings. A channel is enabled when its member is present. An agent may serve multiple channels (e.g. chat + assistant) over the shared engine, or none at all — an empty structure is an agent that is only run as an automation's task or called by another agent, and is not reachable on any delivery surface.
3878
3867
  * @public
3879
3868
  */
3880
3869
  channels: AgentChannels;
@@ -148,7 +148,6 @@ export declare var VoiceTerminateHangupAction$: StaticStructureSchema;
148
148
  export declare var VoiceTranscriptionSettings$: StaticStructureSchema;
149
149
  export declare var VoiceTransferTarget$: StaticStructureSchema;
150
150
  export declare var WebSearchUserLocation$: StaticStructureSchema;
151
- export declare var WorkflowChannelSettings$: StaticStructureSchema;
152
151
  export declare var Actor$: StaticStructureSchema;
153
152
  export declare var SecretRef$: StaticStructureSchema;
154
153
  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.35",
4
+ "version": "1.0.37",
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",