@wildix/wilma-agents-client 1.0.1 → 1.0.3

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 +356 -538
  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 +354 -535
  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 +450 -323
  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 +236 -169
  33. package/dist-types/commands/GetAgentDeploymentCommand.d.ts +106 -0
  34. package/dist-types/commands/GetAgentVersionCommand.d.ts +216 -156
  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 +6 -6
  38. package/dist-types/commands/ListAgentsCommand.d.ts +240 -173
  39. package/dist-types/commands/ListAgentsNamesCommand.d.ts +5 -7
  40. package/dist-types/commands/PublishAgentVersionCommand.d.ts +219 -158
  41. package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +460 -0
  42. package/dist-types/commands/UpdateAgentCommand.d.ts +450 -323
  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 +689 -741
  49. package/dist-types/schemas/schemas_0.d.ts +41 -61
  50. package/package.json +1 -1
  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,12 +24,10 @@ export interface PublishAgentVersionCommandOutput extends PublishAgentVersionOut
24
24
  declare const PublishAgentVersionCommand_base: {
25
25
  new (input: PublishAgentVersionCommandInput): import("@smithy/core/client").CommandImpl<PublishAgentVersionCommandInput, PublishAgentVersionCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: PublishAgentVersionCommandInput): import("@smithy/core/client").CommandImpl<PublishAgentVersionCommandInput, PublishAgentVersionCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
- * Publishes the current draft as a new immutable version. Publishing never changes what is served: point an alias at the new version (PutAgentAlias) to release it.
30
+ * Publishes the current draft as a new immutable version. Publishing never changes what is served; update a deployment separately to release it.
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -42,7 +40,8 @@ declare const PublishAgentVersionCommand_base: {
42
40
  * company: "STRING_VALUE",
43
41
  * agentId: "STRING_VALUE", // required
44
42
  * changelog: "STRING_VALUE",
45
- * revision: Number("int"),
43
+ * name: "STRING_VALUE",
44
+ * revision: Number("int"), // required
46
45
  * };
47
46
  * const command = new PublishAgentVersionCommand(input);
48
47
  * const response = await client.send(command);
@@ -50,18 +49,88 @@ declare const PublishAgentVersionCommand_base: {
50
49
  * // version: { // AgentVersion
51
50
  * // agentId: "STRING_VALUE", // required
52
51
  * // version: Number("int"), // required
52
+ * // basedOnVersion: Number("int"),
53
+ * // name: "STRING_VALUE",
53
54
  * // changelog: "STRING_VALUE",
54
55
  * // definition: { // AgentDefinitionSnapshot
55
56
  * // name: "STRING_VALUE", // required
56
57
  * // description: "STRING_VALUE",
57
58
  * // category: "STRING_VALUE",
58
59
  * // picture: "STRING_VALUE",
60
+ * // channels: { // AgentChannels
61
+ * // voice: { // VoiceChannelSettings
62
+ * // greeting: "STRING_VALUE",
63
+ * // interruptions: { // VoiceInterruptionSettings
64
+ * // enabled: true || false, // required
65
+ * // minWords: Number("int"),
66
+ * // },
67
+ * // silenceTimeout: { // VoiceSilenceTimeoutSettings
68
+ * // seconds: Number("int"), // required
69
+ * // action: { // VoiceTerminateAction Union: only one key present
70
+ * // hangup: { // VoiceTerminateHangupAction
71
+ * // message: "STRING_VALUE",
72
+ * // },
73
+ * // transfer: { // VoiceTransferTarget
74
+ * // name: "STRING_VALUE", // required
75
+ * // description: "STRING_VALUE",
76
+ * // context: "STRING_VALUE", // required
77
+ * // extension: "STRING_VALUE", // required
78
+ * // },
79
+ * // },
80
+ * // },
81
+ * // maxDuration: { // VoiceMaxDurationSettings
82
+ * // seconds: Number("int"), // required
83
+ * // action: {// Union: only one key present
84
+ * // hangup: {
85
+ * // message: "STRING_VALUE",
86
+ * // },
87
+ * // transfer: {
88
+ * // name: "STRING_VALUE", // required
89
+ * // description: "STRING_VALUE",
90
+ * // context: "STRING_VALUE", // required
91
+ * // extension: "STRING_VALUE", // required
92
+ * // },
93
+ * // },
94
+ * // },
95
+ * // endCall: { // VoiceEndCallSettings
96
+ * // enabled: true || false, // required
97
+ * // phrases: "STRING_VALUE",
98
+ * // },
99
+ * // callerMetadata: { // VoiceCallerMetadataSettings
100
+ * // callerName: true || false,
101
+ * // callerNumber: true || false,
102
+ * // callerEmail: true || false,
103
+ * // callerCompany: true || false,
104
+ * // time: true || false,
105
+ * // timeZone: "STRING_VALUE",
106
+ * // },
107
+ * // },
108
+ * // chat: { // ChatChannelSettings
109
+ * // discoverable: true || false,
110
+ * // },
111
+ * // assistant: { // AssistantChannelSettings
112
+ * // default: true || false,
113
+ * // },
114
+ * // autonomous: {},
115
+ * // },
59
116
  * // engine: { // AgentEngine Union: only one key present
60
- * // llm: { // AgentLlmEngine
117
+ * // ai: { // AgentAiEngine
61
118
  * // instructions: "STRING_VALUE", // required
62
119
  * // model: "STRING_VALUE",
63
120
  * // skills: [ // AgentSkillsList
64
- * // "STRING_VALUE",
121
+ * // { // AgentSkillReference
122
+ * // id: "STRING_VALUE", // required
123
+ * // skillVersion: Number("int"),
124
+ * // access: { // AgentAccess
125
+ * // visibility: "explicit" || "organization",
126
+ * // grants: [ // AgentGrantPrincipalList
127
+ * // { // AgentGrantPrincipal Union: only one key present
128
+ * // userId: "STRING_VALUE",
129
+ * // groupId: "STRING_VALUE",
130
+ * // },
131
+ * // ],
132
+ * // },
133
+ * // },
65
134
  * // ],
66
135
  * // capabilities: [ // AgentCapabilitiesList
67
136
  * // { // AgentCapability Union: only one key present
@@ -76,50 +145,55 @@ declare const PublishAgentVersionCommand_base: {
76
145
  * // description: "STRING_VALUE", // required
77
146
  * // },
78
147
  * // predefined: { // AgentToolVariablePredefinedHandler
79
- * // description: "STRING_VALUE", // required
148
+ * // value: "STRING_VALUE", // required
80
149
  * // },
81
150
  * // },
82
151
  * // },
83
152
  * // ],
84
- * // },
85
- * // function: { // AgentFunctionTool
86
- * // name: "STRING_VALUE", // required
87
- * // description: "STRING_VALUE",
88
- * // parameters: "DOCUMENT_VALUE",
89
- * // integration: { // FunctionIntegration Union: only one key present
90
- * // webhook: { // FunctionWebhookIntegration
91
- * // url: "STRING_VALUE", // required
92
- * // method: "get" || "post" || "put" || "delete" || "patch",
93
- * // async: true || false,
94
- * // authorization: { // WebhookAuthorization Union: only one key present
95
- * // bearer: { // WebhookAuthorizationBearer
96
- * // token: "STRING_VALUE", // required
97
- * // },
98
- * // basic: { // WebhookAuthorizationBasic
99
- * // username: "STRING_VALUE", // required
100
- * // password: "STRING_VALUE", // required
101
- * // },
102
- * // oauth: { // WebhookAuthorizationOAuth
103
- * // clientId: "STRING_VALUE", // required
104
- * // clientSecret: "STRING_VALUE", // required
105
- * // endpointUrl: "STRING_VALUE", // required
106
- * // scope: "STRING_VALUE",
107
- * // },
153
+ * // startMessage: "STRING_VALUE",
154
+ * // pipeline: { // AgentToolPipeline
155
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
156
+ * // instructions: "STRING_VALUE",
157
+ * // },
158
+ * // approval: { // AgentToolApproval
159
+ * // prompt: "STRING_VALUE",
160
+ * // },
161
+ * // annotations: [ // AgentToolAnnotationsList
162
+ * // { // AgentToolAnnotation Union: only one key present
163
+ * // tag: { // AgentToolTagAnnotation
164
+ * // value: "STRING_VALUE",
165
+ * // applyOnSuccess: true || false,
166
+ * // applyOnFailure: true || false,
108
167
  * // },
109
- * // headers: [ // WebhookHeadersList
110
- * // { // WebhookHeader
111
- * // name: "STRING_VALUE", // required
112
- * // value: "STRING_VALUE", // required
113
- * // },
114
- * // ],
115
- * // timeout: Number("int"),
116
- * // parameters: "DOCUMENT_VALUE",
168
+ * // comment: { // AgentToolCommentAnnotation
169
+ * // value: "STRING_VALUE",
170
+ * // applyOnSuccess: true || false,
171
+ * // applyOnFailure: true || false,
172
+ * // },
173
+ * // variables: {},
174
+ * // result: {},
117
175
  * // },
118
- * // },
176
+ * // ],
119
177
  * // },
120
178
  * // kb: { // AgentKnowledgeBase
121
179
  * // knowledgeBaseId: "STRING_VALUE",
122
180
  * // instructions: "STRING_VALUE",
181
+ * // annotations: [
182
+ * // {// Union: only one key present
183
+ * // tag: {
184
+ * // value: "STRING_VALUE",
185
+ * // applyOnSuccess: true || false,
186
+ * // applyOnFailure: true || false,
187
+ * // },
188
+ * // comment: {
189
+ * // value: "STRING_VALUE",
190
+ * // applyOnSuccess: true || false,
191
+ * // applyOnFailure: true || false,
192
+ * // },
193
+ * // variables: {},
194
+ * // result: {},
195
+ * // },
196
+ * // ],
123
197
  * // },
124
198
  * // sandbox: { // AgentSandboxCapability Union: only one key present
125
199
  * // vercel: { // AgentVercelSandboxOptions
@@ -157,6 +231,17 @@ declare const PublishAgentVersionCommand_base: {
157
231
  * // },
158
232
  * // agent: { // AgentCallCapability
159
233
  * // agentId: "STRING_VALUE", // required
234
+ * // agentVersion: Number("int"),
235
+ * // agentDeployment: "STRING_VALUE",
236
+ * // access: {
237
+ * // visibility: "explicit" || "organization",
238
+ * // grants: [
239
+ * // {// Union: only one key present
240
+ * // userId: "STRING_VALUE",
241
+ * // groupId: "STRING_VALUE",
242
+ * // },
243
+ * // ],
244
+ * // },
160
245
  * // variables: [
161
246
  * // {
162
247
  * // name: "STRING_VALUE", // required
@@ -166,55 +251,111 @@ declare const PublishAgentVersionCommand_base: {
166
251
  * // description: "STRING_VALUE", // required
167
252
  * // },
168
253
  * // predefined: {
169
- * // description: "STRING_VALUE", // required
254
+ * // value: "STRING_VALUE", // required
170
255
  * // },
171
256
  * // },
172
257
  * // },
173
258
  * // ],
174
259
  * // },
175
- * // mcp: { // AgentMcpServerCapability
176
- * // url: "STRING_VALUE", // required
177
- * // authorization: {// Union: only one key present
178
- * // bearer: {
179
- * // token: "STRING_VALUE", // required
180
- * // },
181
- * // basic: {
182
- * // username: "STRING_VALUE", // required
183
- * // password: "STRING_VALUE", // required
184
- * // },
185
- * // oauth: {
186
- * // clientId: "STRING_VALUE", // required
187
- * // clientSecret: "STRING_VALUE", // required
188
- * // endpointUrl: "STRING_VALUE", // required
189
- * // scope: "STRING_VALUE",
190
- * // },
260
+ * // handover: { // AgentHandoverCapability
261
+ * // name: "STRING_VALUE",
262
+ * // description: "STRING_VALUE",
263
+ * // variant: "agent" || "service",
264
+ * // agent: "STRING_VALUE",
265
+ * // agentVersion: Number("int"),
266
+ * // agentDeployment: "STRING_VALUE",
267
+ * // service: "STRING_VALUE",
268
+ * // silent: true || false,
269
+ * // pipeline: { // AgentHandoverPipeline
270
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
271
+ * // instructions: "STRING_VALUE",
191
272
  * // },
192
- * // allowedTools: [ // FunctionNameList
193
- * // "STRING_VALUE",
273
+ * // annotations: [
274
+ * // {// Union: only one key present
275
+ * // tag: {
276
+ * // value: "STRING_VALUE",
277
+ * // applyOnSuccess: true || false,
278
+ * // applyOnFailure: true || false,
279
+ * // },
280
+ * // comment: {
281
+ * // value: "STRING_VALUE",
282
+ * // applyOnSuccess: true || false,
283
+ * // applyOnFailure: true || false,
284
+ * // },
285
+ * // variables: {},
286
+ * // result: {},
287
+ * // },
194
288
  * // ],
195
289
  * // },
196
- * // handover: { // AgentHandoverCapability
197
- * // instructions: "STRING_VALUE",
198
- * // message: "STRING_VALUE",
199
- * // },
200
290
  * // delegation: { // AgentDelegationCapability
201
- * // agents: [ // AgentIdList
202
- * // "STRING_VALUE",
291
+ * // name: "STRING_VALUE",
292
+ * // description: "STRING_VALUE",
293
+ * // id: "STRING_VALUE", // required
294
+ * // agentVersion: Number("int"),
295
+ * // agentDeployment: "STRING_VALUE",
296
+ * // annotations: [
297
+ * // {// Union: only one key present
298
+ * // tag: {
299
+ * // value: "STRING_VALUE",
300
+ * // applyOnSuccess: true || false,
301
+ * // applyOnFailure: true || false,
302
+ * // },
303
+ * // comment: {
304
+ * // value: "STRING_VALUE",
305
+ * // applyOnSuccess: true || false,
306
+ * // applyOnFailure: true || false,
307
+ * // },
308
+ * // variables: {},
309
+ * // result: {},
310
+ * // },
203
311
  * // ],
204
- * // instructions: "STRING_VALUE",
205
312
  * // },
206
313
  * // transfer: { // AgentTransferCapability
207
- * // targets: [ // VoiceTransferTargetsList // required
208
- * // { // VoiceTransferTarget
209
- * // name: "STRING_VALUE", // required
210
- * // description: "STRING_VALUE",
211
- * // context: "STRING_VALUE", // required
212
- * // extension: "STRING_VALUE", // required
314
+ * // name: "STRING_VALUE",
315
+ * // description: "STRING_VALUE",
316
+ * // variant: "predefined" || "dynamic" || "directory",
317
+ * // context: "STRING_VALUE",
318
+ * // extension: "STRING_VALUE",
319
+ * // pipeline: { // AgentTransferPipeline
320
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
321
+ * // instructions: "STRING_VALUE",
322
+ * // },
323
+ * // annotations: [
324
+ * // {// Union: only one key present
325
+ * // tag: {
326
+ * // value: "STRING_VALUE",
327
+ * // applyOnSuccess: true || false,
328
+ * // applyOnFailure: true || false,
329
+ * // },
330
+ * // comment: {
331
+ * // value: "STRING_VALUE",
332
+ * // applyOnSuccess: true || false,
333
+ * // applyOnFailure: true || false,
334
+ * // },
335
+ * // variables: {},
336
+ * // result: {},
213
337
  * // },
214
338
  * // ],
215
- * // instructions: "STRING_VALUE",
216
339
  * // },
217
- * // suggestions: {},
340
+ * // suggestions: { // AgentSuggestionsCapability
341
+ * // name: "STRING_VALUE",
342
+ * // annotations: "<AgentToolAnnotationsList>",
343
+ * // },
344
+ * // hangup: { // AgentHangupCapability
345
+ * // name: "STRING_VALUE",
346
+ * // description: "STRING_VALUE",
347
+ * // pipeline: { // AgentHangupPipeline
348
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
349
+ * // instructions: "STRING_VALUE",
350
+ * // },
351
+ * // annotations: "<AgentToolAnnotationsList>",
352
+ * // },
353
+ * // wait: { // AgentWaitCapability
354
+ * // name: "STRING_VALUE",
355
+ * // description: "STRING_VALUE",
356
+ * // message: "STRING_VALUE",
357
+ * // annotations: "<AgentToolAnnotationsList>",
358
+ * // },
218
359
  * // },
219
360
  * // ],
220
361
  * // variables: [ // AgentVariablesList
@@ -237,90 +378,10 @@ declare const PublishAgentVersionCommand_base: {
237
378
  * // secret: "STRING_VALUE", // required
238
379
  * // },
239
380
  * // },
240
- * // channels: { // AgentChannels
241
- * // assistant: { // AssistantChannelSettings
242
- * // enabled: true || false, // required
243
- * // default: true || false,
244
- * // },
245
- * // chat: { // ChatChannelSettings
246
- * // enabled: true || false, // required
247
- * // discoverable: true || false,
248
- * // pbxGroupId: "STRING_VALUE",
249
- * // welcomeMessage: "STRING_VALUE",
250
- * // },
251
- * // voice: { // VoiceChannelSettings
252
- * // enabled: true || false, // required
253
- * // language: "STRING_VALUE", // required
254
- * // synthesis: { // VoiceSynthesisSettings
255
- * // provider: "elevenlabs" || "google", // required
256
- * // voiceId: "STRING_VALUE", // required
257
- * // speed: Number("float"),
258
- * // },
259
- * // greeting: "STRING_VALUE",
260
- * // interruptions: { // VoiceInterruptionSettings
261
- * // enabled: true || false, // required
262
- * // minWords: Number("int"),
263
- * // },
264
- * // silenceTimeout: { // VoiceSilenceTimeoutSettings
265
- * // seconds: Number("int"), // required
266
- * // action: { // VoiceTerminateAction Union: only one key present
267
- * // hangup: { // VoiceTerminateHangupAction
268
- * // message: "STRING_VALUE",
269
- * // },
270
- * // transfer: {
271
- * // name: "STRING_VALUE", // required
272
- * // description: "STRING_VALUE",
273
- * // context: "STRING_VALUE", // required
274
- * // extension: "STRING_VALUE", // required
275
- * // },
276
- * // },
277
- * // },
278
- * // maxDuration: { // VoiceMaxDurationSettings
279
- * // seconds: Number("int"), // required
280
- * // action: {// Union: only one key present
281
- * // hangup: {
282
- * // message: "STRING_VALUE",
283
- * // },
284
- * // transfer: {
285
- * // name: "STRING_VALUE", // required
286
- * // description: "STRING_VALUE",
287
- * // context: "STRING_VALUE", // required
288
- * // extension: "STRING_VALUE", // required
289
- * // },
290
- * // },
291
- * // },
292
- * // endCall: { // VoiceEndCallSettings
293
- * // enabled: true || false, // required
294
- * // phrases: "STRING_VALUE",
295
- * // },
296
- * // callerMetadata: { // VoiceCallerMetadataSettings
297
- * // callerName: true || false,
298
- * // callerNumber: true || false,
299
- * // callerEmail: true || false,
300
- * // callerCompany: true || false,
301
- * // time: true || false,
302
- * // timeZone: "STRING_VALUE",
303
- * // },
304
- * // },
305
- * // api: { // ApiChannelSettings
306
- * // enabled: true || false, // required
307
- * // },
308
- * // },
309
- * // guardrails: [ // GuardrailIdList
310
- * // "STRING_VALUE",
311
- * // ],
312
- * // access: { // AgentAccess
313
- * // visibility: "explicit" || "organization",
314
- * // grants: [ // AgentGrantList
315
- * // { // AgentGrant
316
- * // permission: "view" || "edit" || "use", // required
317
- * // principal: { // AgentGrantPrincipal Union: only one key present
318
- * // userId: "STRING_VALUE",
319
- * // groupId: "STRING_VALUE",
320
- * // },
321
- * // },
322
- * // ],
381
+ * // settings: { // AgentSettings
382
+ * // pbxGroupId: "STRING_VALUE",
323
383
  * // },
384
+ * // access: "<AgentAccess>",
324
385
  * // },
325
386
  * // publishedAt: "STRING_VALUE", // required
326
387
  * // publishedBy: { // Actor