@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
@@ -0,0 +1,120 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateAgentDeploymentInput, UpdateAgentDeploymentOutput } 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 UpdateAgentDeploymentCommand}.
14
+ */
15
+ export interface UpdateAgentDeploymentCommandInput extends UpdateAgentDeploymentInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAgentDeploymentCommand}.
21
+ */
22
+ export interface UpdateAgentDeploymentCommandOutput extends UpdateAgentDeploymentOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateAgentDeploymentCommand_base: {
25
+ new (input: UpdateAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentDeploymentCommandInput, UpdateAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentDeploymentCommandInput, UpdateAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Atomically updates deployment status or traffic allocation for new sessions. Existing sessions remain pinned to their resolved version.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaAgentsClient, UpdateAgentDeploymentCommand } from "@wildix/wilma-agents-client"; // ES Modules import
35
+ * // const { WilmaAgentsClient, UpdateAgentDeploymentCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
36
+ * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
37
+ * const config = {}; // type is WilmaAgentsClientConfig
38
+ * const client = new WilmaAgentsClient(config);
39
+ * const input = { // UpdateAgentDeploymentInput
40
+ * company: "STRING_VALUE",
41
+ * agentId: "STRING_VALUE", // required
42
+ * deploymentName: "STRING_VALUE", // required
43
+ * description: "STRING_VALUE",
44
+ * status: "active" || "paused", // required
45
+ * routing: [ // AgentDeploymentRoutesList // required
46
+ * { // AgentDeploymentRoute
47
+ * version: "STRING_VALUE", // required
48
+ * percentage: Number("int"), // required
49
+ * },
50
+ * ],
51
+ * revision: Number("int"), // required
52
+ * };
53
+ * const command = new UpdateAgentDeploymentCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // UpdateAgentDeploymentOutput
56
+ * // deployment: { // AgentDeployment
57
+ * // createdAt: "STRING_VALUE", // required
58
+ * // createdBy: { // Actor
59
+ * // type: "user" || "api_key" || "service", // required
60
+ * // id: "STRING_VALUE", // required
61
+ * // name: "STRING_VALUE",
62
+ * // },
63
+ * // updatedAt: "STRING_VALUE",
64
+ * // updatedBy: {
65
+ * // type: "user" || "api_key" || "service", // required
66
+ * // id: "STRING_VALUE", // required
67
+ * // name: "STRING_VALUE",
68
+ * // },
69
+ * // agentId: "STRING_VALUE", // required
70
+ * // name: "STRING_VALUE", // required
71
+ * // description: "STRING_VALUE",
72
+ * // status: "active" || "paused", // required
73
+ * // routing: [ // AgentDeploymentRoutesList // required
74
+ * // { // AgentDeploymentRoute
75
+ * // version: "STRING_VALUE", // required
76
+ * // percentage: Number("int"), // required
77
+ * // },
78
+ * // ],
79
+ * // revision: Number("int"), // required
80
+ * // },
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param UpdateAgentDeploymentCommandInput - {@link UpdateAgentDeploymentCommandInput}
86
+ * @returns {@link UpdateAgentDeploymentCommandOutput}
87
+ * @see {@link UpdateAgentDeploymentCommandInput} for command's `input` shape.
88
+ * @see {@link UpdateAgentDeploymentCommandOutput} for command's `response` shape.
89
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
90
+ *
91
+ * @throws {@link AgentNotFoundException} (client fault)
92
+ *
93
+ * @throws {@link AgentVersionNotFoundException} (client fault)
94
+ *
95
+ * @throws {@link AgentDeploymentNotFoundException} (client fault)
96
+ *
97
+ * @throws {@link RevisionConflictException} (client fault)
98
+ * The resource was modified concurrently; re-read it and retry with the latest revision.
99
+ *
100
+ * @throws {@link ValidationException} (client fault)
101
+ *
102
+ * @throws {@link WilmaAgentsServiceException}
103
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
104
+ *
105
+ *
106
+ * @public
107
+ */
108
+ export declare class UpdateAgentDeploymentCommand extends UpdateAgentDeploymentCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: UpdateAgentDeploymentInput;
113
+ output: UpdateAgentDeploymentOutput;
114
+ };
115
+ sdk: {
116
+ input: UpdateAgentDeploymentCommandInput;
117
+ output: UpdateAgentDeploymentCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -1,23 +1,19 @@
1
1
  export * from "./CompareAgentVersionsCommand";
2
2
  export * from "./CreateAgentApiKeyCommand";
3
3
  export * from "./CreateAgentCommand";
4
- export * from "./CreateGuardrailCommand";
5
- export * from "./DeleteAgentAliasCommand";
4
+ export * from "./CreateAgentDeploymentCommand";
6
5
  export * from "./DeleteAgentApiKeyCommand";
7
6
  export * from "./DeleteAgentCommand";
8
- export * from "./DeleteGuardrailCommand";
9
- export * from "./ExecuteAgentCommand";
7
+ export * from "./DeleteAgentDeploymentCommand";
10
8
  export * from "./GetAgentCommand";
9
+ export * from "./GetAgentDeploymentCommand";
11
10
  export * from "./GetAgentVersionCommand";
12
- export * from "./GetGuardrailCommand";
13
- export * from "./ListAgentAliasesCommand";
14
11
  export * from "./ListAgentApiKeysCommand";
12
+ export * from "./ListAgentDeploymentsCommand";
15
13
  export * from "./ListAgentVersionsCommand";
16
14
  export * from "./ListAgentsCommand";
17
15
  export * from "./ListAgentsNamesCommand";
18
- export * from "./ListAuditRecordsCommand";
19
- export * from "./ListGuardrailsCommand";
20
16
  export * from "./PublishAgentVersionCommand";
21
- export * from "./PutAgentAliasCommand";
17
+ export * from "./RestoreAgentVersionToDraftCommand";
22
18
  export * from "./UpdateAgentCommand";
23
- export * from "./UpdateGuardrailCommand";
19
+ export * from "./UpdateAgentDeploymentCommand";
@@ -1,11 +1,12 @@
1
1
  /**
2
- * Unified agent platform. A single agent configuration is deployed to multiple channels
3
- * (in-app assistant, chat conversations, voice calls, API) while keeping channel-specific
4
- * settings. Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
5
- * and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions with
6
- * alias-based routing (rollback, canary), guardrail policies, API keys and a company-wide
7
- * audit trail. Durable runtime sessions live in the companion wilma-sessions service and
8
- * skills in wilma-skills. Evaluations live in wilma-evaluations; observability in
2
+ * Unified agent platform. Each agent has a single type (voice, chat, assistant or
3
+ * autonomous) carrying the matching channel settings; autonomous agents have no
4
+ * delivery channel and are invoked by other agents or as automation triggers.
5
+ * Successor of the agent/bot configuration APIs of wim-wilma, xbees-users bots
6
+ * and wim-voicebots. Covers the agent lifecycle: draft editing, immutable versions,
7
+ * deployment traffic routing (rollback, canary) and API keys. Durable runtime sessions live in
8
+ * the companion wilma-sessions service and skills in wilma-skills. The company-wide
9
+ * audit trail lives in wilma-audit; evaluations in wilma-evaluations; observability in
9
10
  * wilma-traces; analytics in wilma-analytics.
10
11
  *
11
12
  * @packageDocumentation
@@ -1,35 +1,15 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const ActorType: {
6
- readonly API_KEY: "api_key";
7
- readonly SERVICE: "service";
8
- readonly USER: "user";
9
- };
10
- /**
11
- * @public
12
- */
13
- export type ActorType = (typeof ActorType)[keyof typeof ActorType];
14
- /**
15
- * @public
16
- * @enum
17
- */
18
- export declare const AgentGrantPermission: {
19
- readonly EDIT: "edit";
20
- readonly USE: "use";
21
- readonly VIEW: "view";
22
- };
23
- /**
24
- * @public
25
- */
26
- export type AgentGrantPermission = (typeof AgentGrantPermission)[keyof typeof AgentGrantPermission];
27
1
  /**
28
2
  * @public
29
3
  * @enum
30
4
  */
31
5
  export declare const AgentVisibility: {
6
+ /**
7
+ * Only the users and groups listed in `grants` can use the agent.
8
+ */
32
9
  readonly EXPLICIT: "explicit";
10
+ /**
11
+ * Everyone in the organization can use the agent.
12
+ */
33
13
  readonly ORGANIZATION: "organization";
34
14
  };
35
15
  /**
@@ -40,262 +20,247 @@ export type AgentVisibility = (typeof AgentVisibility)[keyof typeof AgentVisibil
40
20
  * @public
41
21
  * @enum
42
22
  */
43
- export declare const SpeechProvider: {
44
- readonly ELEVENLABS: "elevenlabs";
45
- readonly GOOGLE: "google";
46
- };
47
- /**
48
- * @public
49
- */
50
- export type SpeechProvider = (typeof SpeechProvider)[keyof typeof SpeechProvider];
51
- /**
52
- * @public
53
- * @enum
54
- */
55
- export declare const WebhookMethod: {
56
- readonly DELETE: "delete";
57
- readonly GET: "get";
58
- readonly PATCH: "patch";
59
- readonly POST: "post";
60
- readonly PUT: "put";
23
+ export declare const ActorType: {
24
+ readonly API_KEY: "api_key";
25
+ readonly SERVICE: "service";
26
+ readonly USER: "user";
61
27
  };
62
28
  /**
63
29
  * @public
64
30
  */
65
- export type WebhookMethod = (typeof WebhookMethod)[keyof typeof WebhookMethod];
31
+ export type ActorType = (typeof ActorType)[keyof typeof ActorType];
66
32
  /**
67
33
  * @public
68
34
  * @enum
69
35
  */
70
- export declare const SandboxNetworkAccess: {
71
- readonly ALL: "allow-all";
72
- readonly ALLOWLIST: "allowlist";
73
- readonly NONE: "deny-all";
36
+ export declare const AgentDeploymentStatus: {
37
+ /**
38
+ * The deployment accepts new sessions.
39
+ */
40
+ readonly ACTIVE: "active";
41
+ /**
42
+ * The deployment rejects new sessions without changing its routing configuration.
43
+ */
44
+ readonly PAUSED: "paused";
74
45
  };
75
46
  /**
76
47
  * @public
77
48
  */
78
- export type SandboxNetworkAccess = (typeof SandboxNetworkAccess)[keyof typeof SandboxNetworkAccess];
49
+ export type AgentDeploymentStatus = (typeof AgentDeploymentStatus)[keyof typeof AgentDeploymentStatus];
79
50
  /**
80
51
  * @public
81
52
  * @enum
82
53
  */
83
- export declare const WebSearchContextSize: {
84
- readonly HIGH: "high";
85
- readonly LOW: "low";
86
- readonly MEDIUM: "medium";
54
+ export declare const AgentHandoverPipelineType: {
55
+ /**
56
+ * Hand over immediately without a model reply.
57
+ */
58
+ readonly HANDOVER: "handover";
59
+ /**
60
+ * Reply to the user, then hand over.
61
+ */
62
+ readonly REPLY_AND_HANDOVER: "reply_and_handover";
63
+ /**
64
+ * Reply using pipeline instructions, then hand over.
65
+ */
66
+ readonly REPLY_INSTRUCTED_AND_HANDOVER: "reply_instructed_and_handover";
87
67
  };
88
68
  /**
89
69
  * @public
90
70
  */
91
- export type WebSearchContextSize = (typeof WebSearchContextSize)[keyof typeof WebSearchContextSize];
71
+ export type AgentHandoverPipelineType = (typeof AgentHandoverPipelineType)[keyof typeof AgentHandoverPipelineType];
92
72
  /**
93
73
  * @public
94
74
  * @enum
95
75
  */
96
- export declare const AgentVariableType: {
97
- readonly BOOLEAN: "boolean";
98
- readonly NUMBER: "number";
99
- readonly NUMBER_ARRAY: "number_array";
100
- readonly STRING: "string";
101
- readonly STRING_ARRAY: "string_array";
76
+ export declare const AgentHandoverVariant: {
77
+ /**
78
+ * Hand over to another Wilma agent.
79
+ */
80
+ readonly AGENT: "agent";
81
+ /**
82
+ * Hand over to an x-bees service desk.
83
+ */
84
+ readonly SERVICE: "service";
102
85
  };
103
86
  /**
104
87
  * @public
105
88
  */
106
- export type AgentVariableType = (typeof AgentVariableType)[keyof typeof AgentVariableType];
89
+ export type AgentHandoverVariant = (typeof AgentHandoverVariant)[keyof typeof AgentHandoverVariant];
107
90
  /**
108
91
  * @public
109
92
  * @enum
110
93
  */
111
- export declare const AgentStatus: {
94
+ export declare const AgentHangupPipelineType: {
112
95
  /**
113
- * Has at least one published version.
96
+ * Hang up immediately without a model reply.
114
97
  */
115
- readonly ACTIVE: "active";
98
+ readonly HANGUP: "hangup";
116
99
  /**
117
- * Kept for history; not serving any traffic.
100
+ * Reply to the caller, then hang up.
118
101
  */
119
- readonly ARCHIVED: "archived";
102
+ readonly REPLY_AND_HANGUP: "reply_and_hangup";
120
103
  /**
121
- * Being edited; never published yet.
104
+ * Reply using pipeline instructions, then hang up.
122
105
  */
123
- readonly DRAFT: "draft";
106
+ readonly REPLY_INSTRUCTED_AND_HANGUP: "reply_instructed_and_hangup";
124
107
  };
125
108
  /**
126
109
  * @public
127
110
  */
128
- export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
111
+ export type AgentHangupPipelineType = (typeof AgentHangupPipelineType)[keyof typeof AgentHangupPipelineType];
129
112
  /**
130
113
  * @public
131
114
  * @enum
132
115
  */
133
- export declare const AgentFileScope: {
134
- /**
135
- * Shared to other agents only (not surfaced to the end user).
136
- */
137
- readonly AGENT: "agent";
138
- /**
139
- * Visible and downloadable by the end user.
140
- */
141
- readonly USER: "user";
116
+ export declare const SandboxNetworkAccess: {
117
+ readonly ALL: "allow-all";
118
+ readonly ALLOWLIST: "allowlist";
119
+ readonly NONE: "deny-all";
142
120
  };
143
121
  /**
144
122
  * @public
145
123
  */
146
- export type AgentFileScope = (typeof AgentFileScope)[keyof typeof AgentFileScope];
124
+ export type SandboxNetworkAccess = (typeof SandboxNetworkAccess)[keyof typeof SandboxNetworkAccess];
147
125
  /**
148
126
  * @public
149
127
  * @enum
150
128
  */
151
- export declare const ChannelType: {
129
+ export declare const AgentToolPipelineType: {
152
130
  /**
153
- * Programmatic execution over the API.
131
+ * Fire-and-forget; do not synthesize a reply.
154
132
  */
155
- readonly API: "api";
133
+ readonly ASYNC_REQUEST: "async_request";
156
134
  /**
157
- * In-app assistant (x-bees / x-hoppers / Collaboration).
135
+ * Fire-and-forget; synthesize a reply using `instructions`.
158
136
  */
159
- readonly ASSISTANT: "assistant";
137
+ readonly ASYNC_REQUEST_GUIDED: "async_request_guided";
160
138
  /**
161
- * Bot member of chat conversations.
139
+ * Wait for the tool; do not synthesize a reply from its result.
162
140
  */
163
- readonly CHAT: "chat";
141
+ readonly BLOCKING_REQUEST: "blocking_request";
164
142
  /**
165
- * Voice calls on the PBX.
143
+ * Wait for the tool; synthesize a reply from its result using `instructions`.
166
144
  */
167
- readonly VOICE: "voice";
145
+ readonly BLOCKING_REQUEST_GUIDED: "blocking_request_guided";
168
146
  };
169
147
  /**
170
148
  * @public
171
149
  */
172
- export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
150
+ export type AgentToolPipelineType = (typeof AgentToolPipelineType)[keyof typeof AgentToolPipelineType];
173
151
  /**
174
152
  * @public
175
153
  * @enum
176
154
  */
177
- export declare const AuditAction: {
178
- readonly ALIAS_DELETED: "alias_deleted";
179
- readonly ALIAS_UPDATED: "alias_updated";
180
- readonly API_KEY_CREATED: "api_key_created";
181
- readonly API_KEY_DELETED: "api_key_deleted";
182
- readonly ARCHIVED: "archived";
183
- readonly CREATED: "created";
184
- readonly DELETED: "deleted";
185
- readonly EVALUATION_CANCELLED: "evaluation_cancelled";
186
- readonly EVALUATION_STARTED: "evaluation_started";
187
- readonly PUBLISHED: "published";
188
- readonly UPDATED: "updated";
155
+ export declare const AgentTransferPipelineType: {
156
+ /**
157
+ * Reply to the caller, then transfer.
158
+ */
159
+ readonly REPLY_AND_TRANSFER: "reply_and_transfer";
160
+ /**
161
+ * Reply using pipeline instructions, then transfer.
162
+ */
163
+ readonly REPLY_INSTRUCTED_AND_TRANSFER: "reply_instructed_and_transfer";
164
+ /**
165
+ * Transfer immediately without a model reply.
166
+ */
167
+ readonly TRANSFER: "transfer";
189
168
  };
190
169
  /**
191
170
  * @public
192
171
  */
193
- export type AuditAction = (typeof AuditAction)[keyof typeof AuditAction];
172
+ export type AgentTransferPipelineType = (typeof AgentTransferPipelineType)[keyof typeof AgentTransferPipelineType];
194
173
  /**
195
174
  * @public
196
175
  * @enum
197
176
  */
198
- export declare const AuditResourceType: {
199
- readonly AGENT: "agent";
200
- readonly AGENT_ALIAS: "agent_alias";
201
- readonly AGENT_API_KEY: "agent_api_key";
202
- readonly AGENT_VERSION: "agent_version";
203
- readonly DATASET: "dataset";
204
- readonly EVALUATION: "evaluation";
205
- readonly EVALUATOR: "evaluator";
206
- readonly GUARDRAIL: "guardrail";
207
- readonly SKILL: "skill";
208
- readonly TEST_CASE: "test_case";
177
+ export declare const AgentTransferVariant: {
178
+ /**
179
+ * Resolve the transfer target from the PBX directory using caller speech.
180
+ */
181
+ readonly DIRECTORY: "directory";
182
+ /**
183
+ * Transfer to an extension chosen by the model at runtime.
184
+ */
185
+ readonly DYNAMIC: "dynamic";
186
+ /**
187
+ * Transfer to a fixed PBX destination (context + extension).
188
+ */
189
+ readonly PREDEFINED: "predefined";
209
190
  };
210
191
  /**
211
192
  * @public
212
193
  */
213
- export type AuditResourceType = (typeof AuditResourceType)[keyof typeof AuditResourceType];
194
+ export type AgentTransferVariant = (typeof AgentTransferVariant)[keyof typeof AgentTransferVariant];
214
195
  /**
215
196
  * @public
216
197
  * @enum
217
198
  */
218
- export declare const GuardrailContentCategory: {
219
- readonly HATE: "hate";
220
- readonly INSULTS: "insults";
221
- readonly MISCONDUCT: "misconduct";
222
- readonly PROMPT_ATTACK: "prompt_attack";
223
- readonly SEXUAL: "sexual";
224
- readonly VIOLENCE: "violence";
199
+ export declare const WebSearchContextSize: {
200
+ readonly HIGH: "high";
201
+ readonly LOW: "low";
202
+ readonly MEDIUM: "medium";
225
203
  };
226
204
  /**
227
205
  * @public
228
206
  */
229
- export type GuardrailContentCategory = (typeof GuardrailContentCategory)[keyof typeof GuardrailContentCategory];
207
+ export type WebSearchContextSize = (typeof WebSearchContextSize)[keyof typeof WebSearchContextSize];
230
208
  /**
231
209
  * @public
232
210
  * @enum
233
211
  */
234
- export declare const GuardrailFilterStrength: {
235
- readonly HIGH: "high";
236
- readonly LOW: "low";
237
- readonly MEDIUM: "medium";
238
- readonly NONE: "none";
212
+ export declare const AgentVariableType: {
213
+ readonly BOOLEAN: "boolean";
214
+ readonly NUMBER: "number";
215
+ readonly NUMBER_ARRAY: "number_array";
216
+ readonly STRING: "string";
217
+ readonly STRING_ARRAY: "string_array";
239
218
  };
240
219
  /**
241
220
  * @public
242
221
  */
243
- export type GuardrailFilterStrength = (typeof GuardrailFilterStrength)[keyof typeof GuardrailFilterStrength];
222
+ export type AgentVariableType = (typeof AgentVariableType)[keyof typeof AgentVariableType];
244
223
  /**
245
224
  * @public
246
225
  * @enum
247
226
  */
248
- export declare const GuardrailPiiAction: {
227
+ export declare const AgentStatus: {
249
228
  /**
250
- * Replace the entity with a placeholder, e.g. {EMAIL}.
229
+ * Has at least one published version.
251
230
  */
252
- readonly ANONYMIZE: "anonymize";
231
+ readonly ACTIVE: "active";
253
232
  /**
254
- * Block the message entirely.
233
+ * Being edited; never published yet.
255
234
  */
256
- readonly BLOCK: "block";
235
+ readonly DRAFT: "draft";
257
236
  };
258
237
  /**
259
238
  * @public
260
239
  */
261
- export type GuardrailPiiAction = (typeof GuardrailPiiAction)[keyof typeof GuardrailPiiAction];
240
+ export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
262
241
  /**
263
242
  * @public
264
243
  * @enum
265
244
  */
266
- export declare const GuardrailPiiEntityType: {
267
- readonly ADDRESS: "address";
268
- readonly CREDIT_CARD: "credit_card";
245
+ export declare const ChannelType: {
269
246
  /**
270
- * Custom entity matched by the regex in `pattern`.
247
+ * In-app assistant (x-bees / x-hoppers / Collaboration).
271
248
  */
272
- readonly CUSTOM: "custom";
273
- readonly EMAIL: "email";
274
- readonly IBAN: "iban";
275
- readonly NAME: "name";
276
- readonly NATIONAL_ID: "national_id";
277
- readonly PASSWORD: "password";
278
- readonly PHONE_NUMBER: "phone_number";
279
- };
280
- /**
281
- * @public
282
- */
283
- export type GuardrailPiiEntityType = (typeof GuardrailPiiEntityType)[keyof typeof GuardrailPiiEntityType];
284
- /**
285
- * @public
286
- * @enum
287
- */
288
- export declare const GuardrailAction: {
249
+ readonly ASSISTANT: "assistant";
289
250
  /**
290
- * Block the message and answer with the configured blocked message.
251
+ * No delivery channel: invoked by other agents (call / delegation / handover) or as an automation trigger, and runnable over the API.
291
252
  */
292
- readonly BLOCK: "block";
253
+ readonly AUTONOMOUS: "autonomous";
293
254
  /**
294
- * Record the violation in the trace but let the message through.
255
+ * Bot member of chat conversations.
295
256
  */
296
- readonly DETECT: "detect";
257
+ readonly CHAT: "chat";
258
+ /**
259
+ * Voice calls on the PBX.
260
+ */
261
+ readonly VOICE: "voice";
297
262
  };
298
263
  /**
299
264
  * @public
300
265
  */
301
- export type GuardrailAction = (typeof GuardrailAction)[keyof typeof GuardrailAction];
266
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];