@wildix/wilma-agents-client 1.0.1

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 (130) hide show
  1. package/dist-cjs/WilmaAgents.js +57 -0
  2. package/dist-cjs/WilmaAgentsClient.js +49 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/CompareAgentVersionsCommand.js +20 -0
  6. package/dist-cjs/commands/CreateAgentApiKeyCommand.js +20 -0
  7. package/dist-cjs/commands/CreateAgentCommand.js +20 -0
  8. package/dist-cjs/commands/CreateGuardrailCommand.js +20 -0
  9. package/dist-cjs/commands/DeleteAgentAliasCommand.js +20 -0
  10. package/dist-cjs/commands/DeleteAgentApiKeyCommand.js +20 -0
  11. package/dist-cjs/commands/DeleteAgentCommand.js +20 -0
  12. package/dist-cjs/commands/DeleteGuardrailCommand.js +20 -0
  13. package/dist-cjs/commands/ExecuteAgentCommand.js +20 -0
  14. package/dist-cjs/commands/GetAgentCommand.js +20 -0
  15. package/dist-cjs/commands/GetAgentVersionCommand.js +20 -0
  16. package/dist-cjs/commands/GetGuardrailCommand.js +20 -0
  17. package/dist-cjs/commands/ListAgentAliasesCommand.js +20 -0
  18. package/dist-cjs/commands/ListAgentApiKeysCommand.js +20 -0
  19. package/dist-cjs/commands/ListAgentVersionsCommand.js +20 -0
  20. package/dist-cjs/commands/ListAgentsCommand.js +20 -0
  21. package/dist-cjs/commands/ListAgentsNamesCommand.js +20 -0
  22. package/dist-cjs/commands/ListAuditRecordsCommand.js +20 -0
  23. package/dist-cjs/commands/ListGuardrailsCommand.js +20 -0
  24. package/dist-cjs/commands/PublishAgentVersionCommand.js +20 -0
  25. package/dist-cjs/commands/PutAgentAliasCommand.js +20 -0
  26. package/dist-cjs/commands/UpdateAgentCommand.js +20 -0
  27. package/dist-cjs/commands/UpdateGuardrailCommand.js +20 -0
  28. package/dist-cjs/commands/index.js +26 -0
  29. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  30. package/dist-cjs/endpoint/bdd.js +28 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  32. package/dist-cjs/extensionConfiguration.js +2 -0
  33. package/dist-cjs/index.js +13 -0
  34. package/dist-cjs/models/WilmaAgentsServiceException.js +12 -0
  35. package/dist-cjs/models/enums.js +118 -0
  36. package/dist-cjs/models/errors.js +154 -0
  37. package/dist-cjs/models/models_0.js +2 -0
  38. package/dist-cjs/runtimeConfig.browser.js +32 -0
  39. package/dist-cjs/runtimeConfig.js +41 -0
  40. package/dist-cjs/runtimeConfig.native.js +15 -0
  41. package/dist-cjs/runtimeConfig.shared.js +41 -0
  42. package/dist-cjs/runtimeExtensions.js +12 -0
  43. package/dist-cjs/schemas/schemas_0.js +1168 -0
  44. package/dist-es/WilmaAgents.js +53 -0
  45. package/dist-es/WilmaAgentsClient.js +45 -0
  46. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  47. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  48. package/dist-es/commands/CompareAgentVersionsCommand.js +16 -0
  49. package/dist-es/commands/CreateAgentApiKeyCommand.js +16 -0
  50. package/dist-es/commands/CreateAgentCommand.js +16 -0
  51. package/dist-es/commands/CreateGuardrailCommand.js +16 -0
  52. package/dist-es/commands/DeleteAgentAliasCommand.js +16 -0
  53. package/dist-es/commands/DeleteAgentApiKeyCommand.js +16 -0
  54. package/dist-es/commands/DeleteAgentCommand.js +16 -0
  55. package/dist-es/commands/DeleteGuardrailCommand.js +16 -0
  56. package/dist-es/commands/ExecuteAgentCommand.js +16 -0
  57. package/dist-es/commands/GetAgentCommand.js +16 -0
  58. package/dist-es/commands/GetAgentVersionCommand.js +16 -0
  59. package/dist-es/commands/GetGuardrailCommand.js +16 -0
  60. package/dist-es/commands/ListAgentAliasesCommand.js +16 -0
  61. package/dist-es/commands/ListAgentApiKeysCommand.js +16 -0
  62. package/dist-es/commands/ListAgentVersionsCommand.js +16 -0
  63. package/dist-es/commands/ListAgentsCommand.js +16 -0
  64. package/dist-es/commands/ListAgentsNamesCommand.js +16 -0
  65. package/dist-es/commands/ListAuditRecordsCommand.js +16 -0
  66. package/dist-es/commands/ListGuardrailsCommand.js +16 -0
  67. package/dist-es/commands/PublishAgentVersionCommand.js +16 -0
  68. package/dist-es/commands/PutAgentAliasCommand.js +16 -0
  69. package/dist-es/commands/UpdateAgentCommand.js +16 -0
  70. package/dist-es/commands/UpdateGuardrailCommand.js +16 -0
  71. package/dist-es/commands/index.js +23 -0
  72. package/dist-es/endpoint/EndpointParameters.js +12 -0
  73. package/dist-es/endpoint/bdd.js +25 -0
  74. package/dist-es/endpoint/endpointResolver.js +12 -0
  75. package/dist-es/extensionConfiguration.js +1 -0
  76. package/dist-es/index.js +8 -0
  77. package/dist-es/models/WilmaAgentsServiceException.js +8 -0
  78. package/dist-es/models/enums.js +115 -0
  79. package/dist-es/models/errors.js +141 -0
  80. package/dist-es/models/models_0.js +1 -0
  81. package/dist-es/runtimeConfig.browser.js +27 -0
  82. package/dist-es/runtimeConfig.js +36 -0
  83. package/dist-es/runtimeConfig.native.js +11 -0
  84. package/dist-es/runtimeConfig.shared.js +37 -0
  85. package/dist-es/runtimeExtensions.js +8 -0
  86. package/dist-es/schemas/schemas_0.js +1162 -0
  87. package/dist-types/WilmaAgents.d.ts +182 -0
  88. package/dist-types/WilmaAgentsClient.d.ts +192 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  91. package/dist-types/commands/CompareAgentVersionsCommand.d.ts +91 -0
  92. package/dist-types/commands/CreateAgentApiKeyCommand.d.ts +96 -0
  93. package/dist-types/commands/CreateAgentCommand.d.ts +654 -0
  94. package/dist-types/commands/CreateGuardrailCommand.d.ts +172 -0
  95. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +82 -0
  96. package/dist-types/commands/DeleteAgentApiKeyCommand.d.ts +82 -0
  97. package/dist-types/commands/DeleteAgentCommand.d.ts +77 -0
  98. package/dist-types/commands/DeleteGuardrailCommand.d.ts +80 -0
  99. package/dist-types/commands/ExecuteAgentCommand.d.ts +112 -0
  100. package/dist-types/commands/GetAgentCommand.d.ts +386 -0
  101. package/dist-types/commands/GetAgentVersionCommand.d.ts +365 -0
  102. package/dist-types/commands/GetGuardrailCommand.d.ts +135 -0
  103. package/dist-types/commands/ListAgentAliasesCommand.d.ts +99 -0
  104. package/dist-types/commands/ListAgentApiKeysCommand.d.ts +95 -0
  105. package/dist-types/commands/ListAgentVersionsCommand.d.ts +99 -0
  106. package/dist-types/commands/ListAgentsCommand.d.ts +391 -0
  107. package/dist-types/commands/ListAgentsNamesCommand.d.ts +90 -0
  108. package/dist-types/commands/ListAuditRecordsCommand.d.ts +109 -0
  109. package/dist-types/commands/ListGuardrailsCommand.d.ts +137 -0
  110. package/dist-types/commands/PublishAgentVersionCommand.d.ts +370 -0
  111. package/dist-types/commands/PutAgentAliasCommand.d.ts +107 -0
  112. package/dist-types/commands/UpdateAgentCommand.d.ts +661 -0
  113. package/dist-types/commands/UpdateGuardrailCommand.d.ts +175 -0
  114. package/dist-types/commands/index.d.ts +23 -0
  115. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  116. package/dist-types/endpoint/bdd.d.ts +2 -0
  117. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  118. package/dist-types/extensionConfiguration.d.ts +8 -0
  119. package/dist-types/index.d.ts +23 -0
  120. package/dist-types/models/WilmaAgentsServiceException.d.ts +14 -0
  121. package/dist-types/models/enums.d.ts +301 -0
  122. package/dist-types/models/errors.d.ts +129 -0
  123. package/dist-types/models/models_0.d.ts +2186 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  125. package/dist-types/runtimeConfig.d.ts +55 -0
  126. package/dist-types/runtimeConfig.native.d.ts +54 -0
  127. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  128. package/dist-types/runtimeExtensions.d.ts +17 -0
  129. package/dist-types/schemas/schemas_0.d.ts +160 -0
  130. package/package.json +57 -0
@@ -0,0 +1,175 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateGuardrailInput, UpdateGuardrailOutput } 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 UpdateGuardrailCommand}.
14
+ */
15
+ export interface UpdateGuardrailCommandInput extends UpdateGuardrailInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateGuardrailCommand}.
21
+ */
22
+ export interface UpdateGuardrailCommandOutput extends UpdateGuardrailOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateGuardrailCommand_base: {
25
+ new (input: UpdateGuardrailCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateGuardrailCommandInput): import("@smithy/core/client").CommandImpl<UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Updates a guardrail. The change applies to every agent referencing it.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { WilmaAgentsClient, UpdateGuardrailCommand } from "@wildix/wilma-agents-client"; // ES Modules import
37
+ * // const { WilmaAgentsClient, UpdateGuardrailCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
38
+ * // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
39
+ * const config = {}; // type is WilmaAgentsClientConfig
40
+ * const client = new WilmaAgentsClient(config);
41
+ * const input = { // UpdateGuardrailInput
42
+ * name: "STRING_VALUE", // required
43
+ * description: "STRING_VALUE",
44
+ * topicPolicy: { // GuardrailTopicPolicy
45
+ * topics: [ // GuardrailTopicsList // required
46
+ * { // GuardrailTopic
47
+ * name: "STRING_VALUE", // required
48
+ * definition: "STRING_VALUE", // required
49
+ * examples: [ // GuardrailPhrasesList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * action: "block" || "detect", // required
53
+ * },
54
+ * ],
55
+ * },
56
+ * contentPolicy: { // GuardrailContentPolicy
57
+ * filters: [ // GuardrailContentFiltersList // required
58
+ * { // GuardrailContentFilter
59
+ * category: "hate" || "insults" || "sexual" || "violence" || "misconduct" || "prompt_attack", // required
60
+ * inputStrength: "none" || "low" || "medium" || "high",
61
+ * outputStrength: "none" || "low" || "medium" || "high",
62
+ * },
63
+ * ],
64
+ * },
65
+ * wordPolicy: { // GuardrailWordPolicy
66
+ * blockedWords: [
67
+ * "STRING_VALUE",
68
+ * ],
69
+ * profanity: true || false,
70
+ * },
71
+ * piiPolicy: { // GuardrailPiiPolicy
72
+ * entities: [ // GuardrailPiiEntitiesList // required
73
+ * { // GuardrailPiiEntity
74
+ * entityType: "email" || "phone_number" || "name" || "address" || "credit_card" || "iban" || "national_id" || "password" || "custom", // required
75
+ * pattern: "STRING_VALUE",
76
+ * action: "block" || "anonymize", // required
77
+ * },
78
+ * ],
79
+ * },
80
+ * blockedInputMessage: "STRING_VALUE",
81
+ * blockedOutputMessage: "STRING_VALUE",
82
+ * company: "STRING_VALUE",
83
+ * guardrailId: "STRING_VALUE", // required
84
+ * };
85
+ * const command = new UpdateGuardrailCommand(input);
86
+ * const response = await client.send(command);
87
+ * // { // UpdateGuardrailOutput
88
+ * // guardrail: { // Guardrail
89
+ * // name: "STRING_VALUE", // required
90
+ * // description: "STRING_VALUE",
91
+ * // topicPolicy: { // GuardrailTopicPolicy
92
+ * // topics: [ // GuardrailTopicsList // required
93
+ * // { // GuardrailTopic
94
+ * // name: "STRING_VALUE", // required
95
+ * // definition: "STRING_VALUE", // required
96
+ * // examples: [ // GuardrailPhrasesList
97
+ * // "STRING_VALUE",
98
+ * // ],
99
+ * // action: "block" || "detect", // required
100
+ * // },
101
+ * // ],
102
+ * // },
103
+ * // contentPolicy: { // GuardrailContentPolicy
104
+ * // filters: [ // GuardrailContentFiltersList // required
105
+ * // { // GuardrailContentFilter
106
+ * // category: "hate" || "insults" || "sexual" || "violence" || "misconduct" || "prompt_attack", // required
107
+ * // inputStrength: "none" || "low" || "medium" || "high",
108
+ * // outputStrength: "none" || "low" || "medium" || "high",
109
+ * // },
110
+ * // ],
111
+ * // },
112
+ * // wordPolicy: { // GuardrailWordPolicy
113
+ * // blockedWords: [
114
+ * // "STRING_VALUE",
115
+ * // ],
116
+ * // profanity: true || false,
117
+ * // },
118
+ * // piiPolicy: { // GuardrailPiiPolicy
119
+ * // entities: [ // GuardrailPiiEntitiesList // required
120
+ * // { // GuardrailPiiEntity
121
+ * // entityType: "email" || "phone_number" || "name" || "address" || "credit_card" || "iban" || "national_id" || "password" || "custom", // required
122
+ * // pattern: "STRING_VALUE",
123
+ * // action: "block" || "anonymize", // required
124
+ * // },
125
+ * // ],
126
+ * // },
127
+ * // blockedInputMessage: "STRING_VALUE",
128
+ * // blockedOutputMessage: "STRING_VALUE",
129
+ * // createdAt: "STRING_VALUE", // required
130
+ * // createdBy: { // Actor
131
+ * // type: "user" || "api_key" || "service", // required
132
+ * // id: "STRING_VALUE", // required
133
+ * // name: "STRING_VALUE",
134
+ * // },
135
+ * // updatedAt: "STRING_VALUE",
136
+ * // updatedBy: {
137
+ * // type: "user" || "api_key" || "service", // required
138
+ * // id: "STRING_VALUE", // required
139
+ * // name: "STRING_VALUE",
140
+ * // },
141
+ * // id: "STRING_VALUE", // required
142
+ * // },
143
+ * // };
144
+ *
145
+ * ```
146
+ *
147
+ * @param UpdateGuardrailCommandInput - {@link UpdateGuardrailCommandInput}
148
+ * @returns {@link UpdateGuardrailCommandOutput}
149
+ * @see {@link UpdateGuardrailCommandInput} for command's `input` shape.
150
+ * @see {@link UpdateGuardrailCommandOutput} for command's `response` shape.
151
+ * @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
152
+ *
153
+ * @throws {@link GuardrailNotFoundException} (client fault)
154
+ *
155
+ * @throws {@link ValidationException} (client fault)
156
+ *
157
+ * @throws {@link WilmaAgentsServiceException}
158
+ * <p>Base exception class for all service exceptions from WilmaAgents service.</p>
159
+ *
160
+ *
161
+ * @public
162
+ */
163
+ export declare class UpdateGuardrailCommand extends UpdateGuardrailCommand_base {
164
+ /** @internal type navigation helper, not in runtime. */
165
+ protected static __types: {
166
+ api: {
167
+ input: UpdateGuardrailInput;
168
+ output: UpdateGuardrailOutput;
169
+ };
170
+ sdk: {
171
+ input: UpdateGuardrailCommandInput;
172
+ output: UpdateGuardrailCommandOutput;
173
+ };
174
+ };
175
+ }
@@ -0,0 +1,23 @@
1
+ export * from "./CompareAgentVersionsCommand";
2
+ export * from "./CreateAgentApiKeyCommand";
3
+ export * from "./CreateAgentCommand";
4
+ export * from "./CreateGuardrailCommand";
5
+ export * from "./DeleteAgentAliasCommand";
6
+ export * from "./DeleteAgentApiKeyCommand";
7
+ export * from "./DeleteAgentCommand";
8
+ export * from "./DeleteGuardrailCommand";
9
+ export * from "./ExecuteAgentCommand";
10
+ export * from "./GetAgentCommand";
11
+ export * from "./GetAgentVersionCommand";
12
+ export * from "./GetGuardrailCommand";
13
+ export * from "./ListAgentAliasesCommand";
14
+ export * from "./ListAgentApiKeysCommand";
15
+ export * from "./ListAgentVersionsCommand";
16
+ export * from "./ListAgentsCommand";
17
+ export * from "./ListAgentsNamesCommand";
18
+ export * from "./ListAuditRecordsCommand";
19
+ export * from "./ListGuardrailsCommand";
20
+ export * from "./PublishAgentVersionCommand";
21
+ export * from "./PutAgentAliasCommand";
22
+ export * from "./UpdateAgentCommand";
23
+ export * from "./UpdateGuardrailCommand";
@@ -0,0 +1,41 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ clientContextParams?: {
7
+ env?: string | undefined | Provider<string | undefined>;
8
+ };
9
+ env?: string | undefined | Provider<string | undefined>;
10
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
11
+ }
12
+ /**
13
+ * @public
14
+ */
15
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
16
+ defaultSigningName: string;
17
+ };
18
+ /**
19
+ * @internal
20
+ */
21
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const commonParams: {
26
+ readonly env: {
27
+ readonly type: "clientContextParams";
28
+ readonly name: "env";
29
+ };
30
+ readonly endpoint: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "endpoint";
33
+ };
34
+ };
35
+ /**
36
+ * @internal
37
+ */
38
+ export interface EndpointParameters extends __EndpointParameters {
39
+ env?: string | undefined;
40
+ endpoint?: string | undefined;
41
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,8 @@
1
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
2
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
3
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface WilmaAgentsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, HttpAuthExtensionConfiguration {
8
+ }
@@ -0,0 +1,23 @@
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
9
+ * wilma-traces; analytics in wilma-analytics.
10
+ *
11
+ * @packageDocumentation
12
+ */
13
+ export * from "./WilmaAgentsClient";
14
+ export * from "./WilmaAgents";
15
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
16
+ export type { RuntimeExtension } from "./runtimeExtensions";
17
+ export type { WilmaAgentsExtensionConfiguration } from "./extensionConfiguration";
18
+ export * from "./commands";
19
+ export * from "./schemas/schemas_0";
20
+ export * from "./models/enums";
21
+ export * from "./models/errors";
22
+ export * from "./models/models_0";
23
+ export { WilmaAgentsServiceException } from "./models/WilmaAgentsServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from WilmaAgents service.
8
+ */
9
+ export declare class WilmaAgentsServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,301 @@
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
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const AgentVisibility: {
32
+ readonly EXPLICIT: "explicit";
33
+ readonly ORGANIZATION: "organization";
34
+ };
35
+ /**
36
+ * @public
37
+ */
38
+ export type AgentVisibility = (typeof AgentVisibility)[keyof typeof AgentVisibility];
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
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";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type WebhookMethod = (typeof WebhookMethod)[keyof typeof WebhookMethod];
66
+ /**
67
+ * @public
68
+ * @enum
69
+ */
70
+ export declare const SandboxNetworkAccess: {
71
+ readonly ALL: "allow-all";
72
+ readonly ALLOWLIST: "allowlist";
73
+ readonly NONE: "deny-all";
74
+ };
75
+ /**
76
+ * @public
77
+ */
78
+ export type SandboxNetworkAccess = (typeof SandboxNetworkAccess)[keyof typeof SandboxNetworkAccess];
79
+ /**
80
+ * @public
81
+ * @enum
82
+ */
83
+ export declare const WebSearchContextSize: {
84
+ readonly HIGH: "high";
85
+ readonly LOW: "low";
86
+ readonly MEDIUM: "medium";
87
+ };
88
+ /**
89
+ * @public
90
+ */
91
+ export type WebSearchContextSize = (typeof WebSearchContextSize)[keyof typeof WebSearchContextSize];
92
+ /**
93
+ * @public
94
+ * @enum
95
+ */
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";
102
+ };
103
+ /**
104
+ * @public
105
+ */
106
+ export type AgentVariableType = (typeof AgentVariableType)[keyof typeof AgentVariableType];
107
+ /**
108
+ * @public
109
+ * @enum
110
+ */
111
+ export declare const AgentStatus: {
112
+ /**
113
+ * Has at least one published version.
114
+ */
115
+ readonly ACTIVE: "active";
116
+ /**
117
+ * Kept for history; not serving any traffic.
118
+ */
119
+ readonly ARCHIVED: "archived";
120
+ /**
121
+ * Being edited; never published yet.
122
+ */
123
+ readonly DRAFT: "draft";
124
+ };
125
+ /**
126
+ * @public
127
+ */
128
+ export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
129
+ /**
130
+ * @public
131
+ * @enum
132
+ */
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";
142
+ };
143
+ /**
144
+ * @public
145
+ */
146
+ export type AgentFileScope = (typeof AgentFileScope)[keyof typeof AgentFileScope];
147
+ /**
148
+ * @public
149
+ * @enum
150
+ */
151
+ export declare const ChannelType: {
152
+ /**
153
+ * Programmatic execution over the API.
154
+ */
155
+ readonly API: "api";
156
+ /**
157
+ * In-app assistant (x-bees / x-hoppers / Collaboration).
158
+ */
159
+ readonly ASSISTANT: "assistant";
160
+ /**
161
+ * Bot member of chat conversations.
162
+ */
163
+ readonly CHAT: "chat";
164
+ /**
165
+ * Voice calls on the PBX.
166
+ */
167
+ readonly VOICE: "voice";
168
+ };
169
+ /**
170
+ * @public
171
+ */
172
+ export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
173
+ /**
174
+ * @public
175
+ * @enum
176
+ */
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";
189
+ };
190
+ /**
191
+ * @public
192
+ */
193
+ export type AuditAction = (typeof AuditAction)[keyof typeof AuditAction];
194
+ /**
195
+ * @public
196
+ * @enum
197
+ */
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";
209
+ };
210
+ /**
211
+ * @public
212
+ */
213
+ export type AuditResourceType = (typeof AuditResourceType)[keyof typeof AuditResourceType];
214
+ /**
215
+ * @public
216
+ * @enum
217
+ */
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";
225
+ };
226
+ /**
227
+ * @public
228
+ */
229
+ export type GuardrailContentCategory = (typeof GuardrailContentCategory)[keyof typeof GuardrailContentCategory];
230
+ /**
231
+ * @public
232
+ * @enum
233
+ */
234
+ export declare const GuardrailFilterStrength: {
235
+ readonly HIGH: "high";
236
+ readonly LOW: "low";
237
+ readonly MEDIUM: "medium";
238
+ readonly NONE: "none";
239
+ };
240
+ /**
241
+ * @public
242
+ */
243
+ export type GuardrailFilterStrength = (typeof GuardrailFilterStrength)[keyof typeof GuardrailFilterStrength];
244
+ /**
245
+ * @public
246
+ * @enum
247
+ */
248
+ export declare const GuardrailPiiAction: {
249
+ /**
250
+ * Replace the entity with a placeholder, e.g. {EMAIL}.
251
+ */
252
+ readonly ANONYMIZE: "anonymize";
253
+ /**
254
+ * Block the message entirely.
255
+ */
256
+ readonly BLOCK: "block";
257
+ };
258
+ /**
259
+ * @public
260
+ */
261
+ export type GuardrailPiiAction = (typeof GuardrailPiiAction)[keyof typeof GuardrailPiiAction];
262
+ /**
263
+ * @public
264
+ * @enum
265
+ */
266
+ export declare const GuardrailPiiEntityType: {
267
+ readonly ADDRESS: "address";
268
+ readonly CREDIT_CARD: "credit_card";
269
+ /**
270
+ * Custom entity matched by the regex in `pattern`.
271
+ */
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: {
289
+ /**
290
+ * Block the message and answer with the configured blocked message.
291
+ */
292
+ readonly BLOCK: "block";
293
+ /**
294
+ * Record the violation in the trace but let the message through.
295
+ */
296
+ readonly DETECT: "detect";
297
+ };
298
+ /**
299
+ * @public
300
+ */
301
+ export type GuardrailAction = (typeof GuardrailAction)[keyof typeof GuardrailAction];