@wildix/wilma-copilot-client 1.0.10 → 1.0.11
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/schemas/schemas_0.js +20 -113
- package/dist-es/models/errors.js +24 -210
- 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/schemas/schemas_0.d.ts +2 -15
- package/package.json +1 -1
package/dist-es/models/errors.js
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { WilmaCopilotServiceException as __BaseException } from "./WilmaCopilotServiceException";
|
|
2
|
+
export class ConflictException extends __BaseException {
|
|
3
|
+
name = "ConflictException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "ConflictException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
2
14
|
export class ForbiddenException extends __BaseException {
|
|
3
15
|
name = "ForbiddenException";
|
|
4
16
|
$fault = "client";
|
|
@@ -11,6 +23,18 @@ export class ForbiddenException extends __BaseException {
|
|
|
11
23
|
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
12
24
|
}
|
|
13
25
|
}
|
|
26
|
+
export class NotFoundException extends __BaseException {
|
|
27
|
+
name = "NotFoundException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "NotFoundException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
14
38
|
export class ValidationException extends __BaseException {
|
|
15
39
|
name = "ValidationException";
|
|
16
40
|
$fault = "client";
|
|
@@ -53,213 +77,3 @@ export class RevisionConflictException extends __BaseException {
|
|
|
53
77
|
this.currentRevision = opts.currentRevision;
|
|
54
78
|
}
|
|
55
79
|
}
|
|
56
|
-
export class AssetInUseException extends __BaseException {
|
|
57
|
-
name = "AssetInUseException";
|
|
58
|
-
$fault = "client";
|
|
59
|
-
type;
|
|
60
|
-
constructor(opts) {
|
|
61
|
-
super({
|
|
62
|
-
name: "AssetInUseException",
|
|
63
|
-
$fault: "client",
|
|
64
|
-
...opts,
|
|
65
|
-
});
|
|
66
|
-
Object.setPrototypeOf(this, AssetInUseException.prototype);
|
|
67
|
-
this.type = opts.type;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
export class AssetNonUniqueNameException extends __BaseException {
|
|
71
|
-
name = "AssetNonUniqueNameException";
|
|
72
|
-
$fault = "client";
|
|
73
|
-
type;
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "AssetNonUniqueNameException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, AssetNonUniqueNameException.prototype);
|
|
81
|
-
this.type = opts.type;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
export class AssetNotFoundException extends __BaseException {
|
|
85
|
-
name = "AssetNotFoundException";
|
|
86
|
-
$fault = "client";
|
|
87
|
-
type;
|
|
88
|
-
constructor(opts) {
|
|
89
|
-
super({
|
|
90
|
-
name: "AssetNotFoundException",
|
|
91
|
-
$fault: "client",
|
|
92
|
-
...opts,
|
|
93
|
-
});
|
|
94
|
-
Object.setPrototypeOf(this, AssetNotFoundException.prototype);
|
|
95
|
-
this.type = opts.type;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export class ProfileNotFoundException extends __BaseException {
|
|
99
|
-
name = "ProfileNotFoundException";
|
|
100
|
-
$fault = "client";
|
|
101
|
-
type;
|
|
102
|
-
constructor(opts) {
|
|
103
|
-
super({
|
|
104
|
-
name: "ProfileNotFoundException",
|
|
105
|
-
$fault: "client",
|
|
106
|
-
...opts,
|
|
107
|
-
});
|
|
108
|
-
Object.setPrototypeOf(this, ProfileNotFoundException.prototype);
|
|
109
|
-
this.type = opts.type;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
export class AutomationInUseException extends __BaseException {
|
|
113
|
-
name = "AutomationInUseException";
|
|
114
|
-
$fault = "client";
|
|
115
|
-
type;
|
|
116
|
-
constructor(opts) {
|
|
117
|
-
super({
|
|
118
|
-
name: "AutomationInUseException",
|
|
119
|
-
$fault: "client",
|
|
120
|
-
...opts,
|
|
121
|
-
});
|
|
122
|
-
Object.setPrototypeOf(this, AutomationInUseException.prototype);
|
|
123
|
-
this.type = opts.type;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
export class AutomationNonUniqueNameException extends __BaseException {
|
|
127
|
-
name = "AutomationNonUniqueNameException";
|
|
128
|
-
$fault = "client";
|
|
129
|
-
type;
|
|
130
|
-
constructor(opts) {
|
|
131
|
-
super({
|
|
132
|
-
name: "AutomationNonUniqueNameException",
|
|
133
|
-
$fault: "client",
|
|
134
|
-
...opts,
|
|
135
|
-
});
|
|
136
|
-
Object.setPrototypeOf(this, AutomationNonUniqueNameException.prototype);
|
|
137
|
-
this.type = opts.type;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
export class AutomationNotFoundException extends __BaseException {
|
|
141
|
-
name = "AutomationNotFoundException";
|
|
142
|
-
$fault = "client";
|
|
143
|
-
type;
|
|
144
|
-
constructor(opts) {
|
|
145
|
-
super({
|
|
146
|
-
name: "AutomationNotFoundException",
|
|
147
|
-
$fault: "client",
|
|
148
|
-
...opts,
|
|
149
|
-
});
|
|
150
|
-
Object.setPrototypeOf(this, AutomationNotFoundException.prototype);
|
|
151
|
-
this.type = opts.type;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
export class ProfileVersionNotFoundException extends __BaseException {
|
|
155
|
-
name = "ProfileVersionNotFoundException";
|
|
156
|
-
$fault = "client";
|
|
157
|
-
type;
|
|
158
|
-
constructor(opts) {
|
|
159
|
-
super({
|
|
160
|
-
name: "ProfileVersionNotFoundException",
|
|
161
|
-
$fault: "client",
|
|
162
|
-
...opts,
|
|
163
|
-
});
|
|
164
|
-
Object.setPrototypeOf(this, ProfileVersionNotFoundException.prototype);
|
|
165
|
-
this.type = opts.type;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
export class EvaluationNonUniqueNameException extends __BaseException {
|
|
169
|
-
name = "EvaluationNonUniqueNameException";
|
|
170
|
-
$fault = "client";
|
|
171
|
-
type;
|
|
172
|
-
constructor(opts) {
|
|
173
|
-
super({
|
|
174
|
-
name: "EvaluationNonUniqueNameException",
|
|
175
|
-
$fault: "client",
|
|
176
|
-
...opts,
|
|
177
|
-
});
|
|
178
|
-
Object.setPrototypeOf(this, EvaluationNonUniqueNameException.prototype);
|
|
179
|
-
this.type = opts.type;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
export class IntentNonUniqueNameException extends __BaseException {
|
|
183
|
-
name = "IntentNonUniqueNameException";
|
|
184
|
-
$fault = "client";
|
|
185
|
-
type;
|
|
186
|
-
constructor(opts) {
|
|
187
|
-
super({
|
|
188
|
-
name: "IntentNonUniqueNameException",
|
|
189
|
-
$fault: "client",
|
|
190
|
-
...opts,
|
|
191
|
-
});
|
|
192
|
-
Object.setPrototypeOf(this, IntentNonUniqueNameException.prototype);
|
|
193
|
-
this.type = opts.type;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
export class ProfileNonUniqueNameException extends __BaseException {
|
|
197
|
-
name = "ProfileNonUniqueNameException";
|
|
198
|
-
$fault = "client";
|
|
199
|
-
type;
|
|
200
|
-
constructor(opts) {
|
|
201
|
-
super({
|
|
202
|
-
name: "ProfileNonUniqueNameException",
|
|
203
|
-
$fault: "client",
|
|
204
|
-
...opts,
|
|
205
|
-
});
|
|
206
|
-
Object.setPrototypeOf(this, ProfileNonUniqueNameException.prototype);
|
|
207
|
-
this.type = opts.type;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
export class EvaluationInUseException extends __BaseException {
|
|
211
|
-
name = "EvaluationInUseException";
|
|
212
|
-
$fault = "client";
|
|
213
|
-
type;
|
|
214
|
-
constructor(opts) {
|
|
215
|
-
super({
|
|
216
|
-
name: "EvaluationInUseException",
|
|
217
|
-
$fault: "client",
|
|
218
|
-
...opts,
|
|
219
|
-
});
|
|
220
|
-
Object.setPrototypeOf(this, EvaluationInUseException.prototype);
|
|
221
|
-
this.type = opts.type;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
export class EvaluationNotFoundException extends __BaseException {
|
|
225
|
-
name = "EvaluationNotFoundException";
|
|
226
|
-
$fault = "client";
|
|
227
|
-
type;
|
|
228
|
-
constructor(opts) {
|
|
229
|
-
super({
|
|
230
|
-
name: "EvaluationNotFoundException",
|
|
231
|
-
$fault: "client",
|
|
232
|
-
...opts,
|
|
233
|
-
});
|
|
234
|
-
Object.setPrototypeOf(this, EvaluationNotFoundException.prototype);
|
|
235
|
-
this.type = opts.type;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
export class IntentInUseException extends __BaseException {
|
|
239
|
-
name = "IntentInUseException";
|
|
240
|
-
$fault = "client";
|
|
241
|
-
type;
|
|
242
|
-
constructor(opts) {
|
|
243
|
-
super({
|
|
244
|
-
name: "IntentInUseException",
|
|
245
|
-
$fault: "client",
|
|
246
|
-
...opts,
|
|
247
|
-
});
|
|
248
|
-
Object.setPrototypeOf(this, IntentInUseException.prototype);
|
|
249
|
-
this.type = opts.type;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
export class IntentNotFoundException extends __BaseException {
|
|
253
|
-
name = "IntentNotFoundException";
|
|
254
|
-
$fault = "client";
|
|
255
|
-
type;
|
|
256
|
-
constructor(opts) {
|
|
257
|
-
super({
|
|
258
|
-
name: "IntentNotFoundException",
|
|
259
|
-
$fault: "client",
|
|
260
|
-
...opts,
|
|
261
|
-
});
|
|
262
|
-
Object.setPrototypeOf(this, IntentNotFoundException.prototype);
|
|
263
|
-
this.type = opts.type;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
@@ -6,14 +6,8 @@ const _AH = "AutomationHandler";
|
|
|
6
6
|
const _AI = "AssetInfo";
|
|
7
7
|
const _AIL = "AssetInfoList";
|
|
8
8
|
const _AILu = "AutomationInfoList";
|
|
9
|
-
const _AIUE = "AssetInUseException";
|
|
10
|
-
const _AIUEu = "AutomationInUseException";
|
|
11
9
|
const _AIu = "AutomationInfo";
|
|
12
10
|
const _AK = "AssetKnowledge";
|
|
13
|
-
const _ANFE = "AssetNotFoundException";
|
|
14
|
-
const _ANFEu = "AutomationNotFoundException";
|
|
15
|
-
const _ANUNE = "AssetNonUniqueNameException";
|
|
16
|
-
const _ANUNEu = "AutomationNonUniqueNameException";
|
|
17
11
|
const _AP = "AssetPlaybook";
|
|
18
12
|
const _APR = "AttachProfileResource";
|
|
19
13
|
const _APRI = "AttachProfileResourceInput";
|
|
@@ -30,9 +24,10 @@ const _CAOr = "CreateAutomationOutput";
|
|
|
30
24
|
const _CAr = "CreateAsset";
|
|
31
25
|
const _CAre = "CreateAutomation";
|
|
32
26
|
const _CC = "CardContent";
|
|
33
|
-
const _CE = "
|
|
27
|
+
const _CE = "ConflictException";
|
|
34
28
|
const _CEI = "CreateEvaluationInput";
|
|
35
29
|
const _CEO = "CreateEvaluationOutput";
|
|
30
|
+
const _CEr = "CreateEvaluation";
|
|
36
31
|
const _CF = "CopilotField";
|
|
37
32
|
const _CFC = "CsatFeatureConfiguration";
|
|
38
33
|
const _CFL = "CopilotFeaturesList";
|
|
@@ -80,9 +75,6 @@ const _E = "Evaluation";
|
|
|
80
75
|
const _EI = "EvaluationInfo";
|
|
81
76
|
const _EIL = "EvaluationInfoList";
|
|
82
77
|
const _EIT = "EvaluationIntervalTrigger";
|
|
83
|
-
const _EIUE = "EvaluationInUseException";
|
|
84
|
-
const _ENFE = "EvaluationNotFoundException";
|
|
85
|
-
const _ENUNE = "EvaluationNonUniqueNameException";
|
|
86
78
|
const _ET = "EvaluationTriggers";
|
|
87
79
|
const _FE = "ForbiddenException";
|
|
88
80
|
const _GA = "GetAsset";
|
|
@@ -108,9 +100,6 @@ const _IAM = "IntentAiMatch";
|
|
|
108
100
|
const _IH = "IntentHandlers";
|
|
109
101
|
const _II = "IntentInfo";
|
|
110
102
|
const _IIL = "IntentInfoList";
|
|
111
|
-
const _IIUE = "IntentInUseException";
|
|
112
|
-
const _INFE = "IntentNotFoundException";
|
|
113
|
-
const _INUNE = "IntentNonUniqueNameException";
|
|
114
103
|
const _ITM = "IntentTextMatch";
|
|
115
104
|
const _ITMO = "IntentTextMatchOption";
|
|
116
105
|
const _ITMOL = "IntentTextMatchOptionsList";
|
|
@@ -132,14 +121,13 @@ const _LPO = "ListProfilesOutput";
|
|
|
132
121
|
const _LPV = "ListProfileVersions";
|
|
133
122
|
const _LPVI = "ListProfileVersionsInput";
|
|
134
123
|
const _LPVO = "ListProfileVersionsOutput";
|
|
124
|
+
const _NFE = "NotFoundException";
|
|
135
125
|
const _NTPE = "NothingToPublishException";
|
|
136
126
|
const _P = "Profile";
|
|
137
127
|
const _PCC = "PlaybookCompletionCriteria";
|
|
138
128
|
const _PI = "ProfileInfo";
|
|
139
129
|
const _PIL = "ProfileInfoList";
|
|
140
130
|
const _PMC = "PlaybookManualCompletion";
|
|
141
|
-
const _PNFE = "ProfileNotFoundException";
|
|
142
|
-
const _PNUNE = "ProfileNonUniqueNameException";
|
|
143
131
|
const _PPV = "PublishProfileVersion";
|
|
144
132
|
const _PPVI = "PublishProfileVersionInput";
|
|
145
133
|
const _PPVO = "PublishProfileVersionOutput";
|
|
@@ -151,7 +139,6 @@ const _PVC = "ProfileVersionChange";
|
|
|
151
139
|
const _PVCL = "ProfileVersionChangesList";
|
|
152
140
|
const _PVI = "ProfileVersionInfo";
|
|
153
141
|
const _PVIL = "ProfileVersionInfoList";
|
|
154
|
-
const _PVNFE = "ProfileVersionNotFoundException";
|
|
155
142
|
const _RCE = "RevisionConflictException";
|
|
156
143
|
const _RPVTD = "RestoreProfileVersionToDraft";
|
|
157
144
|
const _RPVTDI = "RestoreProfileVersionToDraftInput";
|
|
@@ -350,20 +337,31 @@ const n0 = "smithy.framework";
|
|
|
350
337
|
const n1 = "wildix.wilma.common";
|
|
351
338
|
const n2 = "wildix.wilma.copilot";
|
|
352
339
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
353
|
-
import {
|
|
340
|
+
import { ConflictException, ForbiddenException, NotFoundException, NothingToPublishException, RevisionConflictException, ValidationException, } from "../models/errors";
|
|
354
341
|
import { WilmaCopilotServiceException } from "../models/WilmaCopilotServiceException";
|
|
355
342
|
const _s_registry = TypeRegistry.for(_s);
|
|
356
343
|
export var WilmaCopilotServiceException$ = [-3, _s, "WilmaCopilotServiceException", 0, [], []];
|
|
357
344
|
_s_registry.registerError(WilmaCopilotServiceException$, WilmaCopilotServiceException);
|
|
358
345
|
const n0_registry = TypeRegistry.for(n0);
|
|
359
346
|
const n1_registry = TypeRegistry.for(n1);
|
|
360
|
-
|
|
347
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
348
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
349
|
+
[_m],
|
|
350
|
+
[0], 1
|
|
351
|
+
];
|
|
352
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
361
353
|
export var ForbiddenException$ = [-3, n0, _FE,
|
|
362
354
|
{ [_e]: _c, [_hE]: 403 },
|
|
363
355
|
[_m],
|
|
364
356
|
[0], 1
|
|
365
357
|
];
|
|
366
358
|
n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
359
|
+
export var NotFoundException$ = [-3, n0, _NFE,
|
|
360
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
361
|
+
[_m],
|
|
362
|
+
[0], 1
|
|
363
|
+
];
|
|
364
|
+
n0_registry.registerError(NotFoundException$, NotFoundException);
|
|
367
365
|
export var ValidationException$ = [-3, n0, _VE,
|
|
368
366
|
{ [_e]: _c, [_hE]: 400 },
|
|
369
367
|
[_m],
|
|
@@ -382,101 +380,10 @@ export var RevisionConflictException$ = [-3, n1, _RCE,
|
|
|
382
380
|
[0, 0, 1], 1
|
|
383
381
|
];
|
|
384
382
|
n1_registry.registerError(RevisionConflictException$, RevisionConflictException);
|
|
385
|
-
export var AssetInUseException$ = [-3, n2, _AIUE,
|
|
386
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
387
|
-
[_m, _t],
|
|
388
|
-
[0, 0], 1
|
|
389
|
-
];
|
|
390
|
-
n2_registry.registerError(AssetInUseException$, AssetInUseException);
|
|
391
|
-
export var AssetNonUniqueNameException$ = [-3, n2, _ANUNE,
|
|
392
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
393
|
-
[_m, _t],
|
|
394
|
-
[0, 0], 1
|
|
395
|
-
];
|
|
396
|
-
n2_registry.registerError(AssetNonUniqueNameException$, AssetNonUniqueNameException);
|
|
397
|
-
export var AssetNotFoundException$ = [-3, n2, _ANFE,
|
|
398
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
399
|
-
[_m, _t],
|
|
400
|
-
[0, 0], 1
|
|
401
|
-
];
|
|
402
|
-
n2_registry.registerError(AssetNotFoundException$, AssetNotFoundException);
|
|
403
|
-
export var AutomationInUseException$ = [-3, n2, _AIUEu,
|
|
404
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
405
|
-
[_m, _t],
|
|
406
|
-
[0, 0], 1
|
|
407
|
-
];
|
|
408
|
-
n2_registry.registerError(AutomationInUseException$, AutomationInUseException);
|
|
409
|
-
export var AutomationNonUniqueNameException$ = [-3, n2, _ANUNEu,
|
|
410
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
411
|
-
[_m, _t],
|
|
412
|
-
[0, 0], 1
|
|
413
|
-
];
|
|
414
|
-
n2_registry.registerError(AutomationNonUniqueNameException$, AutomationNonUniqueNameException);
|
|
415
|
-
export var AutomationNotFoundException$ = [-3, n2, _ANFEu,
|
|
416
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
417
|
-
[_m, _t],
|
|
418
|
-
[0, 0], 1
|
|
419
|
-
];
|
|
420
|
-
n2_registry.registerError(AutomationNotFoundException$, AutomationNotFoundException);
|
|
421
|
-
export var EvaluationInUseException$ = [-3, n2, _EIUE,
|
|
422
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
423
|
-
[_m, _t],
|
|
424
|
-
[0, 0], 1
|
|
425
|
-
];
|
|
426
|
-
n2_registry.registerError(EvaluationInUseException$, EvaluationInUseException);
|
|
427
|
-
export var EvaluationNonUniqueNameException$ = [-3, n2, _ENUNE,
|
|
428
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
429
|
-
[_m, _t],
|
|
430
|
-
[0, 0], 1
|
|
431
|
-
];
|
|
432
|
-
n2_registry.registerError(EvaluationNonUniqueNameException$, EvaluationNonUniqueNameException);
|
|
433
|
-
export var EvaluationNotFoundException$ = [-3, n2, _ENFE,
|
|
434
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
435
|
-
[_m, _t],
|
|
436
|
-
[0, 0], 1
|
|
437
|
-
];
|
|
438
|
-
n2_registry.registerError(EvaluationNotFoundException$, EvaluationNotFoundException);
|
|
439
|
-
export var IntentInUseException$ = [-3, n2, _IIUE,
|
|
440
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
441
|
-
[_m, _t],
|
|
442
|
-
[0, 0], 1
|
|
443
|
-
];
|
|
444
|
-
n2_registry.registerError(IntentInUseException$, IntentInUseException);
|
|
445
|
-
export var IntentNonUniqueNameException$ = [-3, n2, _INUNE,
|
|
446
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
447
|
-
[_m, _t],
|
|
448
|
-
[0, 0], 1
|
|
449
|
-
];
|
|
450
|
-
n2_registry.registerError(IntentNonUniqueNameException$, IntentNonUniqueNameException);
|
|
451
|
-
export var IntentNotFoundException$ = [-3, n2, _INFE,
|
|
452
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
453
|
-
[_m, _t],
|
|
454
|
-
[0, 0], 1
|
|
455
|
-
];
|
|
456
|
-
n2_registry.registerError(IntentNotFoundException$, IntentNotFoundException);
|
|
457
|
-
export var ProfileNonUniqueNameException$ = [-3, n2, _PNUNE,
|
|
458
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
459
|
-
[_m, _t],
|
|
460
|
-
[0, 0], 1
|
|
461
|
-
];
|
|
462
|
-
n2_registry.registerError(ProfileNonUniqueNameException$, ProfileNonUniqueNameException);
|
|
463
|
-
export var ProfileNotFoundException$ = [-3, n2, _PNFE,
|
|
464
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
465
|
-
[_m, _t],
|
|
466
|
-
[0, 0], 1
|
|
467
|
-
];
|
|
468
|
-
n2_registry.registerError(ProfileNotFoundException$, ProfileNotFoundException);
|
|
469
|
-
export var ProfileVersionNotFoundException$ = [-3, n2, _PVNFE,
|
|
470
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
471
|
-
[_m, _t],
|
|
472
|
-
[0, 0], 1
|
|
473
|
-
];
|
|
474
|
-
n2_registry.registerError(ProfileVersionNotFoundException$, ProfileVersionNotFoundException);
|
|
475
383
|
export const errorTypeRegistries = [
|
|
476
384
|
_s_registry,
|
|
477
385
|
n0_registry,
|
|
478
386
|
n1_registry,
|
|
479
|
-
n2_registry,
|
|
480
387
|
];
|
|
481
388
|
export var Actor$ = [3, n1, _A,
|
|
482
389
|
0,
|
|
@@ -1138,7 +1045,7 @@ export var CreateAsset$ = [9, n2, _CAr,
|
|
|
1138
1045
|
export var CreateAutomation$ = [9, n2, _CAre,
|
|
1139
1046
|
{ [_ht]: ["POST", "/v2/copilot/automations", 200] }, () => CreateAutomationInput$, () => CreateAutomationOutput$
|
|
1140
1047
|
];
|
|
1141
|
-
export var CreateEvaluation$ = [9, n2,
|
|
1048
|
+
export var CreateEvaluation$ = [9, n2, _CEr,
|
|
1142
1049
|
{ [_ht]: ["POST", "/v2/copilot/evaluations", 200] }, () => CreateEvaluationInput$, () => CreateEvaluationOutput$
|
|
1143
1050
|
];
|
|
1144
1051
|
export var CreateIntent$ = [9, n2, _CI,
|
|
@@ -139,7 +139,7 @@ declare const AttachProfileResourceCommand_base: {
|
|
|
139
139
|
*
|
|
140
140
|
* @throws {@link ValidationException} (client fault)
|
|
141
141
|
*
|
|
142
|
-
* @throws {@link
|
|
142
|
+
* @throws {@link NotFoundException} (client fault)
|
|
143
143
|
*
|
|
144
144
|
* @throws {@link RevisionConflictException} (client fault)
|
|
145
145
|
* The resource was modified concurrently; re-read it and retry with the latest revision.
|
|
@@ -64,9 +64,7 @@ declare const CompareProfileVersionsCommand_base: {
|
|
|
64
64
|
* @see {@link CompareProfileVersionsCommandOutput} for command's `response` shape.
|
|
65
65
|
* @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link ProfileVersionNotFoundException} (client fault)
|
|
67
|
+
* @throws {@link NotFoundException} (client fault)
|
|
70
68
|
*
|
|
71
69
|
* @throws {@link ValidationException} (client fault)
|
|
72
70
|
*
|
|
@@ -303,7 +303,8 @@ declare const CreateAssetCommand_base: {
|
|
|
303
303
|
*
|
|
304
304
|
* @throws {@link ValidationException} (client fault)
|
|
305
305
|
*
|
|
306
|
-
* @throws {@link
|
|
306
|
+
* @throws {@link ConflictException} (client fault)
|
|
307
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
307
308
|
*
|
|
308
309
|
* @throws {@link WilmaCopilotServiceException}
|
|
309
310
|
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
@@ -112,7 +112,8 @@ declare const CreateAutomationCommand_base: {
|
|
|
112
112
|
*
|
|
113
113
|
* @throws {@link ValidationException} (client fault)
|
|
114
114
|
*
|
|
115
|
-
* @throws {@link
|
|
115
|
+
* @throws {@link ConflictException} (client fault)
|
|
116
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
116
117
|
*
|
|
117
118
|
* @throws {@link WilmaCopilotServiceException}
|
|
118
119
|
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
@@ -171,7 +171,8 @@ declare const CreateEvaluationCommand_base: {
|
|
|
171
171
|
*
|
|
172
172
|
* @throws {@link ValidationException} (client fault)
|
|
173
173
|
*
|
|
174
|
-
* @throws {@link
|
|
174
|
+
* @throws {@link ConflictException} (client fault)
|
|
175
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
175
176
|
*
|
|
176
177
|
* @throws {@link WilmaCopilotServiceException}
|
|
177
178
|
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
@@ -179,7 +179,8 @@ declare const CreateIntentCommand_base: {
|
|
|
179
179
|
*
|
|
180
180
|
* @throws {@link ValidationException} (client fault)
|
|
181
181
|
*
|
|
182
|
-
* @throws {@link
|
|
182
|
+
* @throws {@link ConflictException} (client fault)
|
|
183
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
183
184
|
*
|
|
184
185
|
* @throws {@link WilmaCopilotServiceException}
|
|
185
186
|
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
@@ -158,7 +158,8 @@ declare const CreateProfileCommand_base: {
|
|
|
158
158
|
*
|
|
159
159
|
* @throws {@link ValidationException} (client fault)
|
|
160
160
|
*
|
|
161
|
-
* @throws {@link
|
|
161
|
+
* @throws {@link ConflictException} (client fault)
|
|
162
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
162
163
|
*
|
|
163
164
|
* @throws {@link WilmaCopilotServiceException}
|
|
164
165
|
* <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
|
|
@@ -27,7 +27,7 @@ declare const DeleteAssetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Deletes an asset and removes it from every profile draft that references it. Fails with
|
|
30
|
+
* Deletes an asset and removes it from every profile draft that references it. Fails with ConflictException when a profile draft still references it and detach is not allowed.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -55,10 +55,10 @@ declare const DeleteAssetCommand_base: {
|
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ForbiddenException} (client fault)
|
|
57
57
|
*
|
|
58
|
-
* @throws {@link
|
|
58
|
+
* @throws {@link NotFoundException} (client fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link
|
|
61
|
-
* The
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
@@ -27,7 +27,7 @@ declare const DeleteAutomationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Deletes an automation and removes it from every profile draft that references it. Fails with
|
|
30
|
+
* Deletes an automation and removes it from every profile draft that references it. Fails with ConflictException when a profile draft still references it and detach is not allowed.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -55,10 +55,10 @@ declare const DeleteAutomationCommand_base: {
|
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ForbiddenException} (client fault)
|
|
57
57
|
*
|
|
58
|
-
* @throws {@link
|
|
58
|
+
* @throws {@link NotFoundException} (client fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link
|
|
61
|
-
* The
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
@@ -27,7 +27,7 @@ declare const DeleteEvaluationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Deletes an evaluation and removes it from every profile draft that references it. Fails with
|
|
30
|
+
* Deletes an evaluation and removes it from every profile draft that references it. Fails with ConflictException when a profile draft still references it and detach is not allowed.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -55,10 +55,10 @@ declare const DeleteEvaluationCommand_base: {
|
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ForbiddenException} (client fault)
|
|
57
57
|
*
|
|
58
|
-
* @throws {@link
|
|
58
|
+
* @throws {@link NotFoundException} (client fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link
|
|
61
|
-
* The
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
@@ -27,7 +27,7 @@ declare const DeleteIntentCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Deletes an intent and removes it from every profile draft that references it. Fails with
|
|
30
|
+
* Deletes an intent and removes it from every profile draft that references it. Fails with ConflictException when a profile draft still references it and detach is not allowed.
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -55,10 +55,10 @@ declare const DeleteIntentCommand_base: {
|
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ForbiddenException} (client fault)
|
|
57
57
|
*
|
|
58
|
-
* @throws {@link
|
|
58
|
+
* @throws {@link NotFoundException} (client fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link
|
|
61
|
-
* The
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
@@ -54,7 +54,7 @@ declare const DeleteProfileCommand_base: {
|
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ForbiddenException} (client fault)
|
|
56
56
|
*
|
|
57
|
-
* @throws {@link
|
|
57
|
+
* @throws {@link NotFoundException} (client fault)
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ValidationException} (client fault)
|
|
60
60
|
*
|
|
@@ -121,7 +121,7 @@ declare const DeleteProfileResourceCommand_base: {
|
|
|
121
121
|
*
|
|
122
122
|
* @throws {@link ValidationException} (client fault)
|
|
123
123
|
*
|
|
124
|
-
* @throws {@link
|
|
124
|
+
* @throws {@link NotFoundException} (client fault)
|
|
125
125
|
*
|
|
126
126
|
* @throws {@link RevisionConflictException} (client fault)
|
|
127
127
|
* The resource was modified concurrently; re-read it and retry with the latest revision.
|
|
@@ -187,7 +187,7 @@ declare const GetAssetCommand_base: {
|
|
|
187
187
|
*
|
|
188
188
|
* @throws {@link ForbiddenException} (client fault)
|
|
189
189
|
*
|
|
190
|
-
* @throws {@link
|
|
190
|
+
* @throws {@link NotFoundException} (client fault)
|
|
191
191
|
*
|
|
192
192
|
* @throws {@link ValidationException} (client fault)
|
|
193
193
|
*
|
|
@@ -91,7 +91,7 @@ declare const GetAutomationCommand_base: {
|
|
|
91
91
|
*
|
|
92
92
|
* @throws {@link ForbiddenException} (client fault)
|
|
93
93
|
*
|
|
94
|
-
* @throws {@link
|
|
94
|
+
* @throws {@link NotFoundException} (client fault)
|
|
95
95
|
*
|
|
96
96
|
* @throws {@link ValidationException} (client fault)
|
|
97
97
|
*
|