@aws-sdk/client-qconnect 3.934.0 → 3.936.0
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/index.js +0 -385
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +139 -0
- package/dist-es/models/models_0.js +0 -125
- package/dist-es/models/models_1.js +0 -15
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateMessageTemplateCommand.d.ts +1 -2
- package/dist-types/commands/CreateMessageTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +2 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/errors.d.ts +146 -0
- package/dist-types/models/models_0.d.ts +416 -129
- package/dist-types/models/models_1.d.ts +1 -436
- package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateMessageTemplateVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +2 -4
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/errors.d.ts +81 -0
- package/dist-types/ts3.4/models/models_0.d.ts +102 -73
- package/dist-types/ts3.4/models/models_1.d.ts +4 -114
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
package/dist-cjs/index.js
CHANGED
|
@@ -180,37 +180,6 @@ let ValidationException$1 = class ValidationException extends QConnectServiceExc
|
|
|
180
180
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
181
181
|
}
|
|
182
182
|
};
|
|
183
|
-
const KnowledgeBaseSearchType = {
|
|
184
|
-
HYBRID: "HYBRID",
|
|
185
|
-
SEMANTIC: "SEMANTIC",
|
|
186
|
-
};
|
|
187
|
-
const AIAgentAssociationConfigurationType = {
|
|
188
|
-
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
189
|
-
};
|
|
190
|
-
const AIAgentType = {
|
|
191
|
-
ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION",
|
|
192
|
-
EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER",
|
|
193
|
-
EMAIL_OVERVIEW: "EMAIL_OVERVIEW",
|
|
194
|
-
EMAIL_RESPONSE: "EMAIL_RESPONSE",
|
|
195
|
-
MANUAL_SEARCH: "MANUAL_SEARCH",
|
|
196
|
-
SELF_SERVICE: "SELF_SERVICE",
|
|
197
|
-
};
|
|
198
|
-
const VisibilityStatus = {
|
|
199
|
-
PUBLISHED: "PUBLISHED",
|
|
200
|
-
SAVED: "SAVED",
|
|
201
|
-
};
|
|
202
|
-
const Origin = {
|
|
203
|
-
CUSTOMER: "CUSTOMER",
|
|
204
|
-
SYSTEM: "SYSTEM",
|
|
205
|
-
};
|
|
206
|
-
const Status = {
|
|
207
|
-
ACTIVE: "ACTIVE",
|
|
208
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
209
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
210
|
-
DELETED: "DELETED",
|
|
211
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
212
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
213
|
-
};
|
|
214
183
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends QConnectServiceException$1 {
|
|
215
184
|
name = "ServiceQuotaExceededException";
|
|
216
185
|
$fault = "client";
|
|
@@ -235,165 +204,6 @@ let UnauthorizedException$1 = class UnauthorizedException extends QConnectServic
|
|
|
235
204
|
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
236
205
|
}
|
|
237
206
|
};
|
|
238
|
-
const GuardrailFilterStrength$1 = {
|
|
239
|
-
HIGH: "HIGH",
|
|
240
|
-
LOW: "LOW",
|
|
241
|
-
MEDIUM: "MEDIUM",
|
|
242
|
-
NONE: "NONE",
|
|
243
|
-
};
|
|
244
|
-
const GuardrailContentFilterType$1 = {
|
|
245
|
-
HATE: "HATE",
|
|
246
|
-
INSULTS: "INSULTS",
|
|
247
|
-
MISCONDUCT: "MISCONDUCT",
|
|
248
|
-
PROMPT_ATTACK: "PROMPT_ATTACK",
|
|
249
|
-
SEXUAL: "SEXUAL",
|
|
250
|
-
VIOLENCE: "VIOLENCE",
|
|
251
|
-
};
|
|
252
|
-
const GuardrailContextualGroundingFilterType$1 = {
|
|
253
|
-
GROUNDING: "GROUNDING",
|
|
254
|
-
RELEVANCE: "RELEVANCE",
|
|
255
|
-
};
|
|
256
|
-
const GuardrailSensitiveInformationAction$1 = {
|
|
257
|
-
ANONYMIZE: "ANONYMIZE",
|
|
258
|
-
BLOCK: "BLOCK",
|
|
259
|
-
};
|
|
260
|
-
const GuardrailPiiEntityType$1 = {
|
|
261
|
-
ADDRESS: "ADDRESS",
|
|
262
|
-
AGE: "AGE",
|
|
263
|
-
AWS_ACCESS_KEY: "AWS_ACCESS_KEY",
|
|
264
|
-
AWS_SECRET_KEY: "AWS_SECRET_KEY",
|
|
265
|
-
CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER",
|
|
266
|
-
CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER",
|
|
267
|
-
CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV",
|
|
268
|
-
CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY",
|
|
269
|
-
CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER",
|
|
270
|
-
DRIVER_ID: "DRIVER_ID",
|
|
271
|
-
EMAIL: "EMAIL",
|
|
272
|
-
INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
|
|
273
|
-
IP_ADDRESS: "IP_ADDRESS",
|
|
274
|
-
LICENSE_PLATE: "LICENSE_PLATE",
|
|
275
|
-
MAC_ADDRESS: "MAC_ADDRESS",
|
|
276
|
-
NAME: "NAME",
|
|
277
|
-
PASSWORD: "PASSWORD",
|
|
278
|
-
PHONE: "PHONE",
|
|
279
|
-
PIN: "PIN",
|
|
280
|
-
SWIFT_CODE: "SWIFT_CODE",
|
|
281
|
-
UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
|
|
282
|
-
UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER",
|
|
283
|
-
UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
|
|
284
|
-
URL: "URL",
|
|
285
|
-
USERNAME: "USERNAME",
|
|
286
|
-
US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER",
|
|
287
|
-
US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER",
|
|
288
|
-
US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
|
|
289
|
-
US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER",
|
|
290
|
-
US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER",
|
|
291
|
-
VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER",
|
|
292
|
-
};
|
|
293
|
-
const GuardrailTopicType$1 = {
|
|
294
|
-
DENY: "DENY",
|
|
295
|
-
};
|
|
296
|
-
const GuardrailManagedWordsType$1 = {
|
|
297
|
-
PROFANITY: "PROFANITY",
|
|
298
|
-
};
|
|
299
|
-
const AIPromptAPIFormat = {
|
|
300
|
-
ANTHROPIC_CLAUDE_MESSAGES: "ANTHROPIC_CLAUDE_MESSAGES",
|
|
301
|
-
ANTHROPIC_CLAUDE_TEXT_COMPLETIONS: "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS",
|
|
302
|
-
MESSAGES: "MESSAGES",
|
|
303
|
-
TEXT_COMPLETIONS: "TEXT_COMPLETIONS",
|
|
304
|
-
};
|
|
305
|
-
const AIPromptTemplateType = {
|
|
306
|
-
TEXT: "TEXT",
|
|
307
|
-
};
|
|
308
|
-
const AIPromptType = {
|
|
309
|
-
ANSWER_GENERATION: "ANSWER_GENERATION",
|
|
310
|
-
EMAIL_GENERATIVE_ANSWER: "EMAIL_GENERATIVE_ANSWER",
|
|
311
|
-
EMAIL_OVERVIEW: "EMAIL_OVERVIEW",
|
|
312
|
-
EMAIL_QUERY_REFORMULATION: "EMAIL_QUERY_REFORMULATION",
|
|
313
|
-
EMAIL_RESPONSE: "EMAIL_RESPONSE",
|
|
314
|
-
INTENT_LABELING_GENERATION: "INTENT_LABELING_GENERATION",
|
|
315
|
-
QUERY_REFORMULATION: "QUERY_REFORMULATION",
|
|
316
|
-
SELF_SERVICE_ANSWER_GENERATION: "SELF_SERVICE_ANSWER_GENERATION",
|
|
317
|
-
SELF_SERVICE_PRE_PROCESSING: "SELF_SERVICE_PRE_PROCESSING",
|
|
318
|
-
};
|
|
319
|
-
const AssociationType = {
|
|
320
|
-
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
321
|
-
};
|
|
322
|
-
const AssistantType = {
|
|
323
|
-
AGENT: "AGENT",
|
|
324
|
-
};
|
|
325
|
-
const AssistantCapabilityType = {
|
|
326
|
-
V1: "V1",
|
|
327
|
-
V2: "V2",
|
|
328
|
-
};
|
|
329
|
-
const AssistantStatus = {
|
|
330
|
-
ACTIVE: "ACTIVE",
|
|
331
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
332
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
333
|
-
DELETED: "DELETED",
|
|
334
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
335
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
336
|
-
};
|
|
337
|
-
const RelevanceLevel = {
|
|
338
|
-
HIGH: "HIGH",
|
|
339
|
-
LOW: "LOW",
|
|
340
|
-
MEDIUM: "MEDIUM",
|
|
341
|
-
};
|
|
342
|
-
const SourceContentType = {
|
|
343
|
-
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
344
|
-
};
|
|
345
|
-
const ReferenceType = {
|
|
346
|
-
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
347
|
-
WEB_CRAWLER: "WEB_CRAWLER",
|
|
348
|
-
};
|
|
349
|
-
const RecommendationType = {
|
|
350
|
-
BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
|
|
351
|
-
BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
|
|
352
|
-
DETECTED_INTENT: "DETECTED_INTENT",
|
|
353
|
-
EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK",
|
|
354
|
-
EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK",
|
|
355
|
-
EMAIL_RESPONSE_CHUNK: "EMAIL_RESPONSE_CHUNK",
|
|
356
|
-
GENERATIVE_ANSWER: "GENERATIVE_ANSWER",
|
|
357
|
-
GENERATIVE_ANSWER_CHUNK: "GENERATIVE_ANSWER_CHUNK",
|
|
358
|
-
GENERATIVE_RESPONSE: "GENERATIVE_RESPONSE",
|
|
359
|
-
INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
|
|
360
|
-
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
361
|
-
};
|
|
362
|
-
const RecommendationSourceType = {
|
|
363
|
-
ISSUE_DETECTION: "ISSUE_DETECTION",
|
|
364
|
-
OTHER: "OTHER",
|
|
365
|
-
RULE_EVALUATION: "RULE_EVALUATION",
|
|
366
|
-
};
|
|
367
|
-
const RecommendationTriggerType = {
|
|
368
|
-
GENERATIVE: "GENERATIVE",
|
|
369
|
-
QUERY: "QUERY",
|
|
370
|
-
};
|
|
371
|
-
const Relevance = {
|
|
372
|
-
HELPFUL: "HELPFUL",
|
|
373
|
-
NOT_HELPFUL: "NOT_HELPFUL",
|
|
374
|
-
};
|
|
375
|
-
const TargetType = {
|
|
376
|
-
RECOMMENDATION: "RECOMMENDATION",
|
|
377
|
-
RESULT: "RESULT",
|
|
378
|
-
};
|
|
379
|
-
const QueryConditionComparisonOperator = {
|
|
380
|
-
EQUALS: "EQUALS",
|
|
381
|
-
};
|
|
382
|
-
const QueryConditionFieldName = {
|
|
383
|
-
RESULT_TYPE: "RESULT_TYPE",
|
|
384
|
-
};
|
|
385
|
-
const QueryResultType = {
|
|
386
|
-
BLOCKED_GENERATIVE_ANSWER_CHUNK: "BLOCKED_GENERATIVE_ANSWER_CHUNK",
|
|
387
|
-
BLOCKED_INTENT_ANSWER_CHUNK: "BLOCKED_INTENT_ANSWER_CHUNK",
|
|
388
|
-
EMAIL_GENERATIVE_ANSWER_CHUNK: "EMAIL_GENERATIVE_ANSWER_CHUNK",
|
|
389
|
-
EMAIL_OVERVIEW_CHUNK: "EMAIL_OVERVIEW_CHUNK",
|
|
390
|
-
EMAIL_RESPONSE_CHUNK: "EMAIL_RESPONSE_CHUNK",
|
|
391
|
-
GENERATIVE_ANSWER: "GENERATIVE_ANSWER",
|
|
392
|
-
GENERATIVE_ANSWER_CHUNK: "GENERATIVE_ANSWER_CHUNK",
|
|
393
|
-
INTENT_ANSWER: "INTENT_ANSWER",
|
|
394
|
-
INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
|
|
395
|
-
KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
|
|
396
|
-
};
|
|
397
207
|
let RequestTimeoutException$1 = class RequestTimeoutException extends QConnectServiceException$1 {
|
|
398
208
|
name = "RequestTimeoutException";
|
|
399
209
|
$fault = "client";
|
|
@@ -407,12 +217,6 @@ let RequestTimeoutException$1 = class RequestTimeoutException extends QConnectSe
|
|
|
407
217
|
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
408
218
|
}
|
|
409
219
|
};
|
|
410
|
-
const FilterField = {
|
|
411
|
-
NAME: "NAME",
|
|
412
|
-
};
|
|
413
|
-
const FilterOperator = {
|
|
414
|
-
EQUALS: "EQUALS",
|
|
415
|
-
};
|
|
416
220
|
let DependencyFailedException$1 = class DependencyFailedException extends QConnectServiceException$1 {
|
|
417
221
|
name = "DependencyFailedException";
|
|
418
222
|
$fault = "client";
|
|
@@ -425,49 +229,6 @@ let DependencyFailedException$1 = class DependencyFailedException extends QConne
|
|
|
425
229
|
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
426
230
|
}
|
|
427
231
|
};
|
|
428
|
-
const ConversationStatusReason = {
|
|
429
|
-
FAILED: "FAILED",
|
|
430
|
-
REJECTED: "REJECTED",
|
|
431
|
-
SUCCESS: "SUCCESS",
|
|
432
|
-
};
|
|
433
|
-
const ConversationStatus = {
|
|
434
|
-
CLOSED: "CLOSED",
|
|
435
|
-
PROCESSING: "PROCESSING",
|
|
436
|
-
READY: "READY",
|
|
437
|
-
};
|
|
438
|
-
const Participant = {
|
|
439
|
-
AGENT: "AGENT",
|
|
440
|
-
BOT: "BOT",
|
|
441
|
-
CUSTOMER: "CUSTOMER",
|
|
442
|
-
};
|
|
443
|
-
const MessageType = {
|
|
444
|
-
TEXT: "TEXT",
|
|
445
|
-
};
|
|
446
|
-
const SessionDataNamespace = {
|
|
447
|
-
Custom: "Custom",
|
|
448
|
-
};
|
|
449
|
-
const ChannelSubtype = {
|
|
450
|
-
EMAIL: "EMAIL",
|
|
451
|
-
SMS: "SMS",
|
|
452
|
-
};
|
|
453
|
-
const ChunkingStrategy = {
|
|
454
|
-
FIXED_SIZE: "FIXED_SIZE",
|
|
455
|
-
HIERARCHICAL: "HIERARCHICAL",
|
|
456
|
-
NONE: "NONE",
|
|
457
|
-
SEMANTIC: "SEMANTIC",
|
|
458
|
-
};
|
|
459
|
-
const ContentAssociationType = {
|
|
460
|
-
AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE",
|
|
461
|
-
};
|
|
462
|
-
const ContentStatus = {
|
|
463
|
-
ACTIVE: "ACTIVE",
|
|
464
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
465
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
466
|
-
DELETED: "DELETED",
|
|
467
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
468
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
469
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
470
|
-
};
|
|
471
232
|
let PreconditionFailedException$1 = class PreconditionFailedException extends QConnectServiceException$1 {
|
|
472
233
|
name = "PreconditionFailedException";
|
|
473
234
|
$fault = "client";
|
|
@@ -480,93 +241,6 @@ let PreconditionFailedException$1 = class PreconditionFailedException extends QC
|
|
|
480
241
|
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
481
242
|
}
|
|
482
243
|
};
|
|
483
|
-
const ContentDisposition = {
|
|
484
|
-
ATTACHMENT: "ATTACHMENT",
|
|
485
|
-
};
|
|
486
|
-
const KnowledgeBaseType = {
|
|
487
|
-
CUSTOM: "CUSTOM",
|
|
488
|
-
EXTERNAL: "EXTERNAL",
|
|
489
|
-
MANAGED: "MANAGED",
|
|
490
|
-
MESSAGE_TEMPLATES: "MESSAGE_TEMPLATES",
|
|
491
|
-
QUICK_RESPONSES: "QUICK_RESPONSES",
|
|
492
|
-
};
|
|
493
|
-
const WebScopeType = {
|
|
494
|
-
HOST_ONLY: "HOST_ONLY",
|
|
495
|
-
SUBDOMAINS: "SUBDOMAINS",
|
|
496
|
-
};
|
|
497
|
-
const ParsingStrategy = {
|
|
498
|
-
BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL",
|
|
499
|
-
};
|
|
500
|
-
const SyncStatus = {
|
|
501
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
502
|
-
SYNCING_IN_PROGRESS: "SYNCING_IN_PROGRESS",
|
|
503
|
-
SYNC_FAILED: "SYNC_FAILED",
|
|
504
|
-
SYNC_SUCCESS: "SYNC_SUCCESS",
|
|
505
|
-
};
|
|
506
|
-
const KnowledgeBaseStatus = {
|
|
507
|
-
ACTIVE: "ACTIVE",
|
|
508
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
509
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
510
|
-
DELETED: "DELETED",
|
|
511
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
512
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
513
|
-
};
|
|
514
|
-
const MessageTemplateAttributeType = {
|
|
515
|
-
AGENT: "AGENT",
|
|
516
|
-
CUSTOM: "CUSTOM",
|
|
517
|
-
CUSTOMER_PROFILE: "CUSTOMER_PROFILE",
|
|
518
|
-
SYSTEM: "SYSTEM",
|
|
519
|
-
};
|
|
520
|
-
|
|
521
|
-
const QuickResponseStatus = {
|
|
522
|
-
CREATED: "CREATED",
|
|
523
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
524
|
-
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
525
|
-
DELETED: "DELETED",
|
|
526
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
527
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
528
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
529
|
-
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
530
|
-
};
|
|
531
|
-
const ExternalSource = {
|
|
532
|
-
AMAZON_CONNECT: "AMAZON_CONNECT",
|
|
533
|
-
};
|
|
534
|
-
const ImportJobType = {
|
|
535
|
-
QUICK_RESPONSES: "QUICK_RESPONSES",
|
|
536
|
-
};
|
|
537
|
-
const ImportJobStatus = {
|
|
538
|
-
COMPLETE: "COMPLETE",
|
|
539
|
-
DELETED: "DELETED",
|
|
540
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
541
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
542
|
-
FAILED: "FAILED",
|
|
543
|
-
START_IN_PROGRESS: "START_IN_PROGRESS",
|
|
544
|
-
};
|
|
545
|
-
const MessageTemplateFilterOperator = {
|
|
546
|
-
EQUALS: "EQUALS",
|
|
547
|
-
PREFIX: "PREFIX",
|
|
548
|
-
};
|
|
549
|
-
const Order = {
|
|
550
|
-
ASC: "ASC",
|
|
551
|
-
DESC: "DESC",
|
|
552
|
-
};
|
|
553
|
-
const MessageTemplateQueryOperator = {
|
|
554
|
-
CONTAINS: "CONTAINS",
|
|
555
|
-
CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX",
|
|
556
|
-
};
|
|
557
|
-
const Priority = {
|
|
558
|
-
HIGH: "HIGH",
|
|
559
|
-
LOW: "LOW",
|
|
560
|
-
MEDIUM: "MEDIUM",
|
|
561
|
-
};
|
|
562
|
-
const QuickResponseFilterOperator = {
|
|
563
|
-
EQUALS: "EQUALS",
|
|
564
|
-
PREFIX: "PREFIX",
|
|
565
|
-
};
|
|
566
|
-
const QuickResponseQueryOperator = {
|
|
567
|
-
CONTAINS: "CONTAINS",
|
|
568
|
-
CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX",
|
|
569
|
-
};
|
|
570
244
|
let TooManyTagsException$1 = class TooManyTagsException extends QConnectServiceException$1 {
|
|
571
245
|
name = "TooManyTagsException";
|
|
572
246
|
$fault = "client";
|
|
@@ -6782,25 +6456,9 @@ Object.defineProperty(exports, "__Client", {
|
|
|
6782
6456
|
enumerable: true,
|
|
6783
6457
|
get: function () { return smithyClient.Client; }
|
|
6784
6458
|
});
|
|
6785
|
-
exports.AIAgentAssociationConfigurationType = AIAgentAssociationConfigurationType;
|
|
6786
|
-
exports.AIAgentType = AIAgentType;
|
|
6787
|
-
exports.AIPromptAPIFormat = AIPromptAPIFormat;
|
|
6788
|
-
exports.AIPromptTemplateType = AIPromptTemplateType;
|
|
6789
|
-
exports.AIPromptType = AIPromptType;
|
|
6790
6459
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
6791
6460
|
exports.ActivateMessageTemplateCommand = ActivateMessageTemplateCommand;
|
|
6792
|
-
exports.AssistantCapabilityType = AssistantCapabilityType;
|
|
6793
|
-
exports.AssistantStatus = AssistantStatus;
|
|
6794
|
-
exports.AssistantType = AssistantType;
|
|
6795
|
-
exports.AssociationType = AssociationType;
|
|
6796
|
-
exports.ChannelSubtype = ChannelSubtype;
|
|
6797
|
-
exports.ChunkingStrategy = ChunkingStrategy;
|
|
6798
6461
|
exports.ConflictException = ConflictException$1;
|
|
6799
|
-
exports.ContentAssociationType = ContentAssociationType;
|
|
6800
|
-
exports.ContentDisposition = ContentDisposition;
|
|
6801
|
-
exports.ContentStatus = ContentStatus;
|
|
6802
|
-
exports.ConversationStatus = ConversationStatus;
|
|
6803
|
-
exports.ConversationStatusReason = ConversationStatusReason;
|
|
6804
6462
|
exports.CreateAIAgentCommand = CreateAIAgentCommand;
|
|
6805
6463
|
exports.CreateAIAgentVersionCommand = CreateAIAgentVersionCommand;
|
|
6806
6464
|
exports.CreateAIGuardrailCommand = CreateAIGuardrailCommand;
|
|
@@ -6834,9 +6492,6 @@ exports.DeleteMessageTemplateAttachmentCommand = DeleteMessageTemplateAttachment
|
|
|
6834
6492
|
exports.DeleteMessageTemplateCommand = DeleteMessageTemplateCommand;
|
|
6835
6493
|
exports.DeleteQuickResponseCommand = DeleteQuickResponseCommand;
|
|
6836
6494
|
exports.DependencyFailedException = DependencyFailedException$1;
|
|
6837
|
-
exports.ExternalSource = ExternalSource;
|
|
6838
|
-
exports.FilterField = FilterField;
|
|
6839
|
-
exports.FilterOperator = FilterOperator;
|
|
6840
6495
|
exports.GetAIAgentCommand = GetAIAgentCommand;
|
|
6841
6496
|
exports.GetAIGuardrailCommand = GetAIGuardrailCommand;
|
|
6842
6497
|
exports.GetAIPromptCommand = GetAIPromptCommand;
|
|
@@ -6852,18 +6507,6 @@ exports.GetNextMessageCommand = GetNextMessageCommand;
|
|
|
6852
6507
|
exports.GetQuickResponseCommand = GetQuickResponseCommand;
|
|
6853
6508
|
exports.GetRecommendationsCommand = GetRecommendationsCommand;
|
|
6854
6509
|
exports.GetSessionCommand = GetSessionCommand;
|
|
6855
|
-
exports.GuardrailContentFilterType = GuardrailContentFilterType$1;
|
|
6856
|
-
exports.GuardrailContextualGroundingFilterType = GuardrailContextualGroundingFilterType$1;
|
|
6857
|
-
exports.GuardrailFilterStrength = GuardrailFilterStrength$1;
|
|
6858
|
-
exports.GuardrailManagedWordsType = GuardrailManagedWordsType$1;
|
|
6859
|
-
exports.GuardrailPiiEntityType = GuardrailPiiEntityType$1;
|
|
6860
|
-
exports.GuardrailSensitiveInformationAction = GuardrailSensitiveInformationAction$1;
|
|
6861
|
-
exports.GuardrailTopicType = GuardrailTopicType$1;
|
|
6862
|
-
exports.ImportJobStatus = ImportJobStatus;
|
|
6863
|
-
exports.ImportJobType = ImportJobType;
|
|
6864
|
-
exports.KnowledgeBaseSearchType = KnowledgeBaseSearchType;
|
|
6865
|
-
exports.KnowledgeBaseStatus = KnowledgeBaseStatus;
|
|
6866
|
-
exports.KnowledgeBaseType = KnowledgeBaseType;
|
|
6867
6510
|
exports.ListAIAgentVersionsCommand = ListAIAgentVersionsCommand;
|
|
6868
6511
|
exports.ListAIAgentsCommand = ListAIAgentsCommand;
|
|
6869
6512
|
exports.ListAIGuardrailVersionsCommand = ListAIGuardrailVersionsCommand;
|
|
@@ -6881,34 +6524,13 @@ exports.ListMessageTemplatesCommand = ListMessageTemplatesCommand;
|
|
|
6881
6524
|
exports.ListMessagesCommand = ListMessagesCommand;
|
|
6882
6525
|
exports.ListQuickResponsesCommand = ListQuickResponsesCommand;
|
|
6883
6526
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
6884
|
-
exports.MessageTemplateAttributeType = MessageTemplateAttributeType;
|
|
6885
|
-
exports.MessageTemplateFilterOperator = MessageTemplateFilterOperator;
|
|
6886
|
-
exports.MessageTemplateQueryOperator = MessageTemplateQueryOperator;
|
|
6887
|
-
exports.MessageType = MessageType;
|
|
6888
6527
|
exports.NotifyRecommendationsReceivedCommand = NotifyRecommendationsReceivedCommand;
|
|
6889
|
-
exports.Order = Order;
|
|
6890
|
-
exports.Origin = Origin;
|
|
6891
|
-
exports.ParsingStrategy = ParsingStrategy;
|
|
6892
|
-
exports.Participant = Participant;
|
|
6893
6528
|
exports.PreconditionFailedException = PreconditionFailedException$1;
|
|
6894
|
-
exports.Priority = Priority;
|
|
6895
6529
|
exports.PutFeedbackCommand = PutFeedbackCommand;
|
|
6896
6530
|
exports.QConnect = QConnect;
|
|
6897
6531
|
exports.QConnectClient = QConnectClient;
|
|
6898
6532
|
exports.QConnectServiceException = QConnectServiceException$1;
|
|
6899
6533
|
exports.QueryAssistantCommand = QueryAssistantCommand;
|
|
6900
|
-
exports.QueryConditionComparisonOperator = QueryConditionComparisonOperator;
|
|
6901
|
-
exports.QueryConditionFieldName = QueryConditionFieldName;
|
|
6902
|
-
exports.QueryResultType = QueryResultType;
|
|
6903
|
-
exports.QuickResponseFilterOperator = QuickResponseFilterOperator;
|
|
6904
|
-
exports.QuickResponseQueryOperator = QuickResponseQueryOperator;
|
|
6905
|
-
exports.QuickResponseStatus = QuickResponseStatus;
|
|
6906
|
-
exports.RecommendationSourceType = RecommendationSourceType;
|
|
6907
|
-
exports.RecommendationTriggerType = RecommendationTriggerType;
|
|
6908
|
-
exports.RecommendationType = RecommendationType;
|
|
6909
|
-
exports.ReferenceType = ReferenceType;
|
|
6910
|
-
exports.Relevance = Relevance;
|
|
6911
|
-
exports.RelevanceLevel = RelevanceLevel;
|
|
6912
6534
|
exports.RemoveAssistantAIAgentCommand = RemoveAssistantAIAgentCommand;
|
|
6913
6535
|
exports.RemoveKnowledgeBaseTemplateUriCommand = RemoveKnowledgeBaseTemplateUriCommand;
|
|
6914
6536
|
exports.RenderMessageTemplateCommand = RenderMessageTemplateCommand;
|
|
@@ -6920,14 +6542,9 @@ exports.SearchQuickResponsesCommand = SearchQuickResponsesCommand;
|
|
|
6920
6542
|
exports.SearchSessionsCommand = SearchSessionsCommand;
|
|
6921
6543
|
exports.SendMessageCommand = SendMessageCommand;
|
|
6922
6544
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
6923
|
-
exports.SessionDataNamespace = SessionDataNamespace;
|
|
6924
|
-
exports.SourceContentType = SourceContentType;
|
|
6925
6545
|
exports.StartContentUploadCommand = StartContentUploadCommand;
|
|
6926
6546
|
exports.StartImportJobCommand = StartImportJobCommand;
|
|
6927
|
-
exports.Status = Status;
|
|
6928
|
-
exports.SyncStatus = SyncStatus;
|
|
6929
6547
|
exports.TagResourceCommand = TagResourceCommand;
|
|
6930
|
-
exports.TargetType = TargetType;
|
|
6931
6548
|
exports.ThrottlingException = ThrottlingException$1;
|
|
6932
6549
|
exports.TooManyTagsException = TooManyTagsException$1;
|
|
6933
6550
|
exports.UnauthorizedException = UnauthorizedException$1;
|
|
@@ -6944,8 +6561,6 @@ exports.UpdateQuickResponseCommand = UpdateQuickResponseCommand;
|
|
|
6944
6561
|
exports.UpdateSessionCommand = UpdateSessionCommand;
|
|
6945
6562
|
exports.UpdateSessionDataCommand = UpdateSessionDataCommand;
|
|
6946
6563
|
exports.ValidationException = ValidationException$1;
|
|
6947
|
-
exports.VisibilityStatus = VisibilityStatus;
|
|
6948
|
-
exports.WebScopeType = WebScopeType;
|
|
6949
6564
|
exports.paginateListAIAgentVersions = paginateListAIAgentVersions;
|
|
6950
6565
|
exports.paginateListAIAgents = paginateListAIAgents;
|
|
6951
6566
|
exports.paginateListAIGuardrailVersions = paginateListAIGuardrailVersions;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
name = "ResourceNotFoundException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
resourceName;
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "ResourceNotFoundException",
|
|
33
|
+
$fault: "client",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
37
|
+
this.resourceName = opts.resourceName;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export class ThrottlingException extends __BaseException {
|
|
41
|
+
name = "ThrottlingException";
|
|
42
|
+
$fault = "client";
|
|
43
|
+
$retryable = {};
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "ThrottlingException",
|
|
47
|
+
$fault: "client",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export class ValidationException extends __BaseException {
|
|
54
|
+
name = "ValidationException";
|
|
55
|
+
$fault = "client";
|
|
56
|
+
constructor(opts) {
|
|
57
|
+
super({
|
|
58
|
+
name: "ValidationException",
|
|
59
|
+
$fault: "client",
|
|
60
|
+
...opts,
|
|
61
|
+
});
|
|
62
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
66
|
+
name = "ServiceQuotaExceededException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ServiceQuotaExceededException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export class UnauthorizedException extends __BaseException {
|
|
78
|
+
name = "UnauthorizedException";
|
|
79
|
+
$fault = "client";
|
|
80
|
+
constructor(opts) {
|
|
81
|
+
super({
|
|
82
|
+
name: "UnauthorizedException",
|
|
83
|
+
$fault: "client",
|
|
84
|
+
...opts,
|
|
85
|
+
});
|
|
86
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export class RequestTimeoutException extends __BaseException {
|
|
90
|
+
name = "RequestTimeoutException";
|
|
91
|
+
$fault = "client";
|
|
92
|
+
$retryable = {};
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "RequestTimeoutException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class DependencyFailedException extends __BaseException {
|
|
103
|
+
name = "DependencyFailedException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "DependencyFailedException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class PreconditionFailedException extends __BaseException {
|
|
115
|
+
name = "PreconditionFailedException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
constructor(opts) {
|
|
118
|
+
super({
|
|
119
|
+
name: "PreconditionFailedException",
|
|
120
|
+
$fault: "client",
|
|
121
|
+
...opts,
|
|
122
|
+
});
|
|
123
|
+
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
export class TooManyTagsException extends __BaseException {
|
|
127
|
+
name = "TooManyTagsException";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
resourceName;
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "TooManyTagsException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
137
|
+
this.resourceName = opts.resourceName;
|
|
138
|
+
}
|
|
139
|
+
}
|