@wildix/wilma-agents-client 1.0.1 → 1.0.2

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.
Files changed (72) hide show
  1. package/dist-cjs/WilmaAgents.js +12 -20
  2. package/dist-cjs/commands/{DeleteGuardrailCommand.js → CreateAgentDeploymentCommand.js} +6 -6
  3. package/dist-cjs/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +6 -6
  4. package/dist-cjs/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +6 -6
  5. package/dist-cjs/commands/{DeleteAgentAliasCommand.js → ListAgentDeploymentsCommand.js} +6 -6
  6. package/dist-cjs/commands/RestoreAgentVersionToDraftCommand.js +20 -0
  7. package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +20 -0
  8. package/dist-cjs/commands/index.js +6 -10
  9. package/dist-cjs/models/enums.js +36 -81
  10. package/dist-cjs/models/errors.js +51 -36
  11. package/dist-cjs/schemas/schemas_0.js +358 -539
  12. package/dist-es/WilmaAgents.js +12 -20
  13. package/dist-es/commands/{DeleteAgentAliasCommand.js → CreateAgentDeploymentCommand.js} +5 -5
  14. package/dist-es/commands/{ExecuteAgentCommand.js → DeleteAgentDeploymentCommand.js} +5 -5
  15. package/dist-es/commands/{CreateGuardrailCommand.js → GetAgentDeploymentCommand.js} +5 -5
  16. package/dist-es/commands/{DeleteGuardrailCommand.js → ListAgentDeploymentsCommand.js} +5 -5
  17. package/dist-es/commands/RestoreAgentVersionToDraftCommand.js +16 -0
  18. package/dist-es/commands/UpdateAgentDeploymentCommand.js +16 -0
  19. package/dist-es/commands/index.js +6 -10
  20. package/dist-es/models/enums.js +35 -80
  21. package/dist-es/models/errors.js +42 -28
  22. package/dist-es/schemas/schemas_0.js +356 -536
  23. package/dist-types/WilmaAgents.d.ts +42 -71
  24. package/dist-types/WilmaAgentsClient.d.ts +16 -19
  25. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +5 -5
  26. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +1 -3
  27. package/dist-types/commands/CreateAgentCommand.d.ts +451 -324
  28. package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +116 -0
  29. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +1 -3
  30. package/dist-types/commands/DeleteAgentCommand.d.ts +5 -4
  31. package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +83 -0
  32. package/dist-types/commands/GetAgentCommand.d.ts +237 -170
  33. package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
  34. package/dist-types/commands/GetAgentVersionCommand.d.ts +219 -158
  35. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +1 -3
  36. package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +105 -0
  37. package/dist-types/commands/ListAgentVersionsCommand.d.ts +8 -7
  38. package/dist-types/commands/ListAgentsCommand.d.ts +241 -174
  39. package/dist-types/commands/ListAgentsNamesCommand.d.ts +6 -8
  40. package/dist-types/commands/PublishAgentVersionCommand.d.ts +221 -159
  41. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
  42. package/dist-types/commands/UpdateAgentCommand.d.ts +451 -324
  43. package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +120 -0
  44. package/dist-types/commands/index.d.ts +6 -10
  45. package/dist-types/index.d.ts +8 -7
  46. package/dist-types/models/enums.d.ts +126 -161
  47. package/dist-types/models/errors.d.ts +35 -22
  48. package/dist-types/models/models_0.d.ts +695 -741
  49. package/dist-types/schemas/schemas_0.d.ts +41 -61
  50. package/package.json +2 -2
  51. package/dist-cjs/commands/GetGuardrailCommand.js +0 -20
  52. package/dist-cjs/commands/ListAgentAliasesCommand.js +0 -20
  53. package/dist-cjs/commands/ListAuditRecordsCommand.js +0 -20
  54. package/dist-cjs/commands/ListGuardrailsCommand.js +0 -20
  55. package/dist-cjs/commands/PutAgentAliasCommand.js +0 -20
  56. package/dist-cjs/commands/UpdateGuardrailCommand.js +0 -20
  57. package/dist-es/commands/GetGuardrailCommand.js +0 -16
  58. package/dist-es/commands/ListAgentAliasesCommand.js +0 -16
  59. package/dist-es/commands/ListAuditRecordsCommand.js +0 -16
  60. package/dist-es/commands/ListGuardrailsCommand.js +0 -16
  61. package/dist-es/commands/PutAgentAliasCommand.js +0 -16
  62. package/dist-es/commands/UpdateGuardrailCommand.js +0 -16
  63. package/dist-types/commands/CreateGuardrailCommand.d.ts +0 -172
  64. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +0 -82
  65. package/dist-types/commands/DeleteGuardrailCommand.d.ts +0 -80
  66. package/dist-types/commands/ExecuteAgentCommand.d.ts +0 -112
  67. package/dist-types/commands/GetGuardrailCommand.d.ts +0 -135
  68. package/dist-types/commands/ListAgentAliasesCommand.d.ts +0 -99
  69. package/dist-types/commands/ListAuditRecordsCommand.d.ts +0 -109
  70. package/dist-types/commands/ListGuardrailsCommand.d.ts +0 -137
  71. package/dist-types/commands/PutAgentAliasCommand.d.ts +0 -107
  72. package/dist-types/commands/UpdateGuardrailCommand.d.ts +0 -175
@@ -24,9 +24,7 @@ export interface GetAgentCommandOutput extends GetAgentOutput, __MetadataBearer
24
24
  declare const GetAgentCommand_base: {
25
25
  new (input: GetAgentCommandInput): import("@smithy/core/client").CommandImpl<GetAgentCommandInput, GetAgentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetAgentCommandInput): import("@smithy/core/client").CommandImpl<GetAgentCommandInput, GetAgentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves an agent, including its draft definition and version/rollout state.
@@ -50,12 +48,80 @@ declare const GetAgentCommand_base: {
50
48
  * // description: "STRING_VALUE",
51
49
  * // category: "STRING_VALUE",
52
50
  * // picture: "STRING_VALUE",
51
+ * // channels: { // AgentChannels
52
+ * // voice: { // VoiceChannelSettings
53
+ * // greeting: "STRING_VALUE",
54
+ * // interruptions: { // VoiceInterruptionSettings
55
+ * // enabled: true || false, // required
56
+ * // minWords: Number("int"),
57
+ * // },
58
+ * // silenceTimeout: { // VoiceSilenceTimeoutSettings
59
+ * // seconds: Number("int"), // required
60
+ * // action: { // VoiceTerminateAction Union: only one key present
61
+ * // hangup: { // VoiceTerminateHangupAction
62
+ * // message: "STRING_VALUE",
63
+ * // },
64
+ * // transfer: { // VoiceTransferTarget
65
+ * // name: "STRING_VALUE", // required
66
+ * // description: "STRING_VALUE",
67
+ * // context: "STRING_VALUE", // required
68
+ * // extension: "STRING_VALUE", // required
69
+ * // },
70
+ * // },
71
+ * // },
72
+ * // maxDuration: { // VoiceMaxDurationSettings
73
+ * // seconds: Number("int"), // required
74
+ * // action: {// Union: only one key present
75
+ * // hangup: {
76
+ * // message: "STRING_VALUE",
77
+ * // },
78
+ * // transfer: {
79
+ * // name: "STRING_VALUE", // required
80
+ * // description: "STRING_VALUE",
81
+ * // context: "STRING_VALUE", // required
82
+ * // extension: "STRING_VALUE", // required
83
+ * // },
84
+ * // },
85
+ * // },
86
+ * // endCall: { // VoiceEndCallSettings
87
+ * // enabled: true || false, // required
88
+ * // phrases: "STRING_VALUE",
89
+ * // },
90
+ * // callerMetadata: { // VoiceCallerMetadataSettings
91
+ * // callerName: true || false,
92
+ * // callerNumber: true || false,
93
+ * // callerEmail: true || false,
94
+ * // callerCompany: true || false,
95
+ * // time: true || false,
96
+ * // timeZone: "STRING_VALUE",
97
+ * // },
98
+ * // },
99
+ * // chat: { // ChatChannelSettings
100
+ * // discoverable: true || false,
101
+ * // },
102
+ * // assistant: { // AssistantChannelSettings
103
+ * // default: true || false,
104
+ * // },
105
+ * // autonomous: {},
106
+ * // },
53
107
  * // engine: { // AgentEngine Union: only one key present
54
- * // llm: { // AgentLlmEngine
108
+ * // ai: { // AgentAiEngine
55
109
  * // instructions: "STRING_VALUE", // required
56
110
  * // model: "STRING_VALUE",
57
111
  * // skills: [ // AgentSkillsList
58
- * // "STRING_VALUE",
112
+ * // { // AgentSkillReference
113
+ * // id: "STRING_VALUE", // required
114
+ * // skillVersion: "STRING_VALUE",
115
+ * // access: { // AgentAccess
116
+ * // visibility: "explicit" || "organization",
117
+ * // grants: [ // AgentGrantPrincipalList
118
+ * // { // AgentGrantPrincipal Union: only one key present
119
+ * // userId: "STRING_VALUE",
120
+ * // groupId: "STRING_VALUE",
121
+ * // },
122
+ * // ],
123
+ * // },
124
+ * // },
59
125
  * // ],
60
126
  * // capabilities: [ // AgentCapabilitiesList
61
127
  * // { // AgentCapability Union: only one key present
@@ -70,50 +136,55 @@ declare const GetAgentCommand_base: {
70
136
  * // description: "STRING_VALUE", // required
71
137
  * // },
72
138
  * // predefined: { // AgentToolVariablePredefinedHandler
73
- * // description: "STRING_VALUE", // required
139
+ * // value: "STRING_VALUE", // required
74
140
  * // },
75
141
  * // },
76
142
  * // },
77
143
  * // ],
78
- * // },
79
- * // function: { // AgentFunctionTool
80
- * // name: "STRING_VALUE", // required
81
- * // description: "STRING_VALUE",
82
- * // parameters: "DOCUMENT_VALUE",
83
- * // integration: { // FunctionIntegration Union: only one key present
84
- * // webhook: { // FunctionWebhookIntegration
85
- * // url: "STRING_VALUE", // required
86
- * // method: "get" || "post" || "put" || "delete" || "patch",
87
- * // async: true || false,
88
- * // authorization: { // WebhookAuthorization Union: only one key present
89
- * // bearer: { // WebhookAuthorizationBearer
90
- * // token: "STRING_VALUE", // required
91
- * // },
92
- * // basic: { // WebhookAuthorizationBasic
93
- * // username: "STRING_VALUE", // required
94
- * // password: "STRING_VALUE", // required
95
- * // },
96
- * // oauth: { // WebhookAuthorizationOAuth
97
- * // clientId: "STRING_VALUE", // required
98
- * // clientSecret: "STRING_VALUE", // required
99
- * // endpointUrl: "STRING_VALUE", // required
100
- * // scope: "STRING_VALUE",
101
- * // },
144
+ * // startMessage: "STRING_VALUE",
145
+ * // pipeline: { // AgentToolPipeline
146
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
147
+ * // instructions: "STRING_VALUE",
148
+ * // },
149
+ * // approval: { // AgentToolApproval
150
+ * // prompt: "STRING_VALUE",
151
+ * // },
152
+ * // annotations: [ // AgentToolAnnotationsList
153
+ * // { // AgentToolAnnotation Union: only one key present
154
+ * // tag: { // AgentToolTagAnnotation
155
+ * // value: "STRING_VALUE",
156
+ * // applyOnSuccess: true || false,
157
+ * // applyOnFailure: true || false,
102
158
  * // },
103
- * // headers: [ // WebhookHeadersList
104
- * // { // WebhookHeader
105
- * // name: "STRING_VALUE", // required
106
- * // value: "STRING_VALUE", // required
107
- * // },
108
- * // ],
109
- * // timeout: Number("int"),
110
- * // parameters: "DOCUMENT_VALUE",
159
+ * // comment: { // AgentToolCommentAnnotation
160
+ * // value: "STRING_VALUE",
161
+ * // applyOnSuccess: true || false,
162
+ * // applyOnFailure: true || false,
163
+ * // },
164
+ * // variables: {},
165
+ * // result: {},
111
166
  * // },
112
- * // },
167
+ * // ],
113
168
  * // },
114
169
  * // kb: { // AgentKnowledgeBase
115
170
  * // knowledgeBaseId: "STRING_VALUE",
116
171
  * // instructions: "STRING_VALUE",
172
+ * // annotations: [
173
+ * // {// Union: only one key present
174
+ * // tag: {
175
+ * // value: "STRING_VALUE",
176
+ * // applyOnSuccess: true || false,
177
+ * // applyOnFailure: true || false,
178
+ * // },
179
+ * // comment: {
180
+ * // value: "STRING_VALUE",
181
+ * // applyOnSuccess: true || false,
182
+ * // applyOnFailure: true || false,
183
+ * // },
184
+ * // variables: {},
185
+ * // result: {},
186
+ * // },
187
+ * // ],
117
188
  * // },
118
189
  * // sandbox: { // AgentSandboxCapability Union: only one key present
119
190
  * // vercel: { // AgentVercelSandboxOptions
@@ -151,6 +222,17 @@ declare const GetAgentCommand_base: {
151
222
  * // },
152
223
  * // agent: { // AgentCallCapability
153
224
  * // agentId: "STRING_VALUE", // required
225
+ * // agentVersion: "STRING_VALUE",
226
+ * // agentDeployment: "STRING_VALUE",
227
+ * // access: {
228
+ * // visibility: "explicit" || "organization",
229
+ * // grants: [
230
+ * // {// Union: only one key present
231
+ * // userId: "STRING_VALUE",
232
+ * // groupId: "STRING_VALUE",
233
+ * // },
234
+ * // ],
235
+ * // },
154
236
  * // variables: [
155
237
  * // {
156
238
  * // name: "STRING_VALUE", // required
@@ -160,55 +242,111 @@ declare const GetAgentCommand_base: {
160
242
  * // description: "STRING_VALUE", // required
161
243
  * // },
162
244
  * // predefined: {
163
- * // description: "STRING_VALUE", // required
245
+ * // value: "STRING_VALUE", // required
164
246
  * // },
165
247
  * // },
166
248
  * // },
167
249
  * // ],
168
250
  * // },
169
- * // mcp: { // AgentMcpServerCapability
170
- * // url: "STRING_VALUE", // required
171
- * // authorization: {// Union: only one key present
172
- * // bearer: {
173
- * // token: "STRING_VALUE", // required
174
- * // },
175
- * // basic: {
176
- * // username: "STRING_VALUE", // required
177
- * // password: "STRING_VALUE", // required
178
- * // },
179
- * // oauth: {
180
- * // clientId: "STRING_VALUE", // required
181
- * // clientSecret: "STRING_VALUE", // required
182
- * // endpointUrl: "STRING_VALUE", // required
183
- * // scope: "STRING_VALUE",
184
- * // },
251
+ * // handover: { // AgentHandoverCapability
252
+ * // name: "STRING_VALUE",
253
+ * // description: "STRING_VALUE",
254
+ * // variant: "agent" || "service",
255
+ * // agent: "STRING_VALUE",
256
+ * // agentVersion: "STRING_VALUE",
257
+ * // agentDeployment: "STRING_VALUE",
258
+ * // service: "STRING_VALUE",
259
+ * // silent: true || false,
260
+ * // pipeline: { // AgentHandoverPipeline
261
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
262
+ * // instructions: "STRING_VALUE",
185
263
  * // },
186
- * // allowedTools: [ // FunctionNameList
187
- * // "STRING_VALUE",
264
+ * // annotations: [
265
+ * // {// Union: only one key present
266
+ * // tag: {
267
+ * // value: "STRING_VALUE",
268
+ * // applyOnSuccess: true || false,
269
+ * // applyOnFailure: true || false,
270
+ * // },
271
+ * // comment: {
272
+ * // value: "STRING_VALUE",
273
+ * // applyOnSuccess: true || false,
274
+ * // applyOnFailure: true || false,
275
+ * // },
276
+ * // variables: {},
277
+ * // result: {},
278
+ * // },
188
279
  * // ],
189
280
  * // },
190
- * // handover: { // AgentHandoverCapability
191
- * // instructions: "STRING_VALUE",
192
- * // message: "STRING_VALUE",
193
- * // },
194
281
  * // delegation: { // AgentDelegationCapability
195
- * // agents: [ // AgentIdList
196
- * // "STRING_VALUE",
282
+ * // name: "STRING_VALUE",
283
+ * // description: "STRING_VALUE",
284
+ * // id: "STRING_VALUE", // required
285
+ * // agentVersion: "STRING_VALUE",
286
+ * // agentDeployment: "STRING_VALUE",
287
+ * // annotations: [
288
+ * // {// Union: only one key present
289
+ * // tag: {
290
+ * // value: "STRING_VALUE",
291
+ * // applyOnSuccess: true || false,
292
+ * // applyOnFailure: true || false,
293
+ * // },
294
+ * // comment: {
295
+ * // value: "STRING_VALUE",
296
+ * // applyOnSuccess: true || false,
297
+ * // applyOnFailure: true || false,
298
+ * // },
299
+ * // variables: {},
300
+ * // result: {},
301
+ * // },
197
302
  * // ],
198
- * // instructions: "STRING_VALUE",
199
303
  * // },
200
304
  * // transfer: { // AgentTransferCapability
201
- * // targets: [ // VoiceTransferTargetsList // required
202
- * // { // VoiceTransferTarget
203
- * // name: "STRING_VALUE", // required
204
- * // description: "STRING_VALUE",
205
- * // context: "STRING_VALUE", // required
206
- * // extension: "STRING_VALUE", // required
305
+ * // name: "STRING_VALUE",
306
+ * // description: "STRING_VALUE",
307
+ * // variant: "predefined" || "dynamic" || "directory",
308
+ * // context: "STRING_VALUE",
309
+ * // extension: "STRING_VALUE",
310
+ * // pipeline: { // AgentTransferPipeline
311
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
312
+ * // instructions: "STRING_VALUE",
313
+ * // },
314
+ * // annotations: [
315
+ * // {// Union: only one key present
316
+ * // tag: {
317
+ * // value: "STRING_VALUE",
318
+ * // applyOnSuccess: true || false,
319
+ * // applyOnFailure: true || false,
320
+ * // },
321
+ * // comment: {
322
+ * // value: "STRING_VALUE",
323
+ * // applyOnSuccess: true || false,
324
+ * // applyOnFailure: true || false,
325
+ * // },
326
+ * // variables: {},
327
+ * // result: {},
207
328
  * // },
208
329
  * // ],
209
- * // instructions: "STRING_VALUE",
210
330
  * // },
211
- * // suggestions: {},
331
+ * // suggestions: { // AgentSuggestionsCapability
332
+ * // name: "STRING_VALUE",
333
+ * // annotations: "<AgentToolAnnotationsList>",
334
+ * // },
335
+ * // hangup: { // AgentHangupCapability
336
+ * // name: "STRING_VALUE",
337
+ * // description: "STRING_VALUE",
338
+ * // pipeline: { // AgentHangupPipeline
339
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
340
+ * // instructions: "STRING_VALUE",
341
+ * // },
342
+ * // annotations: "<AgentToolAnnotationsList>",
343
+ * // },
344
+ * // wait: { // AgentWaitCapability
345
+ * // name: "STRING_VALUE",
346
+ * // description: "STRING_VALUE",
347
+ * // message: "STRING_VALUE",
348
+ * // annotations: "<AgentToolAnnotationsList>",
349
+ * // },
212
350
  * // },
213
351
  * // ],
214
352
  * // variables: [ // AgentVariablesList
@@ -231,90 +369,10 @@ declare const GetAgentCommand_base: {
231
369
  * // secret: "STRING_VALUE", // required
232
370
  * // },
233
371
  * // },
234
- * // channels: { // AgentChannels
235
- * // assistant: { // AssistantChannelSettings
236
- * // enabled: true || false, // required
237
- * // default: true || false,
238
- * // },
239
- * // chat: { // ChatChannelSettings
240
- * // enabled: true || false, // required
241
- * // discoverable: true || false,
242
- * // pbxGroupId: "STRING_VALUE",
243
- * // welcomeMessage: "STRING_VALUE",
244
- * // },
245
- * // voice: { // VoiceChannelSettings
246
- * // enabled: true || false, // required
247
- * // language: "STRING_VALUE", // required
248
- * // synthesis: { // VoiceSynthesisSettings
249
- * // provider: "elevenlabs" || "google", // required
250
- * // voiceId: "STRING_VALUE", // required
251
- * // speed: Number("float"),
252
- * // },
253
- * // greeting: "STRING_VALUE",
254
- * // interruptions: { // VoiceInterruptionSettings
255
- * // enabled: true || false, // required
256
- * // minWords: Number("int"),
257
- * // },
258
- * // silenceTimeout: { // VoiceSilenceTimeoutSettings
259
- * // seconds: Number("int"), // required
260
- * // action: { // VoiceTerminateAction Union: only one key present
261
- * // hangup: { // VoiceTerminateHangupAction
262
- * // message: "STRING_VALUE",
263
- * // },
264
- * // transfer: {
265
- * // name: "STRING_VALUE", // required
266
- * // description: "STRING_VALUE",
267
- * // context: "STRING_VALUE", // required
268
- * // extension: "STRING_VALUE", // required
269
- * // },
270
- * // },
271
- * // },
272
- * // maxDuration: { // VoiceMaxDurationSettings
273
- * // seconds: Number("int"), // required
274
- * // action: {// Union: only one key present
275
- * // hangup: {
276
- * // message: "STRING_VALUE",
277
- * // },
278
- * // transfer: {
279
- * // name: "STRING_VALUE", // required
280
- * // description: "STRING_VALUE",
281
- * // context: "STRING_VALUE", // required
282
- * // extension: "STRING_VALUE", // required
283
- * // },
284
- * // },
285
- * // },
286
- * // endCall: { // VoiceEndCallSettings
287
- * // enabled: true || false, // required
288
- * // phrases: "STRING_VALUE",
289
- * // },
290
- * // callerMetadata: { // VoiceCallerMetadataSettings
291
- * // callerName: true || false,
292
- * // callerNumber: true || false,
293
- * // callerEmail: true || false,
294
- * // callerCompany: true || false,
295
- * // time: true || false,
296
- * // timeZone: "STRING_VALUE",
297
- * // },
298
- * // },
299
- * // api: { // ApiChannelSettings
300
- * // enabled: true || false, // required
301
- * // },
302
- * // },
303
- * // guardrails: [ // GuardrailIdList
304
- * // "STRING_VALUE",
305
- * // ],
306
- * // access: { // AgentAccess
307
- * // visibility: "explicit" || "organization",
308
- * // grants: [ // AgentGrantList
309
- * // { // AgentGrant
310
- * // permission: "view" || "edit" || "use", // required
311
- * // principal: { // AgentGrantPrincipal Union: only one key present
312
- * // userId: "STRING_VALUE",
313
- * // groupId: "STRING_VALUE",
314
- * // },
315
- * // },
316
- * // ],
372
+ * // settings: { // AgentSettings
373
+ * // pbxGroupId: "STRING_VALUE",
317
374
  * // },
375
+ * // access: "<AgentAccess>",
318
376
  * // createdAt: "STRING_VALUE", // required
319
377
  * // createdBy: { // Actor
320
378
  * // type: "user" || "api_key" || "service", // required
@@ -328,26 +386,35 @@ declare const GetAgentCommand_base: {
328
386
  * // name: "STRING_VALUE",
329
387
  * // },
330
388
  * // id: "STRING_VALUE", // required
331
- * // status: "draft" || "active" || "archived", // required
389
+ * // status: "draft" || "active", // required
332
390
  * // revision: Number("int"), // required
333
- * // latestVersion: Number("int"),
334
- * // aliases: [ // AgentAliasesList
335
- * // { // AgentAlias
336
- * // name: "STRING_VALUE", // required
337
- * // agentId: "STRING_VALUE", // required
338
- * // description: "STRING_VALUE",
339
- * // routing: [ // AgentAliasRoutesList // required
340
- * // { // AgentAliasRoute
341
- * // version: Number("int"), // required
342
- * // weight: Number("int"), // required
343
- * // },
344
- * // ],
345
- * // updatedAt: "STRING_VALUE", // required
391
+ * // latestVersion: "STRING_VALUE",
392
+ * // draftBaseVersion: "STRING_VALUE",
393
+ * // deployments: [ // AgentDeploymentsList
394
+ * // { // AgentDeployment
395
+ * // createdAt: "STRING_VALUE", // required
396
+ * // createdBy: {
397
+ * // type: "user" || "api_key" || "service", // required
398
+ * // id: "STRING_VALUE", // required
399
+ * // name: "STRING_VALUE",
400
+ * // },
401
+ * // updatedAt: "STRING_VALUE",
346
402
  * // updatedBy: {
347
403
  * // type: "user" || "api_key" || "service", // required
348
404
  * // id: "STRING_VALUE", // required
349
405
  * // name: "STRING_VALUE",
350
406
  * // },
407
+ * // agentId: "STRING_VALUE", // required
408
+ * // name: "STRING_VALUE", // required
409
+ * // description: "STRING_VALUE",
410
+ * // status: "active" || "paused", // required
411
+ * // routing: [ // AgentDeploymentRoutesList // required
412
+ * // { // AgentDeploymentRoute
413
+ * // version: "STRING_VALUE", // required
414
+ * // percentage: Number("int"), // required
415
+ * // },
416
+ * // ],
417
+ * // revision: Number("int"), // required
351
418
  * // },
352
419
  * // ],
353
420
  * // },
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetAgentDeploymentInput, GetAgentDeploymentOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetAgentDeploymentCommand}.
14
+ */
15
+ export interface GetAgentDeploymentCommandInput extends GetAgentDeploymentInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAgentDeploymentCommand}.
21
+ */
22
+ export interface GetAgentDeploymentCommandOutput extends GetAgentDeploymentOutput, __MetadataBearer {
23
+ }
24
+ declare const GetAgentDeploymentCommand_base: {
25
+ new (input: GetAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<GetAgentDeploymentCommandInput, GetAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<GetAgentDeploymentCommandInput, GetAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Retrieves a named deployment and its current traffic allocation.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaAgentsClient, GetAgentDeploymentCommand } from "@wildix/wilma-agents-client"; // ES Modules import
35
+ * // const { WilmaAgentsClient, GetAgentDeploymentCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
36
+ * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
37
+ * const config = {}; // type is WilmaAgentsClientConfig
38
+ * const client = new WilmaAgentsClient(config);
39
+ * const input = { // GetAgentDeploymentInput
40
+ * company: "STRING_VALUE",
41
+ * agentId: "STRING_VALUE", // required
42
+ * deploymentName: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new GetAgentDeploymentCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetAgentDeploymentOutput
47
+ * // deployment: { // AgentDeployment
48
+ * // createdAt: "STRING_VALUE", // required
49
+ * // createdBy: { // Actor
50
+ * // type: "user" || "api_key" || "service", // required
51
+ * // id: "STRING_VALUE", // required
52
+ * // name: "STRING_VALUE",
53
+ * // },
54
+ * // updatedAt: "STRING_VALUE",
55
+ * // updatedBy: {
56
+ * // type: "user" || "api_key" || "service", // required
57
+ * // id: "STRING_VALUE", // required
58
+ * // name: "STRING_VALUE",
59
+ * // },
60
+ * // agentId: "STRING_VALUE", // required
61
+ * // name: "STRING_VALUE", // required
62
+ * // description: "STRING_VALUE",
63
+ * // status: "active" || "paused", // required
64
+ * // routing: [ // AgentDeploymentRoutesList // required
65
+ * // { // AgentDeploymentRoute
66
+ * // version: "STRING_VALUE", // required
67
+ * // percentage: Number("int"), // required
68
+ * // },
69
+ * // ],
70
+ * // revision: Number("int"), // required
71
+ * // },
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param GetAgentDeploymentCommandInput - {@link GetAgentDeploymentCommandInput}
77
+ * @returns {@link GetAgentDeploymentCommandOutput}
78
+ * @see {@link GetAgentDeploymentCommandInput} for command's `input` shape.
79
+ * @see {@link GetAgentDeploymentCommandOutput} for command's `response` shape.
80
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
81
+ *
82
+ * @throws {@link AgentNotFoundException} (client fault)
83
+ *
84
+ * @throws {@link AgentDeploymentNotFoundException} (client fault)
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ *
88
+ * @throws {@link WilmaAgentsServiceException}
89
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class GetAgentDeploymentCommand extends GetAgentDeploymentCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: GetAgentDeploymentInput;
99
+ output: GetAgentDeploymentOutput;
100
+ };
101
+ sdk: {
102
+ input: GetAgentDeploymentCommandInput;
103
+ output: GetAgentDeploymentCommandOutput;
104
+ };
105
+ };
106
+ }