File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-wisdom/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js31.1 KB · 878 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var WisdomServiceException = require('./models/WisdomServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "wisdom",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class WisdomClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultWisdomHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class CreateAssistantAssociationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "CreateAssistantAssociation", {})    .n("WisdomClient", "CreateAssistantAssociationCommand")    .sc(schemas_0.CreateAssistantAssociation$)    .build() {} class CreateAssistantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "CreateAssistant", {})    .n("WisdomClient", "CreateAssistantCommand")    .sc(schemas_0.CreateAssistant$)    .build() {} class CreateContentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "CreateContent", {})    .n("WisdomClient", "CreateContentCommand")    .sc(schemas_0.CreateContent$)    .build() {} class CreateKnowledgeBaseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "CreateKnowledgeBase", {})    .n("WisdomClient", "CreateKnowledgeBaseCommand")    .sc(schemas_0.CreateKnowledgeBase$)    .build() {} class CreateQuickResponseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "CreateQuickResponse", {})    .n("WisdomClient", "CreateQuickResponseCommand")    .sc(schemas_0.CreateQuickResponse$)    .build() {} class CreateSessionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "CreateSession", {})    .n("WisdomClient", "CreateSessionCommand")    .sc(schemas_0.CreateSession$)    .build() {} class DeleteAssistantAssociationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "DeleteAssistantAssociation", {})    .n("WisdomClient", "DeleteAssistantAssociationCommand")    .sc(schemas_0.DeleteAssistantAssociation$)    .build() {} class DeleteAssistantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "DeleteAssistant", {})    .n("WisdomClient", "DeleteAssistantCommand")    .sc(schemas_0.DeleteAssistant$)    .build() {} class DeleteContentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "DeleteContent", {})    .n("WisdomClient", "DeleteContentCommand")    .sc(schemas_0.DeleteContent$)    .build() {} class DeleteImportJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "DeleteImportJob", {})    .n("WisdomClient", "DeleteImportJobCommand")    .sc(schemas_0.DeleteImportJob$)    .build() {} class DeleteKnowledgeBaseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "DeleteKnowledgeBase", {})    .n("WisdomClient", "DeleteKnowledgeBaseCommand")    .sc(schemas_0.DeleteKnowledgeBase$)    .build() {} class DeleteQuickResponseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "DeleteQuickResponse", {})    .n("WisdomClient", "DeleteQuickResponseCommand")    .sc(schemas_0.DeleteQuickResponse$)    .build() {} class GetAssistantAssociationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetAssistantAssociation", {})    .n("WisdomClient", "GetAssistantAssociationCommand")    .sc(schemas_0.GetAssistantAssociation$)    .build() {} class GetAssistantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetAssistant", {})    .n("WisdomClient", "GetAssistantCommand")    .sc(schemas_0.GetAssistant$)    .build() {} class GetContentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetContent", {})    .n("WisdomClient", "GetContentCommand")    .sc(schemas_0.GetContent$)    .build() {} class GetContentSummaryCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetContentSummary", {})    .n("WisdomClient", "GetContentSummaryCommand")    .sc(schemas_0.GetContentSummary$)    .build() {} class GetImportJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetImportJob", {})    .n("WisdomClient", "GetImportJobCommand")    .sc(schemas_0.GetImportJob$)    .build() {} class GetKnowledgeBaseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetKnowledgeBase", {})    .n("WisdomClient", "GetKnowledgeBaseCommand")    .sc(schemas_0.GetKnowledgeBase$)    .build() {} class GetQuickResponseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetQuickResponse", {})    .n("WisdomClient", "GetQuickResponseCommand")    .sc(schemas_0.GetQuickResponse$)    .build() {} class GetRecommendationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetRecommendations", {})    .n("WisdomClient", "GetRecommendationsCommand")    .sc(schemas_0.GetRecommendations$)    .build() {} class GetSessionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "GetSession", {})    .n("WisdomClient", "GetSessionCommand")    .sc(schemas_0.GetSession$)    .build() {} class ListAssistantAssociationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "ListAssistantAssociations", {})    .n("WisdomClient", "ListAssistantAssociationsCommand")    .sc(schemas_0.ListAssistantAssociations$)    .build() {} class ListAssistantsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "ListAssistants", {})    .n("WisdomClient", "ListAssistantsCommand")    .sc(schemas_0.ListAssistants$)    .build() {} class ListContentsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "ListContents", {})    .n("WisdomClient", "ListContentsCommand")    .sc(schemas_0.ListContents$)    .build() {} class ListImportJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "ListImportJobs", {})    .n("WisdomClient", "ListImportJobsCommand")    .sc(schemas_0.ListImportJobs$)    .build() {} class ListKnowledgeBasesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "ListKnowledgeBases", {})    .n("WisdomClient", "ListKnowledgeBasesCommand")    .sc(schemas_0.ListKnowledgeBases$)    .build() {} class ListQuickResponsesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "ListQuickResponses", {})    .n("WisdomClient", "ListQuickResponsesCommand")    .sc(schemas_0.ListQuickResponses$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "ListTagsForResource", {})    .n("WisdomClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class NotifyRecommendationsReceivedCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "NotifyRecommendationsReceived", {})    .n("WisdomClient", "NotifyRecommendationsReceivedCommand")    .sc(schemas_0.NotifyRecommendationsReceived$)    .build() {} class QueryAssistantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "QueryAssistant", {})    .n("WisdomClient", "QueryAssistantCommand")    .sc(schemas_0.QueryAssistant$)    .build() {} class RemoveKnowledgeBaseTemplateUriCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "RemoveKnowledgeBaseTemplateUri", {})    .n("WisdomClient", "RemoveKnowledgeBaseTemplateUriCommand")    .sc(schemas_0.RemoveKnowledgeBaseTemplateUri$)    .build() {} class SearchContentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "SearchContent", {})    .n("WisdomClient", "SearchContentCommand")    .sc(schemas_0.SearchContent$)    .build() {} class SearchQuickResponsesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "SearchQuickResponses", {})    .n("WisdomClient", "SearchQuickResponsesCommand")    .sc(schemas_0.SearchQuickResponses$)    .build() {} class SearchSessionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "SearchSessions", {})    .n("WisdomClient", "SearchSessionsCommand")    .sc(schemas_0.SearchSessions$)    .build() {} class StartContentUploadCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "StartContentUpload", {})    .n("WisdomClient", "StartContentUploadCommand")    .sc(schemas_0.StartContentUpload$)    .build() {} class StartImportJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "StartImportJob", {})    .n("WisdomClient", "StartImportJobCommand")    .sc(schemas_0.StartImportJob$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "TagResource", {})    .n("WisdomClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "UntagResource", {})    .n("WisdomClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateContentCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "UpdateContent", {})    .n("WisdomClient", "UpdateContentCommand")    .sc(schemas_0.UpdateContent$)    .build() {} class UpdateKnowledgeBaseTemplateUriCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "UpdateKnowledgeBaseTemplateUri", {})    .n("WisdomClient", "UpdateKnowledgeBaseTemplateUriCommand")    .sc(schemas_0.UpdateKnowledgeBaseTemplateUri$)    .build() {} class UpdateQuickResponseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("WisdomService", "UpdateQuickResponse", {})    .n("WisdomClient", "UpdateQuickResponseCommand")    .sc(schemas_0.UpdateQuickResponse$)    .build() {} const paginateListAssistantAssociations = core.createPaginator(WisdomClient, ListAssistantAssociationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListAssistants = core.createPaginator(WisdomClient, ListAssistantsCommand, "nextToken", "nextToken", "maxResults"); const paginateListContents = core.createPaginator(WisdomClient, ListContentsCommand, "nextToken", "nextToken", "maxResults"); const paginateListImportJobs = core.createPaginator(WisdomClient, ListImportJobsCommand, "nextToken", "nextToken", "maxResults"); const paginateListKnowledgeBases = core.createPaginator(WisdomClient, ListKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults"); const paginateListQuickResponses = core.createPaginator(WisdomClient, ListQuickResponsesCommand, "nextToken", "nextToken", "maxResults"); const paginateQueryAssistant = core.createPaginator(WisdomClient, QueryAssistantCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchContent = core.createPaginator(WisdomClient, SearchContentCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchQuickResponses = core.createPaginator(WisdomClient, SearchQuickResponsesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchSessions = core.createPaginator(WisdomClient, SearchSessionsCommand, "nextToken", "nextToken", "maxResults"); const commands = {    CreateAssistantCommand,    CreateAssistantAssociationCommand,    CreateContentCommand,    CreateKnowledgeBaseCommand,    CreateQuickResponseCommand,    CreateSessionCommand,    DeleteAssistantCommand,    DeleteAssistantAssociationCommand,    DeleteContentCommand,    DeleteImportJobCommand,    DeleteKnowledgeBaseCommand,    DeleteQuickResponseCommand,    GetAssistantCommand,    GetAssistantAssociationCommand,    GetContentCommand,    GetContentSummaryCommand,    GetImportJobCommand,    GetKnowledgeBaseCommand,    GetQuickResponseCommand,    GetRecommendationsCommand,    GetSessionCommand,    ListAssistantAssociationsCommand,    ListAssistantsCommand,    ListContentsCommand,    ListImportJobsCommand,    ListKnowledgeBasesCommand,    ListQuickResponsesCommand,    ListTagsForResourceCommand,    NotifyRecommendationsReceivedCommand,    QueryAssistantCommand,    RemoveKnowledgeBaseTemplateUriCommand,    SearchContentCommand,    SearchQuickResponsesCommand,    SearchSessionsCommand,    StartContentUploadCommand,    StartImportJobCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateContentCommand,    UpdateKnowledgeBaseTemplateUriCommand,    UpdateQuickResponseCommand,};const paginators = {    paginateListAssistantAssociations,    paginateListAssistants,    paginateListContents,    paginateListImportJobs,    paginateListKnowledgeBases,    paginateListQuickResponses,    paginateQueryAssistant,    paginateSearchContent,    paginateSearchQuickResponses,    paginateSearchSessions,};class Wisdom extends WisdomClient {}client.createAggregatedClient(commands, Wisdom, { paginators }); const AssociationType = {    KNOWLEDGE_BASE: "KNOWLEDGE_BASE",};const AssistantType = {    AGENT: "AGENT",};const AssistantStatus = {    ACTIVE: "ACTIVE",    CREATE_FAILED: "CREATE_FAILED",    CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",    DELETED: "DELETED",    DELETE_FAILED: "DELETE_FAILED",    DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",};const RelevanceLevel = {    HIGH: "HIGH",    LOW: "LOW",    MEDIUM: "MEDIUM",};const RecommendationType = {    KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",};const RecommendationSourceType = {    ISSUE_DETECTION: "ISSUE_DETECTION",    OTHER: "OTHER",    RULE_EVALUATION: "RULE_EVALUATION",};const RecommendationTriggerType = {    QUERY: "QUERY",};const FilterField = {    NAME: "NAME",};const FilterOperator = {    EQUALS: "EQUALS",};const ContentStatus = {    ACTIVE: "ACTIVE",    CREATE_FAILED: "CREATE_FAILED",    CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",    DELETED: "DELETED",    DELETE_FAILED: "DELETE_FAILED",    DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",    UPDATE_FAILED: "UPDATE_FAILED",};const KnowledgeBaseType = {    CUSTOM: "CUSTOM",    EXTERNAL: "EXTERNAL",    QUICK_RESPONSES: "QUICK_RESPONSES",};const KnowledgeBaseStatus = {    ACTIVE: "ACTIVE",    CREATE_FAILED: "CREATE_FAILED",    CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",    DELETED: "DELETED",    DELETE_FAILED: "DELETE_FAILED",    DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",};const QuickResponseStatus = {    CREATED: "CREATED",    CREATE_FAILED: "CREATE_FAILED",    CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",    DELETED: "DELETED",    DELETE_FAILED: "DELETE_FAILED",    DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",    UPDATE_FAILED: "UPDATE_FAILED",    UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",};const ExternalSource = {    AMAZON_CONNECT: "AMAZON_CONNECT",};const ImportJobType = {    QUICK_RESPONSES: "QUICK_RESPONSES",};const ImportJobStatus = {    COMPLETE: "COMPLETE",    DELETED: "DELETED",    DELETE_FAILED: "DELETE_FAILED",    DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",    FAILED: "FAILED",    START_IN_PROGRESS: "START_IN_PROGRESS",};const QuickResponseFilterOperator = {    EQUALS: "EQUALS",    PREFIX: "PREFIX",};const Order = {    ASC: "ASC",    DESC: "DESC",};const QuickResponseQueryOperator = {    CONTAINS: "CONTAINS",    CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX",};const Priority = {    HIGH: "HIGH",    LOW: "LOW",    MEDIUM: "MEDIUM",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.WisdomServiceException = WisdomServiceException.WisdomServiceException;exports.AssistantStatus = AssistantStatus;exports.AssistantType = AssistantType;exports.AssociationType = AssociationType;exports.ContentStatus = ContentStatus;exports.CreateAssistantAssociationCommand = CreateAssistantAssociationCommand;exports.CreateAssistantCommand = CreateAssistantCommand;exports.CreateContentCommand = CreateContentCommand;exports.CreateKnowledgeBaseCommand = CreateKnowledgeBaseCommand;exports.CreateQuickResponseCommand = CreateQuickResponseCommand;exports.CreateSessionCommand = CreateSessionCommand;exports.DeleteAssistantAssociationCommand = DeleteAssistantAssociationCommand;exports.DeleteAssistantCommand = DeleteAssistantCommand;exports.DeleteContentCommand = DeleteContentCommand;exports.DeleteImportJobCommand = DeleteImportJobCommand;exports.DeleteKnowledgeBaseCommand = DeleteKnowledgeBaseCommand;exports.DeleteQuickResponseCommand = DeleteQuickResponseCommand;exports.ExternalSource = ExternalSource;exports.FilterField = FilterField;exports.FilterOperator = FilterOperator;exports.GetAssistantAssociationCommand = GetAssistantAssociationCommand;exports.GetAssistantCommand = GetAssistantCommand;exports.GetContentCommand = GetContentCommand;exports.GetContentSummaryCommand = GetContentSummaryCommand;exports.GetImportJobCommand = GetImportJobCommand;exports.GetKnowledgeBaseCommand = GetKnowledgeBaseCommand;exports.GetQuickResponseCommand = GetQuickResponseCommand;exports.GetRecommendationsCommand = GetRecommendationsCommand;exports.GetSessionCommand = GetSessionCommand;exports.ImportJobStatus = ImportJobStatus;exports.ImportJobType = ImportJobType;exports.KnowledgeBaseStatus = KnowledgeBaseStatus;exports.KnowledgeBaseType = KnowledgeBaseType;exports.ListAssistantAssociationsCommand = ListAssistantAssociationsCommand;exports.ListAssistantsCommand = ListAssistantsCommand;exports.ListContentsCommand = ListContentsCommand;exports.ListImportJobsCommand = ListImportJobsCommand;exports.ListKnowledgeBasesCommand = ListKnowledgeBasesCommand;exports.ListQuickResponsesCommand = ListQuickResponsesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.NotifyRecommendationsReceivedCommand = NotifyRecommendationsReceivedCommand;exports.Order = Order;exports.Priority = Priority;exports.QueryAssistantCommand = QueryAssistantCommand;exports.QuickResponseFilterOperator = QuickResponseFilterOperator;exports.QuickResponseQueryOperator = QuickResponseQueryOperator;exports.QuickResponseStatus = QuickResponseStatus;exports.RecommendationSourceType = RecommendationSourceType;exports.RecommendationTriggerType = RecommendationTriggerType;exports.RecommendationType = RecommendationType;exports.RelevanceLevel = RelevanceLevel;exports.RemoveKnowledgeBaseTemplateUriCommand = RemoveKnowledgeBaseTemplateUriCommand;exports.SearchContentCommand = SearchContentCommand;exports.SearchQuickResponsesCommand = SearchQuickResponsesCommand;exports.SearchSessionsCommand = SearchSessionsCommand;exports.StartContentUploadCommand = StartContentUploadCommand;exports.StartImportJobCommand = StartImportJobCommand;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateContentCommand = UpdateContentCommand;exports.UpdateKnowledgeBaseTemplateUriCommand = UpdateKnowledgeBaseTemplateUriCommand;exports.UpdateQuickResponseCommand = UpdateQuickResponseCommand;exports.Wisdom = Wisdom;exports.WisdomClient = WisdomClient;exports.paginateListAssistantAssociations = paginateListAssistantAssociations;exports.paginateListAssistants = paginateListAssistants;exports.paginateListContents = paginateListContents;exports.paginateListImportJobs = paginateListImportJobs;exports.paginateListKnowledgeBases = paginateListKnowledgeBases;exports.paginateListQuickResponses = paginateListQuickResponses;exports.paginateQueryAssistant = paginateQueryAssistant;exports.paginateSearchContent = paginateSearchContent;exports.paginateSearchQuickResponses = paginateSearchQuickResponses;exports.paginateSearchSessions = paginateSearchSessions;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});