@wildix/wilma-copilot-client 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.
- package/dist-cjs/WilmaCopilot.js +75 -0
- package/dist-cjs/WilmaCopilotClient.js +49 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/AttachProfileResourceCommand.js +20 -0
- package/dist-cjs/commands/CompareProfileVersionsCommand.js +20 -0
- package/dist-cjs/commands/CreateAssetCommand.js +20 -0
- package/dist-cjs/commands/CreateAutomationCommand.js +20 -0
- package/dist-cjs/commands/CreateEvaluationCommand.js +20 -0
- package/dist-cjs/commands/CreateIntentCommand.js +20 -0
- package/dist-cjs/commands/CreateProfileCommand.js +20 -0
- package/dist-cjs/commands/DeleteAssetCommand.js +20 -0
- package/dist-cjs/commands/DeleteAutomationCommand.js +20 -0
- package/dist-cjs/commands/DeleteEvaluationCommand.js +20 -0
- package/dist-cjs/commands/DeleteIntentCommand.js +20 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +20 -0
- package/dist-cjs/commands/DeleteProfileResourceCommand.js +20 -0
- package/dist-cjs/commands/GetAssetCommand.js +20 -0
- package/dist-cjs/commands/GetAutomationCommand.js +20 -0
- package/dist-cjs/commands/GetEvaluationCommand.js +20 -0
- package/dist-cjs/commands/GetIntentCommand.js +20 -0
- package/dist-cjs/commands/GetProfileCommand.js +20 -0
- package/dist-cjs/commands/GetProfileVersionCommand.js +20 -0
- package/dist-cjs/commands/ListAssetsCommand.js +20 -0
- package/dist-cjs/commands/ListAutomationsCommand.js +20 -0
- package/dist-cjs/commands/ListEvaluationsCommand.js +20 -0
- package/dist-cjs/commands/ListIntentsCommand.js +20 -0
- package/dist-cjs/commands/ListProfileVersionsCommand.js +20 -0
- package/dist-cjs/commands/ListProfilesCommand.js +20 -0
- package/dist-cjs/commands/PublishProfileVersionCommand.js +20 -0
- package/dist-cjs/commands/RestoreProfileVersionToDraftCommand.js +20 -0
- package/dist-cjs/commands/UpdateAssetCommand.js +20 -0
- package/dist-cjs/commands/UpdateAutomationCommand.js +20 -0
- package/dist-cjs/commands/UpdateEvaluationCommand.js +20 -0
- package/dist-cjs/commands/UpdateIntentCommand.js +20 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +20 -0
- package/dist-cjs/commands/index.js +35 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +13 -0
- package/dist-cjs/models/WilmaCopilotServiceException.js +12 -0
- package/dist-cjs/models/enums.js +95 -0
- package/dist-cjs/models/errors.js +287 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +41 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +41 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +1249 -0
- package/dist-es/WilmaCopilot.js +71 -0
- package/dist-es/WilmaCopilotClient.js +45 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/AttachProfileResourceCommand.js +16 -0
- package/dist-es/commands/CompareProfileVersionsCommand.js +16 -0
- package/dist-es/commands/CreateAssetCommand.js +16 -0
- package/dist-es/commands/CreateAutomationCommand.js +16 -0
- package/dist-es/commands/CreateEvaluationCommand.js +16 -0
- package/dist-es/commands/CreateIntentCommand.js +16 -0
- package/dist-es/commands/CreateProfileCommand.js +16 -0
- package/dist-es/commands/DeleteAssetCommand.js +16 -0
- package/dist-es/commands/DeleteAutomationCommand.js +16 -0
- package/dist-es/commands/DeleteEvaluationCommand.js +16 -0
- package/dist-es/commands/DeleteIntentCommand.js +16 -0
- package/dist-es/commands/DeleteProfileCommand.js +16 -0
- package/dist-es/commands/DeleteProfileResourceCommand.js +16 -0
- package/dist-es/commands/GetAssetCommand.js +16 -0
- package/dist-es/commands/GetAutomationCommand.js +16 -0
- package/dist-es/commands/GetEvaluationCommand.js +16 -0
- package/dist-es/commands/GetIntentCommand.js +16 -0
- package/dist-es/commands/GetProfileCommand.js +16 -0
- package/dist-es/commands/GetProfileVersionCommand.js +16 -0
- package/dist-es/commands/ListAssetsCommand.js +16 -0
- package/dist-es/commands/ListAutomationsCommand.js +16 -0
- package/dist-es/commands/ListEvaluationsCommand.js +16 -0
- package/dist-es/commands/ListIntentsCommand.js +16 -0
- package/dist-es/commands/ListProfileVersionsCommand.js +16 -0
- package/dist-es/commands/ListProfilesCommand.js +16 -0
- package/dist-es/commands/PublishProfileVersionCommand.js +16 -0
- package/dist-es/commands/RestoreProfileVersionToDraftCommand.js +16 -0
- package/dist-es/commands/UpdateAssetCommand.js +16 -0
- package/dist-es/commands/UpdateAutomationCommand.js +16 -0
- package/dist-es/commands/UpdateEvaluationCommand.js +16 -0
- package/dist-es/commands/UpdateIntentCommand.js +16 -0
- package/dist-es/commands/UpdateProfileCommand.js +16 -0
- package/dist-es/commands/index.js +32 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +8 -0
- package/dist-es/models/WilmaCopilotServiceException.js +8 -0
- package/dist-es/models/enums.js +92 -0
- package/dist-es/models/errors.js +265 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +36 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +37 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-es/schemas/schemas_0.js +1243 -0
- package/dist-types/WilmaCopilot.d.ts +254 -0
- package/dist-types/WilmaCopilotClient.d.ts +209 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/AttachProfileResourceCommand.d.ts +165 -0
- package/dist-types/commands/CompareProfileVersionsCommand.d.ts +91 -0
- package/dist-types/commands/CreateAssetCommand.d.ts +328 -0
- package/dist-types/commands/CreateAutomationCommand.d.ts +176 -0
- package/dist-types/commands/CreateEvaluationCommand.d.ts +196 -0
- package/dist-types/commands/CreateIntentCommand.d.ts +202 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +181 -0
- package/dist-types/commands/DeleteAssetCommand.d.ts +83 -0
- package/dist-types/commands/DeleteAutomationCommand.d.ts +83 -0
- package/dist-types/commands/DeleteEvaluationCommand.d.ts +83 -0
- package/dist-types/commands/DeleteIntentCommand.d.ts +83 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +79 -0
- package/dist-types/commands/DeleteProfileResourceCommand.d.ts +147 -0
- package/dist-types/commands/GetAssetCommand.d.ts +213 -0
- package/dist-types/commands/GetAutomationCommand.d.ts +137 -0
- package/dist-types/commands/GetEvaluationCommand.d.ts +147 -0
- package/dist-types/commands/GetIntentCommand.d.ts +150 -0
- package/dist-types/commands/GetProfileCommand.d.ts +141 -0
- package/dist-types/commands/GetProfileVersionCommand.d.ts +82 -0
- package/dist-types/commands/ListAssetsCommand.d.ts +107 -0
- package/dist-types/commands/ListAutomationsCommand.d.ts +103 -0
- package/dist-types/commands/ListEvaluationsCommand.d.ts +104 -0
- package/dist-types/commands/ListIntentsCommand.d.ts +103 -0
- package/dist-types/commands/ListProfileVersionsCommand.d.ts +95 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +110 -0
- package/dist-types/commands/PublishProfileVersionCommand.d.ts +87 -0
- package/dist-types/commands/RestoreProfileVersionToDraftCommand.d.ts +146 -0
- package/dist-types/commands/UpdateAssetCommand.d.ts +335 -0
- package/dist-types/commands/UpdateAutomationCommand.d.ts +183 -0
- package/dist-types/commands/UpdateEvaluationCommand.d.ts +203 -0
- package/dist-types/commands/UpdateIntentCommand.d.ts +209 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +160 -0
- package/dist-types/commands/index.d.ts +32 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +31 -0
- package/dist-types/models/WilmaCopilotServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +287 -0
- package/dist-types/models/errors.d.ts +239 -0
- package/dist-types/models/models_0.d.ts +2808 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +182 -0
- package/package.json +57 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration for Wilma Copilot, the real-time agent-assist system. During a live call or
|
|
3
|
+
* chat it understands the conversation (intents), tracks state (evaluations), decides what to do
|
|
4
|
+
* (conditions) and helps the agent (assets and automations).
|
|
5
|
+
*
|
|
6
|
+
* The deployable unit is a Profile: which intents, evaluations, automations and assets apply, the
|
|
7
|
+
* built-in features, and the conditions under which the profile matches a conversation. Intents,
|
|
8
|
+
* evaluations, automations and assets are reusable library resources a profile references by id;
|
|
9
|
+
* they carry a revision for optimistic locking. Profiles follow a draft -> publish lifecycle:
|
|
10
|
+
* UpdateProfile edits the draft, PublishProfileVersion snapshots it into an immutable version with
|
|
11
|
+
* every referenced resource resolved inline, so the runtime applies a self-contained, reproducible
|
|
12
|
+
* configuration regardless of later library edits. RestoreProfileVersionToDraft and
|
|
13
|
+
* CompareProfileVersions support rollback and review.
|
|
14
|
+
*
|
|
15
|
+
* Multiple profiles can match one conversation; all matching profiles are applied independently
|
|
16
|
+
* with no priority. The companion wilma-copilot-sessions service runs published profiles against
|
|
17
|
+
* live conversations and streams what copilot detects and shows.
|
|
18
|
+
*
|
|
19
|
+
* @packageDocumentation
|
|
20
|
+
*/
|
|
21
|
+
export * from "./WilmaCopilotClient";
|
|
22
|
+
export * from "./WilmaCopilot";
|
|
23
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
24
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
25
|
+
export type { WilmaCopilotExtensionConfiguration } from "./extensionConfiguration";
|
|
26
|
+
export * from "./commands";
|
|
27
|
+
export * from "./schemas/schemas_0";
|
|
28
|
+
export * from "./models/enums";
|
|
29
|
+
export * from "./models/errors";
|
|
30
|
+
export * from "./models/models_0";
|
|
31
|
+
export { WilmaCopilotServiceException } from "./models/WilmaCopilotServiceException";
|
|
@@ -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 WilmaCopilot service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class WilmaCopilotServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,287 @@
|
|
|
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 AutomationOutputMode: {
|
|
19
|
+
/**
|
|
20
|
+
* Render the result as a card shown to the agent.
|
|
21
|
+
*/
|
|
22
|
+
readonly CARD: "card";
|
|
23
|
+
/**
|
|
24
|
+
* Run in the background without showing anything to the agent.
|
|
25
|
+
*/
|
|
26
|
+
readonly SILENT: "silent";
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type AutomationOutputMode = (typeof AutomationOutputMode)[keyof typeof AutomationOutputMode];
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
* @enum
|
|
35
|
+
*/
|
|
36
|
+
export declare const CopilotVariableMode: {
|
|
37
|
+
/**
|
|
38
|
+
* The model fills the variable itself from conversation context.
|
|
39
|
+
*/
|
|
40
|
+
readonly AUTO: "auto";
|
|
41
|
+
/**
|
|
42
|
+
* The model fills the variable, guided by `description`.
|
|
43
|
+
*/
|
|
44
|
+
readonly GUIDED: "guided";
|
|
45
|
+
/**
|
|
46
|
+
* A fixed `value` is bound directly; not exposed to the model.
|
|
47
|
+
*/
|
|
48
|
+
readonly PREDEFINED: "predefined";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type CopilotVariableMode = (typeof CopilotVariableMode)[keyof typeof CopilotVariableMode];
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* @enum
|
|
57
|
+
*/
|
|
58
|
+
export declare const SmartActionHandoverVariant: {
|
|
59
|
+
readonly AGENT: "agent";
|
|
60
|
+
readonly SERVICE: "service";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type SmartActionHandoverVariant = (typeof SmartActionHandoverVariant)[keyof typeof SmartActionHandoverVariant];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const SmartActionResultMode: {
|
|
71
|
+
readonly SHOW_CARD: "show_card";
|
|
72
|
+
readonly SILENT: "silent";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type SmartActionResultMode = (typeof SmartActionResultMode)[keyof typeof SmartActionResultMode];
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const AssetIcon: {
|
|
83
|
+
readonly ALERT: "alert";
|
|
84
|
+
readonly BOOK_OPEN: "book_open";
|
|
85
|
+
readonly INFO: "info";
|
|
86
|
+
readonly LIGHTBULB: "lightbulb";
|
|
87
|
+
readonly SHIELD: "shield";
|
|
88
|
+
readonly SPARKLES: "sparkles";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type AssetIcon = (typeof AssetIcon)[keyof typeof AssetIcon];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const AssetSeverity: {
|
|
99
|
+
readonly DANGER: "danger";
|
|
100
|
+
readonly NEUTRAL: "neutral";
|
|
101
|
+
readonly SUCCESS: "success";
|
|
102
|
+
readonly WARNING: "warning";
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export type AssetSeverity = (typeof AssetSeverity)[keyof typeof AssetSeverity];
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* @enum
|
|
111
|
+
*/
|
|
112
|
+
export declare const AssetType: {
|
|
113
|
+
readonly BATTLE_CARD: "battle_card";
|
|
114
|
+
readonly GUIDANCE: "guidance";
|
|
115
|
+
readonly KNOWLEDGE: "knowledge";
|
|
116
|
+
readonly NEXT_BEST_ACTION: "next_best_action";
|
|
117
|
+
readonly PLAYBOOK: "playbook";
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export type AssetType = (typeof AssetType)[keyof typeof AssetType];
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @enum
|
|
126
|
+
*/
|
|
127
|
+
export declare const AssetContentType: {
|
|
128
|
+
readonly CARD: "card";
|
|
129
|
+
readonly KNOWLEDGE: "knowledge";
|
|
130
|
+
readonly PLAYBOOK: "playbook";
|
|
131
|
+
readonly SMART_ACTION: "smart_action";
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export type AssetContentType = (typeof AssetContentType)[keyof typeof AssetContentType];
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
* @enum
|
|
140
|
+
*/
|
|
141
|
+
export declare const ContextualKnowledgeMode: {
|
|
142
|
+
/**
|
|
143
|
+
* Answer automatically.
|
|
144
|
+
*/
|
|
145
|
+
readonly AUTOMATIC_ANSWER: "automatic_answer";
|
|
146
|
+
/**
|
|
147
|
+
* Suggest an action the agent can take.
|
|
148
|
+
*/
|
|
149
|
+
readonly SUGGEST_ACTION: "suggest_action";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export type ContextualKnowledgeMode = (typeof ContextualKnowledgeMode)[keyof typeof ContextualKnowledgeMode];
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
* @enum
|
|
158
|
+
*/
|
|
159
|
+
export declare const ContextualKnowledgeSource: {
|
|
160
|
+
readonly AGENT: "agent";
|
|
161
|
+
readonly KNOWLEDGE_BASES: "knowledge_bases";
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export type ContextualKnowledgeSource = (typeof ContextualKnowledgeSource)[keyof typeof ContextualKnowledgeSource];
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
* @enum
|
|
170
|
+
*/
|
|
171
|
+
export declare const CopilotVisibility: {
|
|
172
|
+
/**
|
|
173
|
+
* Only the users and groups listed in `grants` are assisted by the profile.
|
|
174
|
+
*/
|
|
175
|
+
readonly EXPLICIT: "explicit";
|
|
176
|
+
/**
|
|
177
|
+
* Everyone in the organization is assisted by the profile.
|
|
178
|
+
*/
|
|
179
|
+
readonly ORGANIZATION: "organization";
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export type CopilotVisibility = (typeof CopilotVisibility)[keyof typeof CopilotVisibility];
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* @enum
|
|
188
|
+
*/
|
|
189
|
+
export declare const CopilotChannel: {
|
|
190
|
+
readonly ANY: "any";
|
|
191
|
+
readonly CALLS: "calls";
|
|
192
|
+
readonly CHATS: "chats";
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type CopilotChannel = (typeof CopilotChannel)[keyof typeof CopilotChannel];
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
* @enum
|
|
201
|
+
*/
|
|
202
|
+
export declare const ProfileStatus: {
|
|
203
|
+
/**
|
|
204
|
+
* Has at least one published version.
|
|
205
|
+
*/
|
|
206
|
+
readonly ACTIVE: "active";
|
|
207
|
+
/**
|
|
208
|
+
* Being edited; never published yet.
|
|
209
|
+
*/
|
|
210
|
+
readonly DRAFT: "draft";
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
export type ProfileStatus = (typeof ProfileStatus)[keyof typeof ProfileStatus];
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
* @enum
|
|
219
|
+
*/
|
|
220
|
+
export declare const AutomationHandlerType: {
|
|
221
|
+
readonly AGENT: "agent";
|
|
222
|
+
readonly KNOWLEDGE_BASE: "knowledge_base";
|
|
223
|
+
readonly TOOL: "tool";
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
export type AutomationHandlerType = (typeof AutomationHandlerType)[keyof typeof AutomationHandlerType];
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
* @enum
|
|
232
|
+
*/
|
|
233
|
+
export declare const EvaluationWindow: {
|
|
234
|
+
/**
|
|
235
|
+
* The entire conversation transcript.
|
|
236
|
+
*/
|
|
237
|
+
readonly FULL_TRANSCRIPT: "full_transcript";
|
|
238
|
+
/**
|
|
239
|
+
* Only the transcript added since the previous run (incremental).
|
|
240
|
+
*/
|
|
241
|
+
readonly NEW_TRANSCRIPT: "new_transcript";
|
|
242
|
+
/**
|
|
243
|
+
* The newly added transcript plus the prior value as context.
|
|
244
|
+
*/
|
|
245
|
+
readonly NEW_WITH_PRIOR: "new_with_prior";
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
export type EvaluationWindow = (typeof EvaluationWindow)[keyof typeof EvaluationWindow];
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
* @enum
|
|
254
|
+
*/
|
|
255
|
+
export declare const IntentTextMatchMode: {
|
|
256
|
+
/**
|
|
257
|
+
* Case-insensitive exact phrase match.
|
|
258
|
+
*/
|
|
259
|
+
readonly EXACT: "exact";
|
|
260
|
+
/**
|
|
261
|
+
* Approximate match tolerant of small variations.
|
|
262
|
+
*/
|
|
263
|
+
readonly FUZZY: "fuzzy";
|
|
264
|
+
/**
|
|
265
|
+
* Regular-expression match.
|
|
266
|
+
*/
|
|
267
|
+
readonly REGEX: "regex";
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
export type IntentTextMatchMode = (typeof IntentTextMatchMode)[keyof typeof IntentTextMatchMode];
|
|
273
|
+
/**
|
|
274
|
+
* @public
|
|
275
|
+
* @enum
|
|
276
|
+
*/
|
|
277
|
+
export declare const ProfileResourceType: {
|
|
278
|
+
readonly ASSET: "asset";
|
|
279
|
+
readonly AUTOMATION: "automation";
|
|
280
|
+
readonly EVALUATION: "evaluation";
|
|
281
|
+
readonly FEATURE: "feature";
|
|
282
|
+
readonly INTENT: "intent";
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
export type ProfileResourceType = (typeof ProfileResourceType)[keyof typeof ProfileResourceType];
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { WilmaCopilotServiceException as __BaseException } from "./WilmaCopilotServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class ForbiddenException extends __BaseException {
|
|
7
|
+
readonly name: "ForbiddenException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare class ValidationException extends __BaseException {
|
|
18
|
+
readonly name: "ValidationException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The draft has not changed since the last published version; there is nothing to publish.
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export declare class NothingToPublishException extends __BaseException {
|
|
30
|
+
readonly name: "NothingToPublishException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
type?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
constructor(opts: __ExceptionOptionType<NothingToPublishException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The resource was modified concurrently; re-read it and retry with the latest revision.
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class RevisionConflictException extends __BaseException {
|
|
43
|
+
readonly name: "RevisionConflictException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
type?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The current revision of the resource on the server.
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
currentRevision?: number | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<RevisionConflictException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The asset cannot be deleted: it is still referenced by at least one profile draft. Retry with detach=true to remove the references.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class AssetInUseException extends __BaseException {
|
|
61
|
+
readonly name: "AssetInUseException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
type?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
constructor(opts: __ExceptionOptionType<AssetInUseException, __BaseException>);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class AssetNonUniqueNameException extends __BaseException {
|
|
73
|
+
readonly name: "AssetNonUniqueNameException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
type?: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(opts: __ExceptionOptionType<AssetNonUniqueNameException, __BaseException>);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class AssetNotFoundException extends __BaseException {
|
|
85
|
+
readonly name: "AssetNotFoundException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
type?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
constructor(opts: __ExceptionOptionType<AssetNotFoundException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ProfileNotFoundException extends __BaseException {
|
|
97
|
+
readonly name: "ProfileNotFoundException";
|
|
98
|
+
readonly $fault: "client";
|
|
99
|
+
type?: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
constructor(opts: __ExceptionOptionType<ProfileNotFoundException, __BaseException>);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The automation cannot be deleted: it is still referenced by at least one profile draft. Retry with detach=true to remove the references.
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class AutomationInUseException extends __BaseException {
|
|
110
|
+
readonly name: "AutomationInUseException";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
type?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
constructor(opts: __ExceptionOptionType<AutomationInUseException, __BaseException>);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class AutomationNonUniqueNameException extends __BaseException {
|
|
122
|
+
readonly name: "AutomationNonUniqueNameException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
type?: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
constructor(opts: __ExceptionOptionType<AutomationNonUniqueNameException, __BaseException>);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export declare class AutomationNotFoundException extends __BaseException {
|
|
134
|
+
readonly name: "AutomationNotFoundException";
|
|
135
|
+
readonly $fault: "client";
|
|
136
|
+
type?: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
constructor(opts: __ExceptionOptionType<AutomationNotFoundException, __BaseException>);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export declare class ProfileVersionNotFoundException extends __BaseException {
|
|
146
|
+
readonly name: "ProfileVersionNotFoundException";
|
|
147
|
+
readonly $fault: "client";
|
|
148
|
+
type?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* @internal
|
|
151
|
+
*/
|
|
152
|
+
constructor(opts: __ExceptionOptionType<ProfileVersionNotFoundException, __BaseException>);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export declare class EvaluationNonUniqueNameException extends __BaseException {
|
|
158
|
+
readonly name: "EvaluationNonUniqueNameException";
|
|
159
|
+
readonly $fault: "client";
|
|
160
|
+
type?: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
164
|
+
constructor(opts: __ExceptionOptionType<EvaluationNonUniqueNameException, __BaseException>);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export declare class IntentNonUniqueNameException extends __BaseException {
|
|
170
|
+
readonly name: "IntentNonUniqueNameException";
|
|
171
|
+
readonly $fault: "client";
|
|
172
|
+
type?: string | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* @internal
|
|
175
|
+
*/
|
|
176
|
+
constructor(opts: __ExceptionOptionType<IntentNonUniqueNameException, __BaseException>);
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
export declare class ProfileNonUniqueNameException extends __BaseException {
|
|
182
|
+
readonly name: "ProfileNonUniqueNameException";
|
|
183
|
+
readonly $fault: "client";
|
|
184
|
+
type?: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* @internal
|
|
187
|
+
*/
|
|
188
|
+
constructor(opts: __ExceptionOptionType<ProfileNonUniqueNameException, __BaseException>);
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* The evaluation cannot be deleted: it is still referenced by at least one profile draft. Retry with detach=true to remove the references.
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
export declare class EvaluationInUseException extends __BaseException {
|
|
195
|
+
readonly name: "EvaluationInUseException";
|
|
196
|
+
readonly $fault: "client";
|
|
197
|
+
type?: string | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* @internal
|
|
200
|
+
*/
|
|
201
|
+
constructor(opts: __ExceptionOptionType<EvaluationInUseException, __BaseException>);
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export declare class EvaluationNotFoundException extends __BaseException {
|
|
207
|
+
readonly name: "EvaluationNotFoundException";
|
|
208
|
+
readonly $fault: "client";
|
|
209
|
+
type?: string | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
constructor(opts: __ExceptionOptionType<EvaluationNotFoundException, __BaseException>);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* The intent cannot be deleted: it is still referenced by at least one profile draft. Retry with detach=true to remove the references.
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export declare class IntentInUseException extends __BaseException {
|
|
220
|
+
readonly name: "IntentInUseException";
|
|
221
|
+
readonly $fault: "client";
|
|
222
|
+
type?: string | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* @internal
|
|
225
|
+
*/
|
|
226
|
+
constructor(opts: __ExceptionOptionType<IntentInUseException, __BaseException>);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export declare class IntentNotFoundException extends __BaseException {
|
|
232
|
+
readonly name: "IntentNotFoundException";
|
|
233
|
+
readonly $fault: "client";
|
|
234
|
+
type?: string | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* @internal
|
|
237
|
+
*/
|
|
238
|
+
constructor(opts: __ExceptionOptionType<IntentNotFoundException, __BaseException>);
|
|
239
|
+
}
|