@wildix/wilma-agents-client 1.0.1

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 (130) hide show
  1. package/dist-cjs/WilmaAgents.js +57 -0
  2. package/dist-cjs/WilmaAgentsClient.js +49 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/CompareAgentVersionsCommand.js +20 -0
  6. package/dist-cjs/commands/CreateAgentApiKeyCommand.js +20 -0
  7. package/dist-cjs/commands/CreateAgentCommand.js +20 -0
  8. package/dist-cjs/commands/CreateGuardrailCommand.js +20 -0
  9. package/dist-cjs/commands/DeleteAgentAliasCommand.js +20 -0
  10. package/dist-cjs/commands/DeleteAgentApiKeyCommand.js +20 -0
  11. package/dist-cjs/commands/DeleteAgentCommand.js +20 -0
  12. package/dist-cjs/commands/DeleteGuardrailCommand.js +20 -0
  13. package/dist-cjs/commands/ExecuteAgentCommand.js +20 -0
  14. package/dist-cjs/commands/GetAgentCommand.js +20 -0
  15. package/dist-cjs/commands/GetAgentVersionCommand.js +20 -0
  16. package/dist-cjs/commands/GetGuardrailCommand.js +20 -0
  17. package/dist-cjs/commands/ListAgentAliasesCommand.js +20 -0
  18. package/dist-cjs/commands/ListAgentApiKeysCommand.js +20 -0
  19. package/dist-cjs/commands/ListAgentVersionsCommand.js +20 -0
  20. package/dist-cjs/commands/ListAgentsCommand.js +20 -0
  21. package/dist-cjs/commands/ListAgentsNamesCommand.js +20 -0
  22. package/dist-cjs/commands/ListAuditRecordsCommand.js +20 -0
  23. package/dist-cjs/commands/ListGuardrailsCommand.js +20 -0
  24. package/dist-cjs/commands/PublishAgentVersionCommand.js +20 -0
  25. package/dist-cjs/commands/PutAgentAliasCommand.js +20 -0
  26. package/dist-cjs/commands/UpdateAgentCommand.js +20 -0
  27. package/dist-cjs/commands/UpdateGuardrailCommand.js +20 -0
  28. package/dist-cjs/commands/index.js +26 -0
  29. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  30. package/dist-cjs/endpoint/bdd.js +28 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  32. package/dist-cjs/extensionConfiguration.js +2 -0
  33. package/dist-cjs/index.js +13 -0
  34. package/dist-cjs/models/WilmaAgentsServiceException.js +12 -0
  35. package/dist-cjs/models/enums.js +118 -0
  36. package/dist-cjs/models/errors.js +154 -0
  37. package/dist-cjs/models/models_0.js +2 -0
  38. package/dist-cjs/runtimeConfig.browser.js +32 -0
  39. package/dist-cjs/runtimeConfig.js +41 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +41 -0
  42. package/dist-cjs/runtimeExtensions.js +12 -0
  43. package/dist-cjs/schemas/schemas_0.js +1168 -0
  44. package/dist-es/WilmaAgents.js +53 -0
  45. package/dist-es/WilmaAgentsClient.js +45 -0
  46. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  47. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  48. package/dist-es/commands/CompareAgentVersionsCommand.js +16 -0
  49. package/dist-es/commands/CreateAgentApiKeyCommand.js +16 -0
  50. package/dist-es/commands/CreateAgentCommand.js +16 -0
  51. package/dist-es/commands/CreateGuardrailCommand.js +16 -0
  52. package/dist-es/commands/DeleteAgentAliasCommand.js +16 -0
  53. package/dist-es/commands/DeleteAgentApiKeyCommand.js +16 -0
  54. package/dist-es/commands/DeleteAgentCommand.js +16 -0
  55. package/dist-es/commands/DeleteGuardrailCommand.js +16 -0
  56. package/dist-es/commands/ExecuteAgentCommand.js +16 -0
  57. package/dist-es/commands/GetAgentCommand.js +16 -0
  58. package/dist-es/commands/GetAgentVersionCommand.js +16 -0
  59. package/dist-es/commands/GetGuardrailCommand.js +16 -0
  60. package/dist-es/commands/ListAgentAliasesCommand.js +16 -0
  61. package/dist-es/commands/ListAgentApiKeysCommand.js +16 -0
  62. package/dist-es/commands/ListAgentVersionsCommand.js +16 -0
  63. package/dist-es/commands/ListAgentsCommand.js +16 -0
  64. package/dist-es/commands/ListAgentsNamesCommand.js +16 -0
  65. package/dist-es/commands/ListAuditRecordsCommand.js +16 -0
  66. package/dist-es/commands/ListGuardrailsCommand.js +16 -0
  67. package/dist-es/commands/PublishAgentVersionCommand.js +16 -0
  68. package/dist-es/commands/PutAgentAliasCommand.js +16 -0
  69. package/dist-es/commands/UpdateAgentCommand.js +16 -0
  70. package/dist-es/commands/UpdateGuardrailCommand.js +16 -0
  71. package/dist-es/commands/index.js +23 -0
  72. package/dist-es/endpoint/EndpointParameters.js +12 -0
  73. package/dist-es/endpoint/bdd.js +25 -0
  74. package/dist-es/endpoint/endpointResolver.js +12 -0
  75. package/dist-es/extensionConfiguration.js +1 -0
  76. package/dist-es/index.js +8 -0
  77. package/dist-es/models/WilmaAgentsServiceException.js +8 -0
  78. package/dist-es/models/enums.js +115 -0
  79. package/dist-es/models/errors.js +141 -0
  80. package/dist-es/models/models_0.js +1 -0
  81. package/dist-es/runtimeConfig.browser.js +27 -0
  82. package/dist-es/runtimeConfig.js +36 -0
  83. package/dist-es/runtimeConfig.native.js +11 -0
  84. package/dist-es/runtimeConfig.shared.js +37 -0
  85. package/dist-es/runtimeExtensions.js +8 -0
  86. package/dist-es/schemas/schemas_0.js +1162 -0
  87. package/dist-types/WilmaAgents.d.ts +182 -0
  88. package/dist-types/WilmaAgentsClient.d.ts +192 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  91. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +91 -0
  92. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +96 -0
  93. package/dist-types/commands/CreateAgentCommand.d.ts +654 -0
  94. package/dist-types/commands/CreateGuardrailCommand.d.ts +172 -0
  95. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +82 -0
  96. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +82 -0
  97. package/dist-types/commands/DeleteAgentCommand.d.ts +77 -0
  98. package/dist-types/commands/DeleteGuardrailCommand.d.ts +80 -0
  99. package/dist-types/commands/ExecuteAgentCommand.d.ts +112 -0
  100. package/dist-types/commands/GetAgentCommand.d.ts +386 -0
  101. package/dist-types/commands/GetAgentVersionCommand.d.ts +365 -0
  102. package/dist-types/commands/GetGuardrailCommand.d.ts +135 -0
  103. package/dist-types/commands/ListAgentAliasesCommand.d.ts +99 -0
  104. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +95 -0
  105. package/dist-types/commands/ListAgentVersionsCommand.d.ts +99 -0
  106. package/dist-types/commands/ListAgentsCommand.d.ts +391 -0
  107. package/dist-types/commands/ListAgentsNamesCommand.d.ts +90 -0
  108. package/dist-types/commands/ListAuditRecordsCommand.d.ts +109 -0
  109. package/dist-types/commands/ListGuardrailsCommand.d.ts +137 -0
  110. package/dist-types/commands/PublishAgentVersionCommand.d.ts +370 -0
  111. package/dist-types/commands/PutAgentAliasCommand.d.ts +107 -0
  112. package/dist-types/commands/UpdateAgentCommand.d.ts +661 -0
  113. package/dist-types/commands/UpdateGuardrailCommand.d.ts +175 -0
  114. package/dist-types/commands/index.d.ts +23 -0
  115. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  116. package/dist-types/endpoint/bdd.d.ts +2 -0
  117. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  118. package/dist-types/extensionConfiguration.d.ts +8 -0
  119. package/dist-types/index.d.ts +23 -0
  120. package/dist-types/models/WilmaAgentsServiceException.d.ts +14 -0
  121. package/dist-types/models/enums.d.ts +301 -0
  122. package/dist-types/models/errors.d.ts +129 -0
  123. package/dist-types/models/models_0.d.ts +2186 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  125. package/dist-types/runtimeConfig.d.ts +55 -0
  126. package/dist-types/runtimeConfig.native.d.ts +54 -0
  127. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  128. package/dist-types/runtimeExtensions.d.ts +17 -0
  129. package/dist-types/schemas/schemas_0.d.ts +160 -0
  130. package/package.json +57 -0
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListAgentApiKeysInput, ListAgentApiKeysOutput } 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 ListAgentApiKeysCommand}.
14
+ */
15
+ export interface ListAgentApiKeysCommandInput extends ListAgentApiKeysInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentApiKeysCommand}.
21
+ */
22
+ export interface ListAgentApiKeysCommandOutput extends ListAgentApiKeysOutput, __MetadataBearer {
23
+ }
24
+ declare const ListAgentApiKeysCommand_base: {
25
+ new (input: ListAgentApiKeysCommandInput): import("@smithy/core/client").CommandImpl<ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAgentApiKeysCommandInput): import("@smithy/core/client").CommandImpl<ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Lists the API keys of an agent. Secrets are never returned.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WilmaAgentsClient, ListAgentApiKeysCommand } from "@wildix/wilma-agents-client"; // ES Modules import
37
+ * // const { WilmaAgentsClient, ListAgentApiKeysCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
38
+ * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
39
+ * const config = {}; // type is WilmaAgentsClientConfig
40
+ * const client = new WilmaAgentsClient(config);
41
+ * const input = { // ListAgentApiKeysInput
42
+ * company: "STRING_VALUE",
43
+ * agentId: "STRING_VALUE", // required
44
+ * };
45
+ * const command = new ListAgentApiKeysCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListAgentApiKeysOutput
48
+ * // keys: [ // AgentApiKeysList // required
49
+ * // { // AgentApiKey
50
+ * // id: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE",
52
+ * // prefix: "STRING_VALUE", // required
53
+ * // createdAt: "STRING_VALUE", // required
54
+ * // createdBy: { // Actor
55
+ * // type: "user" || "api_key" || "service", // required
56
+ * // id: "STRING_VALUE", // required
57
+ * // name: "STRING_VALUE",
58
+ * // },
59
+ * // expiresAt: "STRING_VALUE",
60
+ * // lastUsedAt: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListAgentApiKeysCommandInput - {@link ListAgentApiKeysCommandInput}
68
+ * @returns {@link ListAgentApiKeysCommandOutput}
69
+ * @see {@link ListAgentApiKeysCommandInput} for command's `input` shape.
70
+ * @see {@link ListAgentApiKeysCommandOutput} for command's `response` shape.
71
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
72
+ *
73
+ * @throws {@link AgentNotFoundException} (client fault)
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ *
77
+ * @throws {@link WilmaAgentsServiceException}
78
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class ListAgentApiKeysCommand extends ListAgentApiKeysCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: ListAgentApiKeysInput;
88
+ output: ListAgentApiKeysOutput;
89
+ };
90
+ sdk: {
91
+ input: ListAgentApiKeysCommandInput;
92
+ output: ListAgentApiKeysCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListAgentVersionsInput, ListAgentVersionsOutput } 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 ListAgentVersionsCommand}.
14
+ */
15
+ export interface ListAgentVersionsCommandInput extends ListAgentVersionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentVersionsCommand}.
21
+ */
22
+ export interface ListAgentVersionsCommandOutput extends ListAgentVersionsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListAgentVersionsCommand_base: {
25
+ new (input: ListAgentVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListAgentVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Lists the published versions of an agent, newest first.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WilmaAgentsClient, ListAgentVersionsCommand } from "@wildix/wilma-agents-client"; // ES Modules import
37
+ * // const { WilmaAgentsClient, ListAgentVersionsCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
38
+ * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
39
+ * const config = {}; // type is WilmaAgentsClientConfig
40
+ * const client = new WilmaAgentsClient(config);
41
+ * const input = { // ListAgentVersionsInput
42
+ * company: "STRING_VALUE",
43
+ * agentId: "STRING_VALUE", // required
44
+ * limit: Number("int"),
45
+ * nextToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListAgentVersionsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListAgentVersionsOutput
50
+ * // versions: [ // AgentVersionInfoList // required
51
+ * // { // AgentVersionInfo
52
+ * // agentId: "STRING_VALUE", // required
53
+ * // version: Number("int"), // required
54
+ * // changelog: "STRING_VALUE",
55
+ * // publishedAt: "STRING_VALUE", // required
56
+ * // publishedBy: { // Actor
57
+ * // type: "user" || "api_key" || "service", // required
58
+ * // id: "STRING_VALUE", // required
59
+ * // name: "STRING_VALUE",
60
+ * // },
61
+ * // aliases: [ // AliasNamesList
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // },
65
+ * // ],
66
+ * // nextToken: "STRING_VALUE",
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param ListAgentVersionsCommandInput - {@link ListAgentVersionsCommandInput}
72
+ * @returns {@link ListAgentVersionsCommandOutput}
73
+ * @see {@link ListAgentVersionsCommandInput} for command's `input` shape.
74
+ * @see {@link ListAgentVersionsCommandOutput} for command's `response` shape.
75
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
76
+ *
77
+ * @throws {@link AgentNotFoundException} (client fault)
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ *
81
+ * @throws {@link WilmaAgentsServiceException}
82
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class ListAgentVersionsCommand extends ListAgentVersionsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListAgentVersionsInput;
92
+ output: ListAgentVersionsOutput;
93
+ };
94
+ sdk: {
95
+ input: ListAgentVersionsCommandInput;
96
+ output: ListAgentVersionsCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,391 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListAgentsInput, ListAgentsOutput } 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 ListAgentsCommand}.
14
+ */
15
+ export interface ListAgentsCommandInput extends ListAgentsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentsCommand}.
21
+ */
22
+ export interface ListAgentsCommandOutput extends ListAgentsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListAgentsCommand_base: {
25
+ new (input: ListAgentsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentsCommandInput, ListAgentsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListAgentsCommandInput]): import("@smithy/core/client").CommandImpl<ListAgentsCommandInput, ListAgentsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Retrieves a paginated list of agents for the specified company.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WilmaAgentsClient, ListAgentsCommand } from "@wildix/wilma-agents-client"; // ES Modules import
37
+ * // const { WilmaAgentsClient, ListAgentsCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
38
+ * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
39
+ * const config = {}; // type is WilmaAgentsClientConfig
40
+ * const client = new WilmaAgentsClient(config);
41
+ * const input = { // ListAgentsInput
42
+ * company: "STRING_VALUE",
43
+ * channel: "assistant" || "chat" || "voice" || "api",
44
+ * status: "draft" || "active" || "archived",
45
+ * search: "STRING_VALUE",
46
+ * limit: Number("int"),
47
+ * nextToken: "STRING_VALUE",
48
+ * };
49
+ * const command = new ListAgentsCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // ListAgentsOutput
52
+ * // agents: [ // AgentsList // required
53
+ * // { // Agent
54
+ * // name: "STRING_VALUE", // required
55
+ * // description: "STRING_VALUE",
56
+ * // category: "STRING_VALUE",
57
+ * // picture: "STRING_VALUE",
58
+ * // engine: { // AgentEngine Union: only one key present
59
+ * // llm: { // AgentLlmEngine
60
+ * // instructions: "STRING_VALUE", // required
61
+ * // model: "STRING_VALUE",
62
+ * // skills: [ // AgentSkillsList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // capabilities: [ // AgentCapabilitiesList
66
+ * // { // AgentCapability Union: only one key present
67
+ * // tool: { // AgentTool
68
+ * // id: "STRING_VALUE", // required
69
+ * // variables: [ // AgentToolVariablesList
70
+ * // { // AgentToolVariable
71
+ * // name: "STRING_VALUE", // required
72
+ * // handler: { // AgentToolVariableHandler Union: only one key present
73
+ * // auto: {},
74
+ * // guided: { // AgentToolVariableGuidedHandler
75
+ * // description: "STRING_VALUE", // required
76
+ * // },
77
+ * // predefined: { // AgentToolVariablePredefinedHandler
78
+ * // description: "STRING_VALUE", // required
79
+ * // },
80
+ * // },
81
+ * // },
82
+ * // ],
83
+ * // },
84
+ * // function: { // AgentFunctionTool
85
+ * // name: "STRING_VALUE", // required
86
+ * // description: "STRING_VALUE",
87
+ * // parameters: "DOCUMENT_VALUE",
88
+ * // integration: { // FunctionIntegration Union: only one key present
89
+ * // webhook: { // FunctionWebhookIntegration
90
+ * // url: "STRING_VALUE", // required
91
+ * // method: "get" || "post" || "put" || "delete" || "patch",
92
+ * // async: true || false,
93
+ * // authorization: { // WebhookAuthorization Union: only one key present
94
+ * // bearer: { // WebhookAuthorizationBearer
95
+ * // token: "STRING_VALUE", // required
96
+ * // },
97
+ * // basic: { // WebhookAuthorizationBasic
98
+ * // username: "STRING_VALUE", // required
99
+ * // password: "STRING_VALUE", // required
100
+ * // },
101
+ * // oauth: { // WebhookAuthorizationOAuth
102
+ * // clientId: "STRING_VALUE", // required
103
+ * // clientSecret: "STRING_VALUE", // required
104
+ * // endpointUrl: "STRING_VALUE", // required
105
+ * // scope: "STRING_VALUE",
106
+ * // },
107
+ * // },
108
+ * // headers: [ // WebhookHeadersList
109
+ * // { // WebhookHeader
110
+ * // name: "STRING_VALUE", // required
111
+ * // value: "STRING_VALUE", // required
112
+ * // },
113
+ * // ],
114
+ * // timeout: Number("int"),
115
+ * // parameters: "DOCUMENT_VALUE",
116
+ * // },
117
+ * // },
118
+ * // },
119
+ * // kb: { // AgentKnowledgeBase
120
+ * // knowledgeBaseId: "STRING_VALUE",
121
+ * // instructions: "STRING_VALUE",
122
+ * // },
123
+ * // sandbox: { // AgentSandboxCapability Union: only one key present
124
+ * // vercel: { // AgentVercelSandboxOptions
125
+ * // vcpus: Number("int"),
126
+ * // network: "allow-all" || "deny-all" || "allowlist",
127
+ * // allowedDomains: [ // DomainNameList
128
+ * // "STRING_VALUE",
129
+ * // ],
130
+ * // },
131
+ * // snapshot: { // AgentSnapshotSandboxOptions
132
+ * // snapshotId: "STRING_VALUE", // required
133
+ * // network: "allow-all" || "deny-all" || "allowlist",
134
+ * // allowedDomains: [
135
+ * // "STRING_VALUE",
136
+ * // ],
137
+ * // vcpus: Number("int"),
138
+ * // },
139
+ * // },
140
+ * // webSearch: { // AgentWebSearchCapability
141
+ * // contextSize: "low" || "medium" || "high",
142
+ * // allowedDomains: [
143
+ * // "STRING_VALUE",
144
+ * // ],
145
+ * // userLocation: { // WebSearchUserLocation
146
+ * // country: "STRING_VALUE",
147
+ * // region: "STRING_VALUE",
148
+ * // city: "STRING_VALUE",
149
+ * // timezone: "STRING_VALUE",
150
+ * // },
151
+ * // },
152
+ * // webFetch: { // AgentWebFetchCapability
153
+ * // allowedDomains: [
154
+ * // "STRING_VALUE",
155
+ * // ],
156
+ * // },
157
+ * // agent: { // AgentCallCapability
158
+ * // agentId: "STRING_VALUE", // required
159
+ * // variables: [
160
+ * // {
161
+ * // name: "STRING_VALUE", // required
162
+ * // handler: {// Union: only one key present
163
+ * // auto: {},
164
+ * // guided: {
165
+ * // description: "STRING_VALUE", // required
166
+ * // },
167
+ * // predefined: {
168
+ * // description: "STRING_VALUE", // required
169
+ * // },
170
+ * // },
171
+ * // },
172
+ * // ],
173
+ * // },
174
+ * // mcp: { // AgentMcpServerCapability
175
+ * // url: "STRING_VALUE", // required
176
+ * // authorization: {// Union: only one key present
177
+ * // bearer: {
178
+ * // token: "STRING_VALUE", // required
179
+ * // },
180
+ * // basic: {
181
+ * // username: "STRING_VALUE", // required
182
+ * // password: "STRING_VALUE", // required
183
+ * // },
184
+ * // oauth: {
185
+ * // clientId: "STRING_VALUE", // required
186
+ * // clientSecret: "STRING_VALUE", // required
187
+ * // endpointUrl: "STRING_VALUE", // required
188
+ * // scope: "STRING_VALUE",
189
+ * // },
190
+ * // },
191
+ * // allowedTools: [ // FunctionNameList
192
+ * // "STRING_VALUE",
193
+ * // ],
194
+ * // },
195
+ * // handover: { // AgentHandoverCapability
196
+ * // instructions: "STRING_VALUE",
197
+ * // message: "STRING_VALUE",
198
+ * // },
199
+ * // delegation: { // AgentDelegationCapability
200
+ * // agents: [ // AgentIdList
201
+ * // "STRING_VALUE",
202
+ * // ],
203
+ * // instructions: "STRING_VALUE",
204
+ * // },
205
+ * // transfer: { // AgentTransferCapability
206
+ * // targets: [ // VoiceTransferTargetsList // required
207
+ * // { // VoiceTransferTarget
208
+ * // name: "STRING_VALUE", // required
209
+ * // description: "STRING_VALUE",
210
+ * // context: "STRING_VALUE", // required
211
+ * // extension: "STRING_VALUE", // required
212
+ * // },
213
+ * // ],
214
+ * // instructions: "STRING_VALUE",
215
+ * // },
216
+ * // suggestions: {},
217
+ * // },
218
+ * // ],
219
+ * // variables: [ // AgentVariablesList
220
+ * // { // AgentVariable
221
+ * // name: "STRING_VALUE", // required
222
+ * // type: "string" || "number" || "boolean" || "string_array" || "number_array", // required
223
+ * // optional: true || false, // required
224
+ * // description: "STRING_VALUE",
225
+ * // },
226
+ * // ],
227
+ * // },
228
+ * // webhook: { // AgentWebhookEngine
229
+ * // url: "STRING_VALUE", // required
230
+ * // secret: "STRING_VALUE", // required
231
+ * // timeout: Number("int"),
232
+ * // },
233
+ * // sqs: { // AgentSqsEngine
234
+ * // url: "STRING_VALUE", // required
235
+ * // key: "STRING_VALUE", // required
236
+ * // secret: "STRING_VALUE", // required
237
+ * // },
238
+ * // },
239
+ * // channels: { // AgentChannels
240
+ * // assistant: { // AssistantChannelSettings
241
+ * // enabled: true || false, // required
242
+ * // default: true || false,
243
+ * // },
244
+ * // chat: { // ChatChannelSettings
245
+ * // enabled: true || false, // required
246
+ * // discoverable: true || false,
247
+ * // pbxGroupId: "STRING_VALUE",
248
+ * // welcomeMessage: "STRING_VALUE",
249
+ * // },
250
+ * // voice: { // VoiceChannelSettings
251
+ * // enabled: true || false, // required
252
+ * // language: "STRING_VALUE", // required
253
+ * // synthesis: { // VoiceSynthesisSettings
254
+ * // provider: "elevenlabs" || "google", // required
255
+ * // voiceId: "STRING_VALUE", // required
256
+ * // speed: Number("float"),
257
+ * // },
258
+ * // greeting: "STRING_VALUE",
259
+ * // interruptions: { // VoiceInterruptionSettings
260
+ * // enabled: true || false, // required
261
+ * // minWords: Number("int"),
262
+ * // },
263
+ * // silenceTimeout: { // VoiceSilenceTimeoutSettings
264
+ * // seconds: Number("int"), // required
265
+ * // action: { // VoiceTerminateAction Union: only one key present
266
+ * // hangup: { // VoiceTerminateHangupAction
267
+ * // message: "STRING_VALUE",
268
+ * // },
269
+ * // transfer: {
270
+ * // name: "STRING_VALUE", // required
271
+ * // description: "STRING_VALUE",
272
+ * // context: "STRING_VALUE", // required
273
+ * // extension: "STRING_VALUE", // required
274
+ * // },
275
+ * // },
276
+ * // },
277
+ * // maxDuration: { // VoiceMaxDurationSettings
278
+ * // seconds: Number("int"), // required
279
+ * // action: {// Union: only one key present
280
+ * // hangup: {
281
+ * // message: "STRING_VALUE",
282
+ * // },
283
+ * // transfer: {
284
+ * // name: "STRING_VALUE", // required
285
+ * // description: "STRING_VALUE",
286
+ * // context: "STRING_VALUE", // required
287
+ * // extension: "STRING_VALUE", // required
288
+ * // },
289
+ * // },
290
+ * // },
291
+ * // endCall: { // VoiceEndCallSettings
292
+ * // enabled: true || false, // required
293
+ * // phrases: "STRING_VALUE",
294
+ * // },
295
+ * // callerMetadata: { // VoiceCallerMetadataSettings
296
+ * // callerName: true || false,
297
+ * // callerNumber: true || false,
298
+ * // callerEmail: true || false,
299
+ * // callerCompany: true || false,
300
+ * // time: true || false,
301
+ * // timeZone: "STRING_VALUE",
302
+ * // },
303
+ * // },
304
+ * // api: { // ApiChannelSettings
305
+ * // enabled: true || false, // required
306
+ * // },
307
+ * // },
308
+ * // guardrails: [ // GuardrailIdList
309
+ * // "STRING_VALUE",
310
+ * // ],
311
+ * // access: { // AgentAccess
312
+ * // visibility: "explicit" || "organization",
313
+ * // grants: [ // AgentGrantList
314
+ * // { // AgentGrant
315
+ * // permission: "view" || "edit" || "use", // required
316
+ * // principal: { // AgentGrantPrincipal Union: only one key present
317
+ * // userId: "STRING_VALUE",
318
+ * // groupId: "STRING_VALUE",
319
+ * // },
320
+ * // },
321
+ * // ],
322
+ * // },
323
+ * // createdAt: "STRING_VALUE", // required
324
+ * // createdBy: { // Actor
325
+ * // type: "user" || "api_key" || "service", // required
326
+ * // id: "STRING_VALUE", // required
327
+ * // name: "STRING_VALUE",
328
+ * // },
329
+ * // updatedAt: "STRING_VALUE",
330
+ * // updatedBy: {
331
+ * // type: "user" || "api_key" || "service", // required
332
+ * // id: "STRING_VALUE", // required
333
+ * // name: "STRING_VALUE",
334
+ * // },
335
+ * // id: "STRING_VALUE", // required
336
+ * // status: "draft" || "active" || "archived", // required
337
+ * // revision: Number("int"), // required
338
+ * // latestVersion: Number("int"),
339
+ * // aliases: [ // AgentAliasesList
340
+ * // { // AgentAlias
341
+ * // name: "STRING_VALUE", // required
342
+ * // agentId: "STRING_VALUE", // required
343
+ * // description: "STRING_VALUE",
344
+ * // routing: [ // AgentAliasRoutesList // required
345
+ * // { // AgentAliasRoute
346
+ * // version: Number("int"), // required
347
+ * // weight: Number("int"), // required
348
+ * // },
349
+ * // ],
350
+ * // updatedAt: "STRING_VALUE", // required
351
+ * // updatedBy: {
352
+ * // type: "user" || "api_key" || "service", // required
353
+ * // id: "STRING_VALUE", // required
354
+ * // name: "STRING_VALUE",
355
+ * // },
356
+ * // },
357
+ * // ],
358
+ * // },
359
+ * // ],
360
+ * // nextToken: "STRING_VALUE",
361
+ * // };
362
+ *
363
+ * ```
364
+ *
365
+ * @param ListAgentsCommandInput - {@link ListAgentsCommandInput}
366
+ * @returns {@link ListAgentsCommandOutput}
367
+ * @see {@link ListAgentsCommandInput} for command's `input` shape.
368
+ * @see {@link ListAgentsCommandOutput} for command's `response` shape.
369
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
370
+ *
371
+ * @throws {@link ValidationException} (client fault)
372
+ *
373
+ * @throws {@link WilmaAgentsServiceException}
374
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
375
+ *
376
+ *
377
+ * @public
378
+ */
379
+ export declare class ListAgentsCommand extends ListAgentsCommand_base {
380
+ /** @internal type navigation helper, not in runtime. */
381
+ protected static __types: {
382
+ api: {
383
+ input: ListAgentsInput;
384
+ output: ListAgentsOutput;
385
+ };
386
+ sdk: {
387
+ input: ListAgentsCommandInput;
388
+ output: ListAgentsCommandOutput;
389
+ };
390
+ };
391
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListAgentsNamesInput, ListAgentsNamesOutput } 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 ListAgentsNamesCommand}.
14
+ */
15
+ export interface ListAgentsNamesCommandInput extends ListAgentsNamesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAgentsNamesCommand}.
21
+ */
22
+ export interface ListAgentsNamesCommandOutput extends ListAgentsNamesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListAgentsNamesCommand_base: {
25
+ new (input: ListAgentsNamesCommandInput): import("@smithy/core/client").CommandImpl<ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListAgentsNamesCommandInput]): import("@smithy/core/client").CommandImpl<ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Retrieves a lightweight list of agent names and basic information for the specified company.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WilmaAgentsClient, ListAgentsNamesCommand } from "@wildix/wilma-agents-client"; // ES Modules import
37
+ * // const { WilmaAgentsClient, ListAgentsNamesCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
38
+ * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
39
+ * const config = {}; // type is WilmaAgentsClientConfig
40
+ * const client = new WilmaAgentsClient(config);
41
+ * const input = { // ListAgentsNamesInput
42
+ * company: "STRING_VALUE",
43
+ * channel: "assistant" || "chat" || "voice" || "api",
44
+ * };
45
+ * const command = new ListAgentsNamesCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListAgentsNamesOutput
48
+ * // agents: [ // AgentsInfoList // required
49
+ * // { // AgentInfo
50
+ * // id: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // category: "STRING_VALUE",
53
+ * // status: "draft" || "active" || "archived", // required
54
+ * // channels: [ // ChannelTypeList
55
+ * // "assistant" || "chat" || "voice" || "api",
56
+ * // ],
57
+ * // latestVersion: Number("int"),
58
+ * // },
59
+ * // ],
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListAgentsNamesCommandInput - {@link ListAgentsNamesCommandInput}
65
+ * @returns {@link ListAgentsNamesCommandOutput}
66
+ * @see {@link ListAgentsNamesCommandInput} for command's `input` shape.
67
+ * @see {@link ListAgentsNamesCommandOutput} for command's `response` shape.
68
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ *
72
+ * @throws {@link WilmaAgentsServiceException}
73
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class ListAgentsNamesCommand extends ListAgentsNamesCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: ListAgentsNamesInput;
83
+ output: ListAgentsNamesOutput;
84
+ };
85
+ sdk: {
86
+ input: ListAgentsNamesCommandInput;
87
+ output: ListAgentsNamesCommandOutput;
88
+ };
89
+ };
90
+ }