@wildix/wilma-copilot-client 1.0.10 → 1.0.12
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/models/errors.js +27 -226
- package/dist-cjs/runtimeConfig.native.js +3 -0
- package/dist-cjs/schemas/schemas_0.js +20 -113
- package/dist-es/models/errors.js +24 -210
- package/dist-es/runtimeConfig.native.js +3 -0
- package/dist-es/schemas/schemas_0.js +17 -110
- package/dist-types/commands/AttachProfileResourceCommand.d.ts +1 -1
- package/dist-types/commands/CompareProfileVersionsCommand.d.ts +1 -3
- package/dist-types/commands/CreateAssetCommand.d.ts +2 -1
- package/dist-types/commands/CreateAutomationCommand.d.ts +2 -1
- package/dist-types/commands/CreateEvaluationCommand.d.ts +2 -1
- package/dist-types/commands/CreateIntentCommand.d.ts +2 -1
- package/dist-types/commands/CreateProfileCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAssetCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAutomationCommand.d.ts +4 -4
- package/dist-types/commands/DeleteEvaluationCommand.d.ts +4 -4
- package/dist-types/commands/DeleteIntentCommand.d.ts +4 -4
- package/dist-types/commands/DeleteProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProfileResourceCommand.d.ts +1 -1
- package/dist-types/commands/GetAssetCommand.d.ts +1 -1
- package/dist-types/commands/GetAutomationCommand.d.ts +1 -1
- package/dist-types/commands/GetEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/GetIntentCommand.d.ts +1 -1
- package/dist-types/commands/GetProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetProfileVersionCommand.d.ts +1 -3
- package/dist-types/commands/ListProfileVersionsCommand.d.ts +1 -1
- package/dist-types/commands/PublishProfileVersionCommand.d.ts +1 -1
- package/dist-types/commands/RestoreProfileVersionToDraftCommand.d.ts +1 -3
- package/dist-types/commands/UpdateAssetCommand.d.ts +3 -2
- package/dist-types/commands/UpdateAutomationCommand.d.ts +3 -2
- package/dist-types/commands/UpdateEvaluationCommand.d.ts +3 -2
- package/dist-types/commands/UpdateIntentCommand.d.ts +3 -2
- package/dist-types/commands/UpdateProfileCommand.d.ts +3 -2
- package/dist-types/models/errors.d.ts +23 -184
- package/dist-types/models/models_0.d.ts +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -15
- package/package.json +7 -5
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.RevisionConflictException = exports.NothingToPublishException = exports.ValidationException = exports.NotFoundException = exports.ForbiddenException = exports.ConflictException = void 0;
|
|
4
4
|
const WilmaCopilotServiceException_1 = require("./WilmaCopilotServiceException");
|
|
5
|
+
class ConflictException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
6
|
+
name = "ConflictException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ConflictException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ConflictException = ConflictException;
|
|
5
18
|
class ForbiddenException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
6
19
|
name = "ForbiddenException";
|
|
7
20
|
$fault = "client";
|
|
@@ -15,6 +28,19 @@ class ForbiddenException extends WilmaCopilotServiceException_1.WilmaCopilotServ
|
|
|
15
28
|
}
|
|
16
29
|
}
|
|
17
30
|
exports.ForbiddenException = ForbiddenException;
|
|
31
|
+
class NotFoundException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
32
|
+
name = "NotFoundException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "NotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.NotFoundException = NotFoundException;
|
|
18
44
|
class ValidationException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
19
45
|
name = "ValidationException";
|
|
20
46
|
$fault = "client";
|
|
@@ -60,228 +86,3 @@ class RevisionConflictException extends WilmaCopilotServiceException_1.WilmaCopi
|
|
|
60
86
|
}
|
|
61
87
|
}
|
|
62
88
|
exports.RevisionConflictException = RevisionConflictException;
|
|
63
|
-
class AssetInUseException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
64
|
-
name = "AssetInUseException";
|
|
65
|
-
$fault = "client";
|
|
66
|
-
type;
|
|
67
|
-
constructor(opts) {
|
|
68
|
-
super({
|
|
69
|
-
name: "AssetInUseException",
|
|
70
|
-
$fault: "client",
|
|
71
|
-
...opts,
|
|
72
|
-
});
|
|
73
|
-
Object.setPrototypeOf(this, AssetInUseException.prototype);
|
|
74
|
-
this.type = opts.type;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
exports.AssetInUseException = AssetInUseException;
|
|
78
|
-
class AssetNonUniqueNameException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
79
|
-
name = "AssetNonUniqueNameException";
|
|
80
|
-
$fault = "client";
|
|
81
|
-
type;
|
|
82
|
-
constructor(opts) {
|
|
83
|
-
super({
|
|
84
|
-
name: "AssetNonUniqueNameException",
|
|
85
|
-
$fault: "client",
|
|
86
|
-
...opts,
|
|
87
|
-
});
|
|
88
|
-
Object.setPrototypeOf(this, AssetNonUniqueNameException.prototype);
|
|
89
|
-
this.type = opts.type;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
exports.AssetNonUniqueNameException = AssetNonUniqueNameException;
|
|
93
|
-
class AssetNotFoundException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
94
|
-
name = "AssetNotFoundException";
|
|
95
|
-
$fault = "client";
|
|
96
|
-
type;
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "AssetNotFoundException",
|
|
100
|
-
$fault: "client",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
Object.setPrototypeOf(this, AssetNotFoundException.prototype);
|
|
104
|
-
this.type = opts.type;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
exports.AssetNotFoundException = AssetNotFoundException;
|
|
108
|
-
class ProfileNotFoundException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
109
|
-
name = "ProfileNotFoundException";
|
|
110
|
-
$fault = "client";
|
|
111
|
-
type;
|
|
112
|
-
constructor(opts) {
|
|
113
|
-
super({
|
|
114
|
-
name: "ProfileNotFoundException",
|
|
115
|
-
$fault: "client",
|
|
116
|
-
...opts,
|
|
117
|
-
});
|
|
118
|
-
Object.setPrototypeOf(this, ProfileNotFoundException.prototype);
|
|
119
|
-
this.type = opts.type;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
exports.ProfileNotFoundException = ProfileNotFoundException;
|
|
123
|
-
class AutomationInUseException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
124
|
-
name = "AutomationInUseException";
|
|
125
|
-
$fault = "client";
|
|
126
|
-
type;
|
|
127
|
-
constructor(opts) {
|
|
128
|
-
super({
|
|
129
|
-
name: "AutomationInUseException",
|
|
130
|
-
$fault: "client",
|
|
131
|
-
...opts,
|
|
132
|
-
});
|
|
133
|
-
Object.setPrototypeOf(this, AutomationInUseException.prototype);
|
|
134
|
-
this.type = opts.type;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
exports.AutomationInUseException = AutomationInUseException;
|
|
138
|
-
class AutomationNonUniqueNameException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
139
|
-
name = "AutomationNonUniqueNameException";
|
|
140
|
-
$fault = "client";
|
|
141
|
-
type;
|
|
142
|
-
constructor(opts) {
|
|
143
|
-
super({
|
|
144
|
-
name: "AutomationNonUniqueNameException",
|
|
145
|
-
$fault: "client",
|
|
146
|
-
...opts,
|
|
147
|
-
});
|
|
148
|
-
Object.setPrototypeOf(this, AutomationNonUniqueNameException.prototype);
|
|
149
|
-
this.type = opts.type;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
exports.AutomationNonUniqueNameException = AutomationNonUniqueNameException;
|
|
153
|
-
class AutomationNotFoundException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
154
|
-
name = "AutomationNotFoundException";
|
|
155
|
-
$fault = "client";
|
|
156
|
-
type;
|
|
157
|
-
constructor(opts) {
|
|
158
|
-
super({
|
|
159
|
-
name: "AutomationNotFoundException",
|
|
160
|
-
$fault: "client",
|
|
161
|
-
...opts,
|
|
162
|
-
});
|
|
163
|
-
Object.setPrototypeOf(this, AutomationNotFoundException.prototype);
|
|
164
|
-
this.type = opts.type;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
exports.AutomationNotFoundException = AutomationNotFoundException;
|
|
168
|
-
class ProfileVersionNotFoundException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
169
|
-
name = "ProfileVersionNotFoundException";
|
|
170
|
-
$fault = "client";
|
|
171
|
-
type;
|
|
172
|
-
constructor(opts) {
|
|
173
|
-
super({
|
|
174
|
-
name: "ProfileVersionNotFoundException",
|
|
175
|
-
$fault: "client",
|
|
176
|
-
...opts,
|
|
177
|
-
});
|
|
178
|
-
Object.setPrototypeOf(this, ProfileVersionNotFoundException.prototype);
|
|
179
|
-
this.type = opts.type;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
exports.ProfileVersionNotFoundException = ProfileVersionNotFoundException;
|
|
183
|
-
class EvaluationNonUniqueNameException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
184
|
-
name = "EvaluationNonUniqueNameException";
|
|
185
|
-
$fault = "client";
|
|
186
|
-
type;
|
|
187
|
-
constructor(opts) {
|
|
188
|
-
super({
|
|
189
|
-
name: "EvaluationNonUniqueNameException",
|
|
190
|
-
$fault: "client",
|
|
191
|
-
...opts,
|
|
192
|
-
});
|
|
193
|
-
Object.setPrototypeOf(this, EvaluationNonUniqueNameException.prototype);
|
|
194
|
-
this.type = opts.type;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
exports.EvaluationNonUniqueNameException = EvaluationNonUniqueNameException;
|
|
198
|
-
class IntentNonUniqueNameException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
199
|
-
name = "IntentNonUniqueNameException";
|
|
200
|
-
$fault = "client";
|
|
201
|
-
type;
|
|
202
|
-
constructor(opts) {
|
|
203
|
-
super({
|
|
204
|
-
name: "IntentNonUniqueNameException",
|
|
205
|
-
$fault: "client",
|
|
206
|
-
...opts,
|
|
207
|
-
});
|
|
208
|
-
Object.setPrototypeOf(this, IntentNonUniqueNameException.prototype);
|
|
209
|
-
this.type = opts.type;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
exports.IntentNonUniqueNameException = IntentNonUniqueNameException;
|
|
213
|
-
class ProfileNonUniqueNameException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
214
|
-
name = "ProfileNonUniqueNameException";
|
|
215
|
-
$fault = "client";
|
|
216
|
-
type;
|
|
217
|
-
constructor(opts) {
|
|
218
|
-
super({
|
|
219
|
-
name: "ProfileNonUniqueNameException",
|
|
220
|
-
$fault: "client",
|
|
221
|
-
...opts,
|
|
222
|
-
});
|
|
223
|
-
Object.setPrototypeOf(this, ProfileNonUniqueNameException.prototype);
|
|
224
|
-
this.type = opts.type;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
exports.ProfileNonUniqueNameException = ProfileNonUniqueNameException;
|
|
228
|
-
class EvaluationInUseException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
229
|
-
name = "EvaluationInUseException";
|
|
230
|
-
$fault = "client";
|
|
231
|
-
type;
|
|
232
|
-
constructor(opts) {
|
|
233
|
-
super({
|
|
234
|
-
name: "EvaluationInUseException",
|
|
235
|
-
$fault: "client",
|
|
236
|
-
...opts,
|
|
237
|
-
});
|
|
238
|
-
Object.setPrototypeOf(this, EvaluationInUseException.prototype);
|
|
239
|
-
this.type = opts.type;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
exports.EvaluationInUseException = EvaluationInUseException;
|
|
243
|
-
class EvaluationNotFoundException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
244
|
-
name = "EvaluationNotFoundException";
|
|
245
|
-
$fault = "client";
|
|
246
|
-
type;
|
|
247
|
-
constructor(opts) {
|
|
248
|
-
super({
|
|
249
|
-
name: "EvaluationNotFoundException",
|
|
250
|
-
$fault: "client",
|
|
251
|
-
...opts,
|
|
252
|
-
});
|
|
253
|
-
Object.setPrototypeOf(this, EvaluationNotFoundException.prototype);
|
|
254
|
-
this.type = opts.type;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
exports.EvaluationNotFoundException = EvaluationNotFoundException;
|
|
258
|
-
class IntentInUseException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
259
|
-
name = "IntentInUseException";
|
|
260
|
-
$fault = "client";
|
|
261
|
-
type;
|
|
262
|
-
constructor(opts) {
|
|
263
|
-
super({
|
|
264
|
-
name: "IntentInUseException",
|
|
265
|
-
$fault: "client",
|
|
266
|
-
...opts,
|
|
267
|
-
});
|
|
268
|
-
Object.setPrototypeOf(this, IntentInUseException.prototype);
|
|
269
|
-
this.type = opts.type;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
exports.IntentInUseException = IntentInUseException;
|
|
273
|
-
class IntentNotFoundException extends WilmaCopilotServiceException_1.WilmaCopilotServiceException {
|
|
274
|
-
name = "IntentNotFoundException";
|
|
275
|
-
$fault = "client";
|
|
276
|
-
type;
|
|
277
|
-
constructor(opts) {
|
|
278
|
-
super({
|
|
279
|
-
name: "IntentNotFoundException",
|
|
280
|
-
$fault: "client",
|
|
281
|
-
...opts,
|
|
282
|
-
});
|
|
283
|
-
Object.setPrototypeOf(this, IntentNotFoundException.prototype);
|
|
284
|
-
this.type = opts.type;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
exports.IntentNotFoundException = IntentNotFoundException;
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
+
const smithy_react_native_1 = require("@wildix/smithy-react-native");
|
|
5
6
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
7
|
const getRuntimeConfig = (config) => {
|
|
7
8
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
|
+
(0, smithy_react_native_1.installReactNativeGlobals)();
|
|
8
10
|
return {
|
|
9
11
|
...browserDefaults,
|
|
10
12
|
...config,
|
|
11
13
|
runtime: "react-native",
|
|
14
|
+
requestHandler: smithy_react_native_1.XhrHttpHandler.create(config?.requestHandler),
|
|
12
15
|
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
13
16
|
};
|
|
14
17
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateProfile$ = exports.UpdateIntent$ = exports.UpdateEvaluation$ = exports.UpdateAutomation$ = exports.UpdateAsset$ = exports.RestoreProfileVersionToDraft$ = exports.PublishProfileVersion$ = exports.ListProfileVersions$ = exports.ListProfiles$ = exports.ListIntents$ =
|
|
3
|
+
exports.DeleteIntentInput$ = exports.DeleteEvaluationOutput$ = exports.DeleteEvaluationInput$ = exports.DeleteAutomationOutput$ = exports.DeleteAutomationInput$ = exports.DeleteAssetOutput$ = exports.DeleteAssetInput$ = exports.CsatFeatureConfiguration$ = exports.CreateProfileOutput$ = exports.CreateProfileInput$ = exports.CreateIntentOutput$ = exports.CreateIntentInput$ = exports.CreateEvaluationOutput$ = exports.CreateEvaluationInput$ = exports.CreateAutomationOutput$ = exports.CreateAutomationInput$ = exports.CreateAssetOutput$ = exports.CreateAssetInput$ = exports.CopilotVariableBinding$ = exports.CopilotTextParameter$ = exports.CopilotSelectionParameter$ = exports.CopilotNumberParameter$ = exports.CopilotMultilineParameter$ = exports.CopilotField$ = exports.CopilotAccess$ = exports.ContextualKnowledgeAnswersFeatureConfiguration$ = exports.CompareProfileVersionsOutput$ = exports.CompareProfileVersionsInput$ = exports.CardStaticContent$ = exports.CardAgentContent$ = exports.AutomationInfo$ = exports.Automation$ = exports.AttachProfileResourceOutput$ = exports.AttachProfileResourceInput$ = exports.AssetSmartActions$ = exports.AssetPlaybook$ = exports.AssetKnowledge$ = exports.AssetInfo$ = exports.AssetCard$ = exports.Asset$ = exports.AgentAutomationHandler$ = exports.Actor$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ForbiddenException$ = exports.ConflictException$ = exports.WilmaCopilotServiceException$ = void 0;
|
|
4
|
+
exports.RestoreProfileVersionToDraftOutput$ = exports.RestoreProfileVersionToDraftInput$ = exports.PublishProfileVersionOutput$ = exports.PublishProfileVersionInput$ = exports.ProfileVersionInfo$ = exports.ProfileVersionChange$ = exports.ProfileInfo$ = exports.Profile$ = exports.PlaybookStep$ = exports.PlaybookSemanticCompletion$ = exports.PlaybookManualCompletion$ = exports.ListProfileVersionsOutput$ = exports.ListProfileVersionsInput$ = exports.ListProfilesOutput$ = exports.ListProfilesInput$ = exports.ListIntentsOutput$ = exports.ListIntentsInput$ = exports.ListEvaluationsOutput$ = exports.ListEvaluationsInput$ = exports.ListAutomationsOutput$ = exports.ListAutomationsInput$ = exports.ListAssetsOutput$ = exports.ListAssetsInput$ = exports.IntentTextMatchOption$ = exports.IntentTextMatch$ = exports.IntentInfo$ = exports.IntentHandlers$ = exports.IntentAiMatch$ = exports.Intent$ = exports.GetProfileVersionOutput$ = exports.GetProfileVersionInput$ = exports.GetProfileOutput$ = exports.GetProfileInput$ = exports.GetIntentOutput$ = exports.GetIntentInput$ = exports.GetEvaluationOutput$ = exports.GetEvaluationInput$ = exports.GetAutomationOutput$ = exports.GetAutomationInput$ = exports.GetAssetOutput$ = exports.GetAssetInput$ = exports.EvaluationTriggers$ = exports.EvaluationIntervalTrigger$ = exports.EvaluationInfo$ = exports.Evaluation$ = exports.DeleteProfileResourceOutput$ = exports.DeleteProfileResourceInput$ = exports.DeleteProfileOutput$ = exports.DeleteProfileInput$ = exports.DeleteIntentOutput$ = void 0;
|
|
5
|
+
exports.ListEvaluations$ = exports.ListAutomations$ = exports.ListAssets$ = exports.GetProfileVersion$ = exports.GetProfile$ = exports.GetIntent$ = exports.GetEvaluation$ = exports.GetAutomation$ = exports.GetAsset$ = exports.DeleteProfileResource$ = exports.DeleteProfile$ = exports.DeleteIntent$ = exports.DeleteEvaluation$ = exports.DeleteAutomation$ = exports.DeleteAsset$ = exports.CreateProfile$ = exports.CreateIntent$ = exports.CreateEvaluation$ = exports.CreateAutomation$ = exports.CreateAsset$ = exports.CompareProfileVersions$ = exports.AttachProfileResource$ = exports.SmartAction$ = exports.ProfileResource$ = exports.PlaybookCompletionCriteria$ = exports.CopilotGrantPrincipal$ = exports.CopilotFieldParameter$ = exports.CopilotFeature$ = exports.CardContent$ = exports.AutomationHandler$ = exports.AssetContent$ = exports.UpdateProfileOutput$ = exports.UpdateProfileInput$ = exports.UpdateIntentOutput$ = exports.UpdateIntentInput$ = exports.UpdateEvaluationOutput$ = exports.UpdateEvaluationInput$ = exports.UpdateAutomationOutput$ = exports.UpdateAutomationInput$ = exports.UpdateAssetOutput$ = exports.UpdateAssetInput$ = exports.TopicsFeatureConfiguration$ = exports.TalkRatioFeatureConfiguration$ = exports.SmartActionTransfer$ = exports.SmartActionRunTool$ = exports.SmartActionRunAgent$ = exports.SmartActionOpenUrl$ = exports.SmartActionItem$ = exports.SmartActionHandover$ = exports.SentimentFeatureConfiguration$ = void 0;
|
|
6
|
+
exports.UpdateProfile$ = exports.UpdateIntent$ = exports.UpdateEvaluation$ = exports.UpdateAutomation$ = exports.UpdateAsset$ = exports.RestoreProfileVersionToDraft$ = exports.PublishProfileVersion$ = exports.ListProfileVersions$ = exports.ListProfiles$ = exports.ListIntents$ = void 0;
|
|
7
7
|
const _A = "Actor";
|
|
8
8
|
const _AAH = "AgentAutomationHandler";
|
|
9
9
|
const _AC = "AssetCard";
|
|
@@ -12,14 +12,8 @@ const _AH = "AutomationHandler";
|
|
|
12
12
|
const _AI = "AssetInfo";
|
|
13
13
|
const _AIL = "AssetInfoList";
|
|
14
14
|
const _AILu = "AutomationInfoList";
|
|
15
|
-
const _AIUE = "AssetInUseException";
|
|
16
|
-
const _AIUEu = "AutomationInUseException";
|
|
17
15
|
const _AIu = "AutomationInfo";
|
|
18
16
|
const _AK = "AssetKnowledge";
|
|
19
|
-
const _ANFE = "AssetNotFoundException";
|
|
20
|
-
const _ANFEu = "AutomationNotFoundException";
|
|
21
|
-
const _ANUNE = "AssetNonUniqueNameException";
|
|
22
|
-
const _ANUNEu = "AutomationNonUniqueNameException";
|
|
23
17
|
const _AP = "AssetPlaybook";
|
|
24
18
|
const _APR = "AttachProfileResource";
|
|
25
19
|
const _APRI = "AttachProfileResourceInput";
|
|
@@ -36,9 +30,10 @@ const _CAOr = "CreateAutomationOutput";
|
|
|
36
30
|
const _CAr = "CreateAsset";
|
|
37
31
|
const _CAre = "CreateAutomation";
|
|
38
32
|
const _CC = "CardContent";
|
|
39
|
-
const _CE = "
|
|
33
|
+
const _CE = "ConflictException";
|
|
40
34
|
const _CEI = "CreateEvaluationInput";
|
|
41
35
|
const _CEO = "CreateEvaluationOutput";
|
|
36
|
+
const _CEr = "CreateEvaluation";
|
|
42
37
|
const _CF = "CopilotField";
|
|
43
38
|
const _CFC = "CsatFeatureConfiguration";
|
|
44
39
|
const _CFL = "CopilotFeaturesList";
|
|
@@ -86,9 +81,6 @@ const _E = "Evaluation";
|
|
|
86
81
|
const _EI = "EvaluationInfo";
|
|
87
82
|
const _EIL = "EvaluationInfoList";
|
|
88
83
|
const _EIT = "EvaluationIntervalTrigger";
|
|
89
|
-
const _EIUE = "EvaluationInUseException";
|
|
90
|
-
const _ENFE = "EvaluationNotFoundException";
|
|
91
|
-
const _ENUNE = "EvaluationNonUniqueNameException";
|
|
92
84
|
const _ET = "EvaluationTriggers";
|
|
93
85
|
const _FE = "ForbiddenException";
|
|
94
86
|
const _GA = "GetAsset";
|
|
@@ -114,9 +106,6 @@ const _IAM = "IntentAiMatch";
|
|
|
114
106
|
const _IH = "IntentHandlers";
|
|
115
107
|
const _II = "IntentInfo";
|
|
116
108
|
const _IIL = "IntentInfoList";
|
|
117
|
-
const _IIUE = "IntentInUseException";
|
|
118
|
-
const _INFE = "IntentNotFoundException";
|
|
119
|
-
const _INUNE = "IntentNonUniqueNameException";
|
|
120
109
|
const _ITM = "IntentTextMatch";
|
|
121
110
|
const _ITMO = "IntentTextMatchOption";
|
|
122
111
|
const _ITMOL = "IntentTextMatchOptionsList";
|
|
@@ -138,14 +127,13 @@ const _LPO = "ListProfilesOutput";
|
|
|
138
127
|
const _LPV = "ListProfileVersions";
|
|
139
128
|
const _LPVI = "ListProfileVersionsInput";
|
|
140
129
|
const _LPVO = "ListProfileVersionsOutput";
|
|
130
|
+
const _NFE = "NotFoundException";
|
|
141
131
|
const _NTPE = "NothingToPublishException";
|
|
142
132
|
const _P = "Profile";
|
|
143
133
|
const _PCC = "PlaybookCompletionCriteria";
|
|
144
134
|
const _PI = "ProfileInfo";
|
|
145
135
|
const _PIL = "ProfileInfoList";
|
|
146
136
|
const _PMC = "PlaybookManualCompletion";
|
|
147
|
-
const _PNFE = "ProfileNotFoundException";
|
|
148
|
-
const _PNUNE = "ProfileNonUniqueNameException";
|
|
149
137
|
const _PPV = "PublishProfileVersion";
|
|
150
138
|
const _PPVI = "PublishProfileVersionInput";
|
|
151
139
|
const _PPVO = "PublishProfileVersionOutput";
|
|
@@ -157,7 +145,6 @@ const _PVC = "ProfileVersionChange";
|
|
|
157
145
|
const _PVCL = "ProfileVersionChangesList";
|
|
158
146
|
const _PVI = "ProfileVersionInfo";
|
|
159
147
|
const _PVIL = "ProfileVersionInfoList";
|
|
160
|
-
const _PVNFE = "ProfileVersionNotFoundException";
|
|
161
148
|
const _RCE = "RevisionConflictException";
|
|
162
149
|
const _RPVTD = "RestoreProfileVersionToDraft";
|
|
163
150
|
const _RPVTDI = "RestoreProfileVersionToDraftInput";
|
|
@@ -363,13 +350,24 @@ exports.WilmaCopilotServiceException$ = [-3, _s, "WilmaCopilotServiceException",
|
|
|
363
350
|
_s_registry.registerError(exports.WilmaCopilotServiceException$, WilmaCopilotServiceException_1.WilmaCopilotServiceException);
|
|
364
351
|
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
365
352
|
const n1_registry = schema_1.TypeRegistry.for(n1);
|
|
366
|
-
|
|
353
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
354
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
355
|
+
[_m],
|
|
356
|
+
[0], 1
|
|
357
|
+
];
|
|
358
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
367
359
|
exports.ForbiddenException$ = [-3, n0, _FE,
|
|
368
360
|
{ [_e]: _c, [_hE]: 403 },
|
|
369
361
|
[_m],
|
|
370
362
|
[0], 1
|
|
371
363
|
];
|
|
372
364
|
n0_registry.registerError(exports.ForbiddenException$, errors_1.ForbiddenException);
|
|
365
|
+
exports.NotFoundException$ = [-3, n0, _NFE,
|
|
366
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
367
|
+
[_m],
|
|
368
|
+
[0], 1
|
|
369
|
+
];
|
|
370
|
+
n0_registry.registerError(exports.NotFoundException$, errors_1.NotFoundException);
|
|
373
371
|
exports.ValidationException$ = [-3, n0, _VE,
|
|
374
372
|
{ [_e]: _c, [_hE]: 400 },
|
|
375
373
|
[_m],
|
|
@@ -388,101 +386,10 @@ exports.RevisionConflictException$ = [-3, n1, _RCE,
|
|
|
388
386
|
[0, 0, 1], 1
|
|
389
387
|
];
|
|
390
388
|
n1_registry.registerError(exports.RevisionConflictException$, errors_1.RevisionConflictException);
|
|
391
|
-
exports.AssetInUseException$ = [-3, n2, _AIUE,
|
|
392
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
393
|
-
[_m, _t],
|
|
394
|
-
[0, 0], 1
|
|
395
|
-
];
|
|
396
|
-
n2_registry.registerError(exports.AssetInUseException$, errors_1.AssetInUseException);
|
|
397
|
-
exports.AssetNonUniqueNameException$ = [-3, n2, _ANUNE,
|
|
398
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
399
|
-
[_m, _t],
|
|
400
|
-
[0, 0], 1
|
|
401
|
-
];
|
|
402
|
-
n2_registry.registerError(exports.AssetNonUniqueNameException$, errors_1.AssetNonUniqueNameException);
|
|
403
|
-
exports.AssetNotFoundException$ = [-3, n2, _ANFE,
|
|
404
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
405
|
-
[_m, _t],
|
|
406
|
-
[0, 0], 1
|
|
407
|
-
];
|
|
408
|
-
n2_registry.registerError(exports.AssetNotFoundException$, errors_1.AssetNotFoundException);
|
|
409
|
-
exports.AutomationInUseException$ = [-3, n2, _AIUEu,
|
|
410
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
411
|
-
[_m, _t],
|
|
412
|
-
[0, 0], 1
|
|
413
|
-
];
|
|
414
|
-
n2_registry.registerError(exports.AutomationInUseException$, errors_1.AutomationInUseException);
|
|
415
|
-
exports.AutomationNonUniqueNameException$ = [-3, n2, _ANUNEu,
|
|
416
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
417
|
-
[_m, _t],
|
|
418
|
-
[0, 0], 1
|
|
419
|
-
];
|
|
420
|
-
n2_registry.registerError(exports.AutomationNonUniqueNameException$, errors_1.AutomationNonUniqueNameException);
|
|
421
|
-
exports.AutomationNotFoundException$ = [-3, n2, _ANFEu,
|
|
422
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
423
|
-
[_m, _t],
|
|
424
|
-
[0, 0], 1
|
|
425
|
-
];
|
|
426
|
-
n2_registry.registerError(exports.AutomationNotFoundException$, errors_1.AutomationNotFoundException);
|
|
427
|
-
exports.EvaluationInUseException$ = [-3, n2, _EIUE,
|
|
428
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
429
|
-
[_m, _t],
|
|
430
|
-
[0, 0], 1
|
|
431
|
-
];
|
|
432
|
-
n2_registry.registerError(exports.EvaluationInUseException$, errors_1.EvaluationInUseException);
|
|
433
|
-
exports.EvaluationNonUniqueNameException$ = [-3, n2, _ENUNE,
|
|
434
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
435
|
-
[_m, _t],
|
|
436
|
-
[0, 0], 1
|
|
437
|
-
];
|
|
438
|
-
n2_registry.registerError(exports.EvaluationNonUniqueNameException$, errors_1.EvaluationNonUniqueNameException);
|
|
439
|
-
exports.EvaluationNotFoundException$ = [-3, n2, _ENFE,
|
|
440
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
441
|
-
[_m, _t],
|
|
442
|
-
[0, 0], 1
|
|
443
|
-
];
|
|
444
|
-
n2_registry.registerError(exports.EvaluationNotFoundException$, errors_1.EvaluationNotFoundException);
|
|
445
|
-
exports.IntentInUseException$ = [-3, n2, _IIUE,
|
|
446
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
447
|
-
[_m, _t],
|
|
448
|
-
[0, 0], 1
|
|
449
|
-
];
|
|
450
|
-
n2_registry.registerError(exports.IntentInUseException$, errors_1.IntentInUseException);
|
|
451
|
-
exports.IntentNonUniqueNameException$ = [-3, n2, _INUNE,
|
|
452
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
453
|
-
[_m, _t],
|
|
454
|
-
[0, 0], 1
|
|
455
|
-
];
|
|
456
|
-
n2_registry.registerError(exports.IntentNonUniqueNameException$, errors_1.IntentNonUniqueNameException);
|
|
457
|
-
exports.IntentNotFoundException$ = [-3, n2, _INFE,
|
|
458
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
459
|
-
[_m, _t],
|
|
460
|
-
[0, 0], 1
|
|
461
|
-
];
|
|
462
|
-
n2_registry.registerError(exports.IntentNotFoundException$, errors_1.IntentNotFoundException);
|
|
463
|
-
exports.ProfileNonUniqueNameException$ = [-3, n2, _PNUNE,
|
|
464
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
465
|
-
[_m, _t],
|
|
466
|
-
[0, 0], 1
|
|
467
|
-
];
|
|
468
|
-
n2_registry.registerError(exports.ProfileNonUniqueNameException$, errors_1.ProfileNonUniqueNameException);
|
|
469
|
-
exports.ProfileNotFoundException$ = [-3, n2, _PNFE,
|
|
470
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
471
|
-
[_m, _t],
|
|
472
|
-
[0, 0], 1
|
|
473
|
-
];
|
|
474
|
-
n2_registry.registerError(exports.ProfileNotFoundException$, errors_1.ProfileNotFoundException);
|
|
475
|
-
exports.ProfileVersionNotFoundException$ = [-3, n2, _PVNFE,
|
|
476
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
477
|
-
[_m, _t],
|
|
478
|
-
[0, 0], 1
|
|
479
|
-
];
|
|
480
|
-
n2_registry.registerError(exports.ProfileVersionNotFoundException$, errors_1.ProfileVersionNotFoundException);
|
|
481
389
|
exports.errorTypeRegistries = [
|
|
482
390
|
_s_registry,
|
|
483
391
|
n0_registry,
|
|
484
392
|
n1_registry,
|
|
485
|
-
n2_registry,
|
|
486
393
|
];
|
|
487
394
|
exports.Actor$ = [3, n1, _A,
|
|
488
395
|
0,
|
|
@@ -1144,7 +1051,7 @@ exports.CreateAsset$ = [9, n2, _CAr,
|
|
|
1144
1051
|
exports.CreateAutomation$ = [9, n2, _CAre,
|
|
1145
1052
|
{ [_ht]: ["POST", "/v2/copilot/automations", 200] }, () => exports.CreateAutomationInput$, () => exports.CreateAutomationOutput$
|
|
1146
1053
|
];
|
|
1147
|
-
exports.CreateEvaluation$ = [9, n2,
|
|
1054
|
+
exports.CreateEvaluation$ = [9, n2, _CEr,
|
|
1148
1055
|
{ [_ht]: ["POST", "/v2/copilot/evaluations", 200] }, () => exports.CreateEvaluationInput$, () => exports.CreateEvaluationOutput$
|
|
1149
1056
|
];
|
|
1150
1057
|
exports.CreateIntent$ = [9, n2, _CI,
|