@wildix/wilma-agents-client 1.0.28 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist-cjs/WilmaAgents.js +6 -0
  2. package/dist-cjs/commands/DeletePronunciationDictionaryCommand.js +20 -0
  3. package/dist-cjs/commands/ListPronunciationDictionariesCommand.js +20 -0
  4. package/dist-cjs/commands/PutPronunciationDictionaryCommand.js +20 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/models/enums.js +20 -7
  7. package/dist-cjs/schemas/schemas_0.js +231 -76
  8. package/dist-es/WilmaAgents.js +6 -0
  9. package/dist-es/commands/DeletePronunciationDictionaryCommand.js +16 -0
  10. package/dist-es/commands/ListPronunciationDictionariesCommand.js +16 -0
  11. package/dist-es/commands/PutPronunciationDictionaryCommand.js +16 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/models/enums.js +19 -6
  14. package/dist-es/schemas/schemas_0.js +228 -73
  15. package/dist-types/WilmaAgents.d.ts +25 -3
  16. package/dist-types/WilmaAgentsClient.d.ts +8 -5
  17. package/dist-types/commands/CreateAgentCommand.d.ts +212 -30
  18. package/dist-types/commands/DeletePronunciationDictionaryCommand.d.ts +82 -0
  19. package/dist-types/commands/GetAgentCommand.d.ts +106 -15
  20. package/dist-types/commands/GetAgentVersionCommand.d.ts +106 -15
  21. package/dist-types/commands/ListAgentsCommand.d.ts +106 -15
  22. package/dist-types/commands/ListAgentsNamesCommand.d.ts +16 -0
  23. package/dist-types/commands/ListPronunciationDictionariesCommand.d.ts +103 -0
  24. package/dist-types/commands/PublishAgentVersionCommand.d.ts +106 -15
  25. package/dist-types/commands/PutPronunciationDictionaryCommand.d.ts +117 -0
  26. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +106 -15
  27. package/dist-types/commands/UpdateAgentCommand.d.ts +212 -30
  28. package/dist-types/commands/index.d.ts +3 -0
  29. package/dist-types/index.d.ts +3 -3
  30. package/dist-types/models/enums.d.ts +72 -26
  31. package/dist-types/models/models_0.d.ts +620 -40
  32. package/dist-types/schemas/schemas_0.d.ts +18 -0
  33. package/package.json +2 -2
@@ -4,6 +4,7 @@ import { type CreateAgentApiKeyCommandInput, type CreateAgentApiKeyCommandOutput
4
4
  import { type CreateAgentCommandInput, type CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
5
5
  import { type DeleteAgentApiKeyCommandInput, type DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
6
6
  import { type DeleteAgentCommandInput, type DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
7
+ import { type DeletePronunciationDictionaryCommandInput, type DeletePronunciationDictionaryCommandOutput } from "./commands/DeletePronunciationDictionaryCommand";
7
8
  import { type GetAgentCommandInput, type GetAgentCommandOutput } from "./commands/GetAgentCommand";
8
9
  import { type GetAgentDeploymentCommandInput, type GetAgentDeploymentCommandOutput } from "./commands/GetAgentDeploymentCommand";
9
10
  import { type GetAgentVersionCommandInput, type GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
@@ -11,8 +12,10 @@ import { type ListAgentApiKeysCommandInput, type ListAgentApiKeysCommandOutput }
11
12
  import { type ListAgentsCommandInput, type ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
12
13
  import { type ListAgentsNamesCommandInput, type ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
13
14
  import { type ListAgentVersionsCommandInput, type ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
15
+ import { type ListPronunciationDictionariesCommandInput, type ListPronunciationDictionariesCommandOutput } from "./commands/ListPronunciationDictionariesCommand";
14
16
  import { type PublishAgentVersionCommandInput, type PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
15
17
  import { type PutAgentDeploymentCommandInput, type PutAgentDeploymentCommandOutput } from "./commands/PutAgentDeploymentCommand";
18
+ import { type PutPronunciationDictionaryCommandInput, type PutPronunciationDictionaryCommandOutput } from "./commands/PutPronunciationDictionaryCommand";
16
19
  import { type ResetAgentDeploymentCommandInput, type ResetAgentDeploymentCommandOutput } from "./commands/ResetAgentDeploymentCommand";
17
20
  import { type RestoreAgentVersionToDraftCommandInput, type RestoreAgentVersionToDraftCommandOutput } from "./commands/RestoreAgentVersionToDraftCommand";
18
21
  import { type UpdateAgentCommandInput, type UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
@@ -48,6 +51,12 @@ export interface WilmaAgents {
48
51
  deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentApiKeyCommandOutput>;
49
52
  deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
50
53
  deleteAgentApiKey(args: DeleteAgentApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentApiKeyCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link DeletePronunciationDictionaryCommand}
56
+ */
57
+ deletePronunciationDictionary(args: DeletePronunciationDictionaryCommandInput, options?: __HttpHandlerOptions): Promise<DeletePronunciationDictionaryCommandOutput>;
58
+ deletePronunciationDictionary(args: DeletePronunciationDictionaryCommandInput, cb: (err: any, data?: DeletePronunciationDictionaryCommandOutput) => void): void;
59
+ deletePronunciationDictionary(args: DeletePronunciationDictionaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePronunciationDictionaryCommandOutput) => void): void;
51
60
  /**
52
61
  * @see {@link GetAgentCommand}
53
62
  */
@@ -92,6 +101,13 @@ export interface WilmaAgents {
92
101
  listAgentVersions(args: ListAgentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentVersionsCommandOutput>;
93
102
  listAgentVersions(args: ListAgentVersionsCommandInput, cb: (err: any, data?: ListAgentVersionsCommandOutput) => void): void;
94
103
  listAgentVersions(args: ListAgentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentVersionsCommandOutput) => void): void;
104
+ /**
105
+ * @see {@link ListPronunciationDictionariesCommand}
106
+ */
107
+ listPronunciationDictionaries(): Promise<ListPronunciationDictionariesCommandOutput>;
108
+ listPronunciationDictionaries(args: ListPronunciationDictionariesCommandInput, options?: __HttpHandlerOptions): Promise<ListPronunciationDictionariesCommandOutput>;
109
+ listPronunciationDictionaries(args: ListPronunciationDictionariesCommandInput, cb: (err: any, data?: ListPronunciationDictionariesCommandOutput) => void): void;
110
+ listPronunciationDictionaries(args: ListPronunciationDictionariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPronunciationDictionariesCommandOutput) => void): void;
95
111
  /**
96
112
  * @see {@link PublishAgentVersionCommand}
97
113
  */
@@ -104,6 +120,12 @@ export interface WilmaAgents {
104
120
  putAgentDeployment(args: PutAgentDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<PutAgentDeploymentCommandOutput>;
105
121
  putAgentDeployment(args: PutAgentDeploymentCommandInput, cb: (err: any, data?: PutAgentDeploymentCommandOutput) => void): void;
106
122
  putAgentDeployment(args: PutAgentDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAgentDeploymentCommandOutput) => void): void;
123
+ /**
124
+ * @see {@link PutPronunciationDictionaryCommand}
125
+ */
126
+ putPronunciationDictionary(args: PutPronunciationDictionaryCommandInput, options?: __HttpHandlerOptions): Promise<PutPronunciationDictionaryCommandOutput>;
127
+ putPronunciationDictionary(args: PutPronunciationDictionaryCommandInput, cb: (err: any, data?: PutPronunciationDictionaryCommandOutput) => void): void;
128
+ putPronunciationDictionary(args: PutPronunciationDictionaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPronunciationDictionaryCommandOutput) => void): void;
107
129
  /**
108
130
  * @see {@link ResetAgentDeploymentCommand}
109
131
  */
@@ -126,9 +148,9 @@ export interface WilmaAgents {
126
148
  /**
127
149
  * Unified agent platform covering the agent lifecycle: draft editing, immutable
128
150
  * published versions, deployment of new sessions across those versions and API keys.
129
- * Each agent serves one or more channels (voice, chat, assistant or workflow) with
130
- * per-channel settings; workflow agents have no delivery channel and run as
131
- * background tasks — invoked by other agents, by automations or over the API.
151
+ * Each agent serves one or more channels (voice, chat or assistant) with per-channel
152
+ * settings, and any agent can also run as a background task — invoked by other agents,
153
+ * by automations or over the API.
132
154
  * @public
133
155
  */
134
156
  export declare class WilmaAgents extends WilmaAgentsClient implements WilmaAgents {
@@ -10,6 +10,7 @@ import type { CreateAgentApiKeyCommandInput, CreateAgentApiKeyCommandOutput } fr
10
10
  import type { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
11
11
  import type { DeleteAgentApiKeyCommandInput, DeleteAgentApiKeyCommandOutput } from "./commands/DeleteAgentApiKeyCommand";
12
12
  import type { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "./commands/DeleteAgentCommand";
13
+ import type { DeletePronunciationDictionaryCommandInput, DeletePronunciationDictionaryCommandOutput } from "./commands/DeletePronunciationDictionaryCommand";
13
14
  import type { GetAgentCommandInput, GetAgentCommandOutput } from "./commands/GetAgentCommand";
14
15
  import type { GetAgentDeploymentCommandInput, GetAgentDeploymentCommandOutput } from "./commands/GetAgentDeploymentCommand";
15
16
  import type { GetAgentVersionCommandInput, GetAgentVersionCommandOutput } from "./commands/GetAgentVersionCommand";
@@ -17,8 +18,10 @@ import type { ListAgentApiKeysCommandInput, ListAgentApiKeysCommandOutput } from
17
18
  import type { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
18
19
  import type { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "./commands/ListAgentsNamesCommand";
19
20
  import type { ListAgentVersionsCommandInput, ListAgentVersionsCommandOutput } from "./commands/ListAgentVersionsCommand";
21
+ import type { ListPronunciationDictionariesCommandInput, ListPronunciationDictionariesCommandOutput } from "./commands/ListPronunciationDictionariesCommand";
20
22
  import type { PublishAgentVersionCommandInput, PublishAgentVersionCommandOutput } from "./commands/PublishAgentVersionCommand";
21
23
  import type { PutAgentDeploymentCommandInput, PutAgentDeploymentCommandOutput } from "./commands/PutAgentDeploymentCommand";
24
+ import type { PutPronunciationDictionaryCommandInput, PutPronunciationDictionaryCommandOutput } from "./commands/PutPronunciationDictionaryCommand";
22
25
  import type { ResetAgentDeploymentCommandInput, ResetAgentDeploymentCommandOutput } from "./commands/ResetAgentDeploymentCommand";
23
26
  import type { RestoreAgentVersionToDraftCommandInput, RestoreAgentVersionToDraftCommandOutput } from "./commands/RestoreAgentVersionToDraftCommand";
24
27
  import type { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
@@ -28,11 +31,11 @@ export { __Client };
28
31
  /**
29
32
  * @public
30
33
  */
31
- export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput | DeleteAgentApiKeyCommandInput | DeleteAgentCommandInput | GetAgentCommandInput | GetAgentDeploymentCommandInput | GetAgentVersionCommandInput | ListAgentApiKeysCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | PublishAgentVersionCommandInput | PutAgentDeploymentCommandInput | ResetAgentDeploymentCommandInput | RestoreAgentVersionToDraftCommandInput | UpdateAgentCommandInput;
34
+ export type ServiceInputTypes = CompareAgentVersionsCommandInput | CreateAgentApiKeyCommandInput | CreateAgentCommandInput | DeleteAgentApiKeyCommandInput | DeleteAgentCommandInput | DeletePronunciationDictionaryCommandInput | GetAgentCommandInput | GetAgentDeploymentCommandInput | GetAgentVersionCommandInput | ListAgentApiKeysCommandInput | ListAgentVersionsCommandInput | ListAgentsCommandInput | ListAgentsNamesCommandInput | ListPronunciationDictionariesCommandInput | PublishAgentVersionCommandInput | PutAgentDeploymentCommandInput | PutPronunciationDictionaryCommandInput | ResetAgentDeploymentCommandInput | RestoreAgentVersionToDraftCommandInput | UpdateAgentCommandInput;
32
35
  /**
33
36
  * @public
34
37
  */
35
- export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput | DeleteAgentApiKeyCommandOutput | DeleteAgentCommandOutput | GetAgentCommandOutput | GetAgentDeploymentCommandOutput | GetAgentVersionCommandOutput | ListAgentApiKeysCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | PublishAgentVersionCommandOutput | PutAgentDeploymentCommandOutput | ResetAgentDeploymentCommandOutput | RestoreAgentVersionToDraftCommandOutput | UpdateAgentCommandOutput;
38
+ export type ServiceOutputTypes = CompareAgentVersionsCommandOutput | CreateAgentApiKeyCommandOutput | CreateAgentCommandOutput | DeleteAgentApiKeyCommandOutput | DeleteAgentCommandOutput | DeletePronunciationDictionaryCommandOutput | GetAgentCommandOutput | GetAgentDeploymentCommandOutput | GetAgentVersionCommandOutput | ListAgentApiKeysCommandOutput | ListAgentVersionsCommandOutput | ListAgentsCommandOutput | ListAgentsNamesCommandOutput | ListPronunciationDictionariesCommandOutput | PublishAgentVersionCommandOutput | PutAgentDeploymentCommandOutput | PutPronunciationDictionaryCommandOutput | ResetAgentDeploymentCommandOutput | RestoreAgentVersionToDraftCommandOutput | UpdateAgentCommandOutput;
36
39
  /**
37
40
  * @public
38
41
  */
@@ -163,9 +166,9 @@ export interface WilmaAgentsClientResolvedConfig extends WilmaAgentsClientResolv
163
166
  /**
164
167
  * Unified agent platform covering the agent lifecycle: draft editing, immutable
165
168
  * published versions, deployment of new sessions across those versions and API keys.
166
- * Each agent serves one or more channels (voice, chat, assistant or workflow) with
167
- * per-channel settings; workflow agents have no delivery channel and run as
168
- * background tasks — invoked by other agents, by automations or over the API.
169
+ * Each agent serves one or more channels (voice, chat or assistant) with per-channel
170
+ * settings, and any agent can also run as a background task — invoked by other agents,
171
+ * by automations or over the API.
169
172
  * @public
170
173
  */
171
174
  export declare class WilmaAgentsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig> {