@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
@@ -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,26 +40,98 @@ 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);
49
48
  * // { // PublishAgentVersionOutput
50
49
  * // version: { // AgentVersion
51
50
  * // agentId: "STRING_VALUE", // required
52
- * // version: Number("int"), // required
51
+ * // version: "STRING_VALUE", // required
52
+ * // sequence: Number("int"), // required
53
+ * // basedOnVersion: "STRING_VALUE",
54
+ * // name: "STRING_VALUE",
53
55
  * // changelog: "STRING_VALUE",
54
56
  * // definition: { // AgentDefinitionSnapshot
55
57
  * // name: "STRING_VALUE", // required
56
58
  * // description: "STRING_VALUE",
57
59
  * // category: "STRING_VALUE",
58
60
  * // picture: "STRING_VALUE",
61
+ * // channels: { // AgentChannels
62
+ * // voice: { // VoiceChannelSettings
63
+ * // greeting: "STRING_VALUE",
64
+ * // interruptions: { // VoiceInterruptionSettings
65
+ * // enabled: true || false, // required
66
+ * // minWords: Number("int"),
67
+ * // },
68
+ * // silenceTimeout: { // VoiceSilenceTimeoutSettings
69
+ * // seconds: Number("int"), // required
70
+ * // action: { // VoiceTerminateAction Union: only one key present
71
+ * // hangup: { // VoiceTerminateHangupAction
72
+ * // message: "STRING_VALUE",
73
+ * // },
74
+ * // transfer: { // VoiceTransferTarget
75
+ * // name: "STRING_VALUE", // required
76
+ * // description: "STRING_VALUE",
77
+ * // context: "STRING_VALUE", // required
78
+ * // extension: "STRING_VALUE", // required
79
+ * // },
80
+ * // },
81
+ * // },
82
+ * // maxDuration: { // VoiceMaxDurationSettings
83
+ * // seconds: Number("int"), // required
84
+ * // action: {// Union: only one key present
85
+ * // hangup: {
86
+ * // message: "STRING_VALUE",
87
+ * // },
88
+ * // transfer: {
89
+ * // name: "STRING_VALUE", // required
90
+ * // description: "STRING_VALUE",
91
+ * // context: "STRING_VALUE", // required
92
+ * // extension: "STRING_VALUE", // required
93
+ * // },
94
+ * // },
95
+ * // },
96
+ * // endCall: { // VoiceEndCallSettings
97
+ * // enabled: true || false, // required
98
+ * // phrases: "STRING_VALUE",
99
+ * // },
100
+ * // callerMetadata: { // VoiceCallerMetadataSettings
101
+ * // callerName: true || false,
102
+ * // callerNumber: true || false,
103
+ * // callerEmail: true || false,
104
+ * // callerCompany: true || false,
105
+ * // time: true || false,
106
+ * // timeZone: "STRING_VALUE",
107
+ * // },
108
+ * // },
109
+ * // chat: { // ChatChannelSettings
110
+ * // discoverable: true || false,
111
+ * // },
112
+ * // assistant: { // AssistantChannelSettings
113
+ * // default: true || false,
114
+ * // },
115
+ * // autonomous: {},
116
+ * // },
59
117
  * // engine: { // AgentEngine Union: only one key present
60
- * // llm: { // AgentLlmEngine
118
+ * // ai: { // AgentAiEngine
61
119
  * // instructions: "STRING_VALUE", // required
62
120
  * // model: "STRING_VALUE",
63
121
  * // skills: [ // AgentSkillsList
64
- * // "STRING_VALUE",
122
+ * // { // AgentSkillReference
123
+ * // id: "STRING_VALUE", // required
124
+ * // skillVersion: "STRING_VALUE",
125
+ * // access: { // AgentAccess
126
+ * // visibility: "explicit" || "organization",
127
+ * // grants: [ // AgentGrantPrincipalList
128
+ * // { // AgentGrantPrincipal Union: only one key present
129
+ * // userId: "STRING_VALUE",
130
+ * // groupId: "STRING_VALUE",
131
+ * // },
132
+ * // ],
133
+ * // },
134
+ * // },
65
135
  * // ],
66
136
  * // capabilities: [ // AgentCapabilitiesList
67
137
  * // { // AgentCapability Union: only one key present
@@ -76,50 +146,55 @@ declare const PublishAgentVersionCommand_base: {
76
146
  * // description: "STRING_VALUE", // required
77
147
  * // },
78
148
  * // predefined: { // AgentToolVariablePredefinedHandler
79
- * // description: "STRING_VALUE", // required
149
+ * // value: "STRING_VALUE", // required
80
150
  * // },
81
151
  * // },
82
152
  * // },
83
153
  * // ],
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
- * // },
154
+ * // startMessage: "STRING_VALUE",
155
+ * // pipeline: { // AgentToolPipeline
156
+ * // type: "blocking_request" || "blocking_request_guided" || "async_request" || "async_request_guided",
157
+ * // instructions: "STRING_VALUE",
158
+ * // },
159
+ * // approval: { // AgentToolApproval
160
+ * // prompt: "STRING_VALUE",
161
+ * // },
162
+ * // annotations: [ // AgentToolAnnotationsList
163
+ * // { // AgentToolAnnotation Union: only one key present
164
+ * // tag: { // AgentToolTagAnnotation
165
+ * // value: "STRING_VALUE",
166
+ * // applyOnSuccess: true || false,
167
+ * // applyOnFailure: true || false,
108
168
  * // },
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",
169
+ * // comment: { // AgentToolCommentAnnotation
170
+ * // value: "STRING_VALUE",
171
+ * // applyOnSuccess: true || false,
172
+ * // applyOnFailure: true || false,
173
+ * // },
174
+ * // variables: {},
175
+ * // result: {},
117
176
  * // },
118
- * // },
177
+ * // ],
119
178
  * // },
120
179
  * // kb: { // AgentKnowledgeBase
121
180
  * // knowledgeBaseId: "STRING_VALUE",
122
181
  * // instructions: "STRING_VALUE",
182
+ * // annotations: [
183
+ * // {// Union: only one key present
184
+ * // tag: {
185
+ * // value: "STRING_VALUE",
186
+ * // applyOnSuccess: true || false,
187
+ * // applyOnFailure: true || false,
188
+ * // },
189
+ * // comment: {
190
+ * // value: "STRING_VALUE",
191
+ * // applyOnSuccess: true || false,
192
+ * // applyOnFailure: true || false,
193
+ * // },
194
+ * // variables: {},
195
+ * // result: {},
196
+ * // },
197
+ * // ],
123
198
  * // },
124
199
  * // sandbox: { // AgentSandboxCapability Union: only one key present
125
200
  * // vercel: { // AgentVercelSandboxOptions
@@ -157,6 +232,17 @@ declare const PublishAgentVersionCommand_base: {
157
232
  * // },
158
233
  * // agent: { // AgentCallCapability
159
234
  * // agentId: "STRING_VALUE", // required
235
+ * // agentVersion: "STRING_VALUE",
236
+ * // agentDeployment: "STRING_VALUE",
237
+ * // access: {
238
+ * // visibility: "explicit" || "organization",
239
+ * // grants: [
240
+ * // {// Union: only one key present
241
+ * // userId: "STRING_VALUE",
242
+ * // groupId: "STRING_VALUE",
243
+ * // },
244
+ * // ],
245
+ * // },
160
246
  * // variables: [
161
247
  * // {
162
248
  * // name: "STRING_VALUE", // required
@@ -166,55 +252,111 @@ declare const PublishAgentVersionCommand_base: {
166
252
  * // description: "STRING_VALUE", // required
167
253
  * // },
168
254
  * // predefined: {
169
- * // description: "STRING_VALUE", // required
255
+ * // value: "STRING_VALUE", // required
170
256
  * // },
171
257
  * // },
172
258
  * // },
173
259
  * // ],
174
260
  * // },
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
- * // },
261
+ * // handover: { // AgentHandoverCapability
262
+ * // name: "STRING_VALUE",
263
+ * // description: "STRING_VALUE",
264
+ * // variant: "agent" || "service",
265
+ * // agent: "STRING_VALUE",
266
+ * // agentVersion: "STRING_VALUE",
267
+ * // agentDeployment: "STRING_VALUE",
268
+ * // service: "STRING_VALUE",
269
+ * // silent: true || false,
270
+ * // pipeline: { // AgentHandoverPipeline
271
+ * // type: "handover" || "reply_and_handover" || "reply_instructed_and_handover",
272
+ * // instructions: "STRING_VALUE",
191
273
  * // },
192
- * // allowedTools: [ // FunctionNameList
193
- * // "STRING_VALUE",
274
+ * // annotations: [
275
+ * // {// Union: only one key present
276
+ * // tag: {
277
+ * // value: "STRING_VALUE",
278
+ * // applyOnSuccess: true || false,
279
+ * // applyOnFailure: true || false,
280
+ * // },
281
+ * // comment: {
282
+ * // value: "STRING_VALUE",
283
+ * // applyOnSuccess: true || false,
284
+ * // applyOnFailure: true || false,
285
+ * // },
286
+ * // variables: {},
287
+ * // result: {},
288
+ * // },
194
289
  * // ],
195
290
  * // },
196
- * // handover: { // AgentHandoverCapability
197
- * // instructions: "STRING_VALUE",
198
- * // message: "STRING_VALUE",
199
- * // },
200
291
  * // delegation: { // AgentDelegationCapability
201
- * // agents: [ // AgentIdList
202
- * // "STRING_VALUE",
292
+ * // name: "STRING_VALUE",
293
+ * // description: "STRING_VALUE",
294
+ * // id: "STRING_VALUE", // required
295
+ * // agentVersion: "STRING_VALUE",
296
+ * // agentDeployment: "STRING_VALUE",
297
+ * // annotations: [
298
+ * // {// Union: only one key present
299
+ * // tag: {
300
+ * // value: "STRING_VALUE",
301
+ * // applyOnSuccess: true || false,
302
+ * // applyOnFailure: true || false,
303
+ * // },
304
+ * // comment: {
305
+ * // value: "STRING_VALUE",
306
+ * // applyOnSuccess: true || false,
307
+ * // applyOnFailure: true || false,
308
+ * // },
309
+ * // variables: {},
310
+ * // result: {},
311
+ * // },
203
312
  * // ],
204
- * // instructions: "STRING_VALUE",
205
313
  * // },
206
314
  * // 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
315
+ * // name: "STRING_VALUE",
316
+ * // description: "STRING_VALUE",
317
+ * // variant: "predefined" || "dynamic" || "directory",
318
+ * // context: "STRING_VALUE",
319
+ * // extension: "STRING_VALUE",
320
+ * // pipeline: { // AgentTransferPipeline
321
+ * // type: "transfer" || "reply_and_transfer" || "reply_instructed_and_transfer",
322
+ * // instructions: "STRING_VALUE",
323
+ * // },
324
+ * // annotations: [
325
+ * // {// Union: only one key present
326
+ * // tag: {
327
+ * // value: "STRING_VALUE",
328
+ * // applyOnSuccess: true || false,
329
+ * // applyOnFailure: true || false,
330
+ * // },
331
+ * // comment: {
332
+ * // value: "STRING_VALUE",
333
+ * // applyOnSuccess: true || false,
334
+ * // applyOnFailure: true || false,
335
+ * // },
336
+ * // variables: {},
337
+ * // result: {},
213
338
  * // },
214
339
  * // ],
215
- * // instructions: "STRING_VALUE",
216
340
  * // },
217
- * // suggestions: {},
341
+ * // suggestions: { // AgentSuggestionsCapability
342
+ * // name: "STRING_VALUE",
343
+ * // annotations: "<AgentToolAnnotationsList>",
344
+ * // },
345
+ * // hangup: { // AgentHangupCapability
346
+ * // name: "STRING_VALUE",
347
+ * // description: "STRING_VALUE",
348
+ * // pipeline: { // AgentHangupPipeline
349
+ * // type: "hangup" || "reply_and_hangup" || "reply_instructed_and_hangup",
350
+ * // instructions: "STRING_VALUE",
351
+ * // },
352
+ * // annotations: "<AgentToolAnnotationsList>",
353
+ * // },
354
+ * // wait: { // AgentWaitCapability
355
+ * // name: "STRING_VALUE",
356
+ * // description: "STRING_VALUE",
357
+ * // message: "STRING_VALUE",
358
+ * // annotations: "<AgentToolAnnotationsList>",
359
+ * // },
218
360
  * // },
219
361
  * // ],
220
362
  * // variables: [ // AgentVariablesList
@@ -237,90 +379,10 @@ declare const PublishAgentVersionCommand_base: {
237
379
  * // secret: "STRING_VALUE", // required
238
380
  * // },
239
381
  * // },
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
- * // ],
382
+ * // settings: { // AgentSettings
383
+ * // pbxGroupId: "STRING_VALUE",
323
384
  * // },
385
+ * // access: "<AgentAccess>",
324
386
  * // },
325
387
  * // publishedAt: "STRING_VALUE", // required
326
388
  * // publishedBy: { // Actor