@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
@@ -0,0 +1,460 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { RestoreAgentVersionToDraftInput, RestoreAgentVersionToDraftOutput } 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 RestoreAgentVersionToDraftCommand}.
14
+ */
15
+ export interface RestoreAgentVersionToDraftCommandInput extends RestoreAgentVersionToDraftInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RestoreAgentVersionToDraftCommand}.
21
+ */
22
+ export interface RestoreAgentVersionToDraftCommandOutput extends RestoreAgentVersionToDraftOutput, __MetadataBearer {
23
+ }
24
+ declare const RestoreAgentVersionToDraftCommand_base: {
25
+ new (input: RestoreAgentVersionToDraftCommandInput): import("@smithy/core/client").CommandImpl<RestoreAgentVersionToDraftCommandInput, RestoreAgentVersionToDraftCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RestoreAgentVersionToDraftCommandInput): import("@smithy/core/client").CommandImpl<RestoreAgentVersionToDraftCommandInput, RestoreAgentVersionToDraftCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Replaces the mutable draft with a published version's definition. The draft revision is incremented; published versions and deployments are unchanged.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaAgentsClient, RestoreAgentVersionToDraftCommand } from "@wildix/wilma-agents-client"; // ES Modules import
35
+ * // const { WilmaAgentsClient, RestoreAgentVersionToDraftCommand } = 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 = { // RestoreAgentVersionToDraftInput
40
+ * company: "STRING_VALUE",
41
+ * agentId: "STRING_VALUE", // required
42
+ * version: "STRING_VALUE", // required
43
+ * revision: Number("int"), // required
44
+ * };
45
+ * const command = new RestoreAgentVersionToDraftCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // RestoreAgentVersionToDraftOutput
48
+ * // agent: { // Agent
49
+ * // name: "STRING_VALUE", // required
50
+ * // description: "STRING_VALUE",
51
+ * // category: "STRING_VALUE",
52
+ * // picture: "STRING_VALUE",
53
+ * // channels: { // AgentChannels
54
+ * // voice: { // VoiceChannelSettings
55
+ * // greeting: "STRING_VALUE",
56
+ * // interruptions: { // VoiceInterruptionSettings
57
+ * // enabled: true || false, // required
58
+ * // minWords: Number("int"),
59
+ * // },
60
+ * // silenceTimeout: { // VoiceSilenceTimeoutSettings
61
+ * // seconds: Number("int"), // required
62
+ * // action: { // VoiceTerminateAction Union: only one key present
63
+ * // hangup: { // VoiceTerminateHangupAction
64
+ * // message: "STRING_VALUE",
65
+ * // },
66
+ * // transfer: { // VoiceTransferTarget
67
+ * // name: "STRING_VALUE", // required
68
+ * // description: "STRING_VALUE",
69
+ * // context: "STRING_VALUE", // required
70
+ * // extension: "STRING_VALUE", // required
71
+ * // },
72
+ * // },
73
+ * // },
74
+ * // maxDuration: { // VoiceMaxDurationSettings
75
+ * // seconds: Number("int"), // required
76
+ * // action: {// Union: only one key present
77
+ * // hangup: {
78
+ * // message: "STRING_VALUE",
79
+ * // },
80
+ * // transfer: {
81
+ * // name: "STRING_VALUE", // required
82
+ * // description: "STRING_VALUE",
83
+ * // context: "STRING_VALUE", // required
84
+ * // extension: "STRING_VALUE", // required
85
+ * // },
86
+ * // },
87
+ * // },
88
+ * // endCall: { // VoiceEndCallSettings
89
+ * // enabled: true || false, // required
90
+ * // phrases: "STRING_VALUE",
91
+ * // },
92
+ * // callerMetadata: { // VoiceCallerMetadataSettings
93
+ * // callerName: true || false,
94
+ * // callerNumber: true || false,
95
+ * // callerEmail: true || false,
96
+ * // callerCompany: true || false,
97
+ * // time: true || false,
98
+ * // timeZone: "STRING_VALUE",
99
+ * // },
100
+ * // },
101
+ * // chat: { // ChatChannelSettings
102
+ * // discoverable: true || false,
103
+ * // },
104
+ * // assistant: { // AssistantChannelSettings
105
+ * // default: true || false,
106
+ * // },
107
+ * // autonomous: {},
108
+ * // },
109
+ * // engine: { // AgentEngine Union: only one key present
110
+ * // ai: { // AgentAiEngine
111
+ * // instructions: "STRING_VALUE", // required
112
+ * // model: "STRING_VALUE",
113
+ * // skills: [ // AgentSkillsList
114
+ * // { // AgentSkillReference
115
+ * // id: "STRING_VALUE", // required
116
+ * // skillVersion: "STRING_VALUE",
117
+ * // access: { // AgentAccess
118
+ * // visibility: "explicit" || "organization",
119
+ * // grants: [ // AgentGrantPrincipalList
120
+ * // { // AgentGrantPrincipal Union: only one key present
121
+ * // userId: "STRING_VALUE",
122
+ * // groupId: "STRING_VALUE",
123
+ * // },
124
+ * // ],
125
+ * // },
126
+ * // },
127
+ * // ],
128
+ * // capabilities: [ // AgentCapabilitiesList
129
+ * // { // AgentCapability Union: only one key present
130
+ * // tool: { // AgentTool
131
+ * // id: "STRING_VALUE", // required
132
+ * // variables: [ // AgentToolVariablesList
133
+ * // { // AgentToolVariable
134
+ * // name: "STRING_VALUE", // required
135
+ * // handler: { // AgentToolVariableHandler Union: only one key present
136
+ * // auto: {},
137
+ * // guided: { // AgentToolVariableGuidedHandler
138
+ * // description: "STRING_VALUE", // required
139
+ * // },
140
+ * // predefined: { // AgentToolVariablePredefinedHandler
141
+ * // value: "STRING_VALUE", // required
142
+ * // },
143
+ * // },
144
+ * // },
145
+ * // ],
146
+ * // startMessage: "STRING_VALUE",
147
+ * // pipeline: { // AgentToolPipeline
148
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
149
+ * // instructions: "STRING_VALUE",
150
+ * // },
151
+ * // approval: { // AgentToolApproval
152
+ * // prompt: "STRING_VALUE",
153
+ * // },
154
+ * // annotations: [ // AgentToolAnnotationsList
155
+ * // { // AgentToolAnnotation Union: only one key present
156
+ * // tag: { // AgentToolTagAnnotation
157
+ * // value: "STRING_VALUE",
158
+ * // applyOnSuccess: true || false,
159
+ * // applyOnFailure: true || false,
160
+ * // },
161
+ * // comment: { // AgentToolCommentAnnotation
162
+ * // value: "STRING_VALUE",
163
+ * // applyOnSuccess: true || false,
164
+ * // applyOnFailure: true || false,
165
+ * // },
166
+ * // variables: {},
167
+ * // result: {},
168
+ * // },
169
+ * // ],
170
+ * // },
171
+ * // kb: { // AgentKnowledgeBase
172
+ * // knowledgeBaseId: "STRING_VALUE",
173
+ * // instructions: "STRING_VALUE",
174
+ * // annotations: [
175
+ * // {// Union: only one key present
176
+ * // tag: {
177
+ * // value: "STRING_VALUE",
178
+ * // applyOnSuccess: true || false,
179
+ * // applyOnFailure: true || false,
180
+ * // },
181
+ * // comment: {
182
+ * // value: "STRING_VALUE",
183
+ * // applyOnSuccess: true || false,
184
+ * // applyOnFailure: true || false,
185
+ * // },
186
+ * // variables: {},
187
+ * // result: {},
188
+ * // },
189
+ * // ],
190
+ * // },
191
+ * // sandbox: { // AgentSandboxCapability Union: only one key present
192
+ * // vercel: { // AgentVercelSandboxOptions
193
+ * // vcpus: Number("int"),
194
+ * // network: "allow-all" || "deny-all" || "allowlist",
195
+ * // allowedDomains: [ // DomainNameList
196
+ * // "STRING_VALUE",
197
+ * // ],
198
+ * // },
199
+ * // snapshot: { // AgentSnapshotSandboxOptions
200
+ * // snapshotId: "STRING_VALUE", // required
201
+ * // network: "allow-all" || "deny-all" || "allowlist",
202
+ * // allowedDomains: [
203
+ * // "STRING_VALUE",
204
+ * // ],
205
+ * // vcpus: Number("int"),
206
+ * // },
207
+ * // },
208
+ * // webSearch: { // AgentWebSearchCapability
209
+ * // contextSize: "low" || "medium" || "high",
210
+ * // allowedDomains: [
211
+ * // "STRING_VALUE",
212
+ * // ],
213
+ * // userLocation: { // WebSearchUserLocation
214
+ * // country: "STRING_VALUE",
215
+ * // region: "STRING_VALUE",
216
+ * // city: "STRING_VALUE",
217
+ * // timezone: "STRING_VALUE",
218
+ * // },
219
+ * // },
220
+ * // webFetch: { // AgentWebFetchCapability
221
+ * // allowedDomains: [
222
+ * // "STRING_VALUE",
223
+ * // ],
224
+ * // },
225
+ * // agent: { // AgentCallCapability
226
+ * // agentId: "STRING_VALUE", // required
227
+ * // agentVersion: "STRING_VALUE",
228
+ * // agentDeployment: "STRING_VALUE",
229
+ * // access: {
230
+ * // visibility: "explicit" || "organization",
231
+ * // grants: [
232
+ * // {// Union: only one key present
233
+ * // userId: "STRING_VALUE",
234
+ * // groupId: "STRING_VALUE",
235
+ * // },
236
+ * // ],
237
+ * // },
238
+ * // variables: [
239
+ * // {
240
+ * // name: "STRING_VALUE", // required
241
+ * // handler: {// Union: only one key present
242
+ * // auto: {},
243
+ * // guided: {
244
+ * // description: "STRING_VALUE", // required
245
+ * // },
246
+ * // predefined: {
247
+ * // value: "STRING_VALUE", // required
248
+ * // },
249
+ * // },
250
+ * // },
251
+ * // ],
252
+ * // },
253
+ * // handover: { // AgentHandoverCapability
254
+ * // name: "STRING_VALUE",
255
+ * // description: "STRING_VALUE",
256
+ * // variant: "agent" || "service",
257
+ * // agent: "STRING_VALUE",
258
+ * // agentVersion: "STRING_VALUE",
259
+ * // agentDeployment: "STRING_VALUE",
260
+ * // service: "STRING_VALUE",
261
+ * // silent: true || false,
262
+ * // pipeline: { // AgentHandoverPipeline
263
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
264
+ * // instructions: "STRING_VALUE",
265
+ * // },
266
+ * // annotations: [
267
+ * // {// Union: only one key present
268
+ * // tag: {
269
+ * // value: "STRING_VALUE",
270
+ * // applyOnSuccess: true || false,
271
+ * // applyOnFailure: true || false,
272
+ * // },
273
+ * // comment: {
274
+ * // value: "STRING_VALUE",
275
+ * // applyOnSuccess: true || false,
276
+ * // applyOnFailure: true || false,
277
+ * // },
278
+ * // variables: {},
279
+ * // result: {},
280
+ * // },
281
+ * // ],
282
+ * // },
283
+ * // delegation: { // AgentDelegationCapability
284
+ * // name: "STRING_VALUE",
285
+ * // description: "STRING_VALUE",
286
+ * // id: "STRING_VALUE", // required
287
+ * // agentVersion: "STRING_VALUE",
288
+ * // agentDeployment: "STRING_VALUE",
289
+ * // annotations: [
290
+ * // {// Union: only one key present
291
+ * // tag: {
292
+ * // value: "STRING_VALUE",
293
+ * // applyOnSuccess: true || false,
294
+ * // applyOnFailure: true || false,
295
+ * // },
296
+ * // comment: {
297
+ * // value: "STRING_VALUE",
298
+ * // applyOnSuccess: true || false,
299
+ * // applyOnFailure: true || false,
300
+ * // },
301
+ * // variables: {},
302
+ * // result: {},
303
+ * // },
304
+ * // ],
305
+ * // },
306
+ * // transfer: { // AgentTransferCapability
307
+ * // name: "STRING_VALUE",
308
+ * // description: "STRING_VALUE",
309
+ * // variant: "predefined" || "dynamic" || "directory",
310
+ * // context: "STRING_VALUE",
311
+ * // extension: "STRING_VALUE",
312
+ * // pipeline: { // AgentTransferPipeline
313
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
314
+ * // instructions: "STRING_VALUE",
315
+ * // },
316
+ * // annotations: [
317
+ * // {// Union: only one key present
318
+ * // tag: {
319
+ * // value: "STRING_VALUE",
320
+ * // applyOnSuccess: true || false,
321
+ * // applyOnFailure: true || false,
322
+ * // },
323
+ * // comment: {
324
+ * // value: "STRING_VALUE",
325
+ * // applyOnSuccess: true || false,
326
+ * // applyOnFailure: true || false,
327
+ * // },
328
+ * // variables: {},
329
+ * // result: {},
330
+ * // },
331
+ * // ],
332
+ * // },
333
+ * // suggestions: { // AgentSuggestionsCapability
334
+ * // name: "STRING_VALUE",
335
+ * // annotations: "<AgentToolAnnotationsList>",
336
+ * // },
337
+ * // hangup: { // AgentHangupCapability
338
+ * // name: "STRING_VALUE",
339
+ * // description: "STRING_VALUE",
340
+ * // pipeline: { // AgentHangupPipeline
341
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
342
+ * // instructions: "STRING_VALUE",
343
+ * // },
344
+ * // annotations: "<AgentToolAnnotationsList>",
345
+ * // },
346
+ * // wait: { // AgentWaitCapability
347
+ * // name: "STRING_VALUE",
348
+ * // description: "STRING_VALUE",
349
+ * // message: "STRING_VALUE",
350
+ * // annotations: "<AgentToolAnnotationsList>",
351
+ * // },
352
+ * // },
353
+ * // ],
354
+ * // variables: [ // AgentVariablesList
355
+ * // { // AgentVariable
356
+ * // name: "STRING_VALUE", // required
357
+ * // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
358
+ * // optional: true || false, // required
359
+ * // description: "STRING_VALUE",
360
+ * // },
361
+ * // ],
362
+ * // },
363
+ * // webhook: { // AgentWebhookEngine
364
+ * // url: "STRING_VALUE", // required
365
+ * // secret: "STRING_VALUE", // required
366
+ * // timeout: Number("int"),
367
+ * // },
368
+ * // sqs: { // AgentSqsEngine
369
+ * // url: "STRING_VALUE", // required
370
+ * // key: "STRING_VALUE", // required
371
+ * // secret: "STRING_VALUE", // required
372
+ * // },
373
+ * // },
374
+ * // settings: { // AgentSettings
375
+ * // pbxGroupId: "STRING_VALUE",
376
+ * // },
377
+ * // access: "<AgentAccess>",
378
+ * // createdAt: "STRING_VALUE", // required
379
+ * // createdBy: { // Actor
380
+ * // type: "user" || "api_key" || "service", // required
381
+ * // id: "STRING_VALUE", // required
382
+ * // name: "STRING_VALUE",
383
+ * // },
384
+ * // updatedAt: "STRING_VALUE",
385
+ * // updatedBy: {
386
+ * // type: "user" || "api_key" || "service", // required
387
+ * // id: "STRING_VALUE", // required
388
+ * // name: "STRING_VALUE",
389
+ * // },
390
+ * // id: "STRING_VALUE", // required
391
+ * // status: "draft" || "active", // required
392
+ * // revision: Number("int"), // required
393
+ * // latestVersion: "STRING_VALUE",
394
+ * // draftBaseVersion: "STRING_VALUE",
395
+ * // deployments: [ // AgentDeploymentsList
396
+ * // { // AgentDeployment
397
+ * // createdAt: "STRING_VALUE", // required
398
+ * // createdBy: {
399
+ * // type: "user" || "api_key" || "service", // required
400
+ * // id: "STRING_VALUE", // required
401
+ * // name: "STRING_VALUE",
402
+ * // },
403
+ * // updatedAt: "STRING_VALUE",
404
+ * // updatedBy: {
405
+ * // type: "user" || "api_key" || "service", // required
406
+ * // id: "STRING_VALUE", // required
407
+ * // name: "STRING_VALUE",
408
+ * // },
409
+ * // agentId: "STRING_VALUE", // required
410
+ * // name: "STRING_VALUE", // required
411
+ * // description: "STRING_VALUE",
412
+ * // status: "active" || "paused", // required
413
+ * // routing: [ // AgentDeploymentRoutesList // required
414
+ * // { // AgentDeploymentRoute
415
+ * // version: "STRING_VALUE", // required
416
+ * // percentage: Number("int"), // required
417
+ * // },
418
+ * // ],
419
+ * // revision: Number("int"), // required
420
+ * // },
421
+ * // ],
422
+ * // },
423
+ * // };
424
+ *
425
+ * ```
426
+ *
427
+ * @param RestoreAgentVersionToDraftCommandInput - {@link RestoreAgentVersionToDraftCommandInput}
428
+ * @returns {@link RestoreAgentVersionToDraftCommandOutput}
429
+ * @see {@link RestoreAgentVersionToDraftCommandInput} for command's `input` shape.
430
+ * @see {@link RestoreAgentVersionToDraftCommandOutput} for command's `response` shape.
431
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
432
+ *
433
+ * @throws {@link AgentNotFoundException} (client fault)
434
+ *
435
+ * @throws {@link AgentVersionNotFoundException} (client fault)
436
+ *
437
+ * @throws {@link RevisionConflictException} (client fault)
438
+ * The resource was modified concurrently; re-read it and retry with the latest revision.
439
+ *
440
+ * @throws {@link ValidationException} (client fault)
441
+ *
442
+ * @throws {@link WilmaAgentsServiceException}
443
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
444
+ *
445
+ *
446
+ * @public
447
+ */
448
+ export declare class RestoreAgentVersionToDraftCommand extends RestoreAgentVersionToDraftCommand_base {
449
+ /** @internal type navigation helper, not in runtime. */
450
+ protected static __types: {
451
+ api: {
452
+ input: RestoreAgentVersionToDraftInput;
453
+ output: RestoreAgentVersionToDraftOutput;
454
+ };
455
+ sdk: {
456
+ input: RestoreAgentVersionToDraftCommandInput;
457
+ output: RestoreAgentVersionToDraftCommandOutput;
458
+ };
459
+ };
460
+ }