@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
@@ -11,11 +11,57 @@ export declare const AgentVisibility: {
11
11
  * Everyone in the organization can use the agent.
12
12
  */
13
13
  readonly ORGANIZATION: "organization";
14
+ /**
15
+ * Anyone, including people outside the organization and with no account at all: the agent is served to unauthenticated callers, and its AgentInfo can be read without a token (GetAgent on wilma-assistant). `grants` are ignored. Set this only for an agent meant to face the public — it can be reached by anyone who learns its id.
16
+ */
17
+ readonly PUBLIC: "public";
14
18
  };
15
19
  /**
16
20
  * @public
17
21
  */
18
22
  export type AgentVisibility = (typeof AgentVisibility)[keyof typeof AgentVisibility];
23
+ /**
24
+ * @public
25
+ * @enum
26
+ */
27
+ export declare const VoicePronunciationEncoding: {
28
+ /**
29
+ * A respelling substituted into the text before it reaches the provider. The only encoding version 1 applies.
30
+ */
31
+ readonly ALIAS: "alias";
32
+ /**
33
+ * Phonetic transcription. Declared so IPA can be enabled per provider later; ignored by the runtime today.
34
+ */
35
+ readonly IPA: "ipa";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type VoicePronunciationEncoding = (typeof VoicePronunciationEncoding)[keyof typeof VoicePronunciationEncoding];
41
+ /**
42
+ * @public
43
+ * @enum
44
+ */
45
+ export declare const VoiceSpeechProvider: {
46
+ readonly AMAZON_POLLY: "amazon_polly";
47
+ readonly ELEVENLABS: "elevenlabs";
48
+ readonly GOOGLE: "google";
49
+ };
50
+ /**
51
+ * @public
52
+ */
53
+ export type VoiceSpeechProvider = (typeof VoiceSpeechProvider)[keyof typeof VoiceSpeechProvider];
54
+ /**
55
+ * @public
56
+ * @enum
57
+ */
58
+ export declare const VoiceTranscriptionVendor: {
59
+ readonly AWS: "aws";
60
+ };
61
+ /**
62
+ * @public
63
+ */
64
+ export type VoiceTranscriptionVendor = (typeof VoiceTranscriptionVendor)[keyof typeof VoiceTranscriptionVendor];
19
65
  /**
20
66
  * @public
21
67
  * @enum
@@ -29,6 +75,32 @@ export declare const ActorType: {
29
75
  * @public
30
76
  */
31
77
  export type ActorType = (typeof ActorType)[keyof typeof ActorType];
78
+ /**
79
+ * @public
80
+ * @enum
81
+ */
82
+ export declare const ChannelType: {
83
+ /**
84
+ * In-app assistant (x-bees / x-hoppers / Collaboration).
85
+ */
86
+ readonly ASSISTANT: "assistant";
87
+ /**
88
+ * Bot member of chat conversations.
89
+ */
90
+ readonly CHAT: "chat";
91
+ /**
92
+ * Voice calls on the PBX.
93
+ */
94
+ readonly VOICE: "voice";
95
+ /**
96
+ * No delivery channel: runs as background tasks — invoked by other agents (call / delegation / handover), by automations or over the API.
97
+ */
98
+ readonly WORKFLOW: "workflow";
99
+ };
100
+ /**
101
+ * @public
102
+ */
103
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
32
104
  /**
33
105
  * @public
34
106
  * @enum
@@ -426,29 +498,3 @@ export declare const AgentStatus: {
426
498
  * @public
427
499
  */
428
500
  export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
429
- /**
430
- * @public
431
- * @enum
432
- */
433
- export declare const ChannelType: {
434
- /**
435
- * In-app assistant (x-bees / x-hoppers / Collaboration).
436
- */
437
- readonly ASSISTANT: "assistant";
438
- /**
439
- * Bot member of chat conversations.
440
- */
441
- readonly CHAT: "chat";
442
- /**
443
- * Voice calls on the PBX.
444
- */
445
- readonly VOICE: "voice";
446
- /**
447
- * No delivery channel: runs as background tasks — invoked by other agents (call / delegation / handover), by automations or over the API.
448
- */
449
- readonly WORKFLOW: "workflow";
450
- };
451
- /**
452
- * @public
453
- */
454
- export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];