File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-connectcases/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.js30.6 KB · 873 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 ConnectCasesServiceException = require('./models/ConnectCasesServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "cases",    });};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 ConnectCasesClient 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.defaultConnectCasesHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class BatchGetCaseRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "BatchGetCaseRule", {})    .n("ConnectCasesClient", "BatchGetCaseRuleCommand")    .sc(schemas_0.BatchGetCaseRule$)    .build() {} class BatchGetFieldCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "BatchGetField", {})    .n("ConnectCasesClient", "BatchGetFieldCommand")    .sc(schemas_0.BatchGetField$)    .build() {} class BatchPutFieldOptionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "BatchPutFieldOptions", {})    .n("ConnectCasesClient", "BatchPutFieldOptionsCommand")    .sc(schemas_0.BatchPutFieldOptions$)    .build() {} class CreateCaseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "CreateCase", {})    .n("ConnectCasesClient", "CreateCaseCommand")    .sc(schemas_0.CreateCase$)    .build() {} class CreateCaseRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "CreateCaseRule", {})    .n("ConnectCasesClient", "CreateCaseRuleCommand")    .sc(schemas_0.CreateCaseRule$)    .build() {} class CreateDomainCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "CreateDomain", {})    .n("ConnectCasesClient", "CreateDomainCommand")    .sc(schemas_0.CreateDomain$)    .build() {} class CreateFieldCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "CreateField", {})    .n("ConnectCasesClient", "CreateFieldCommand")    .sc(schemas_0.CreateField$)    .build() {} class CreateLayoutCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "CreateLayout", {})    .n("ConnectCasesClient", "CreateLayoutCommand")    .sc(schemas_0.CreateLayout$)    .build() {} class CreateRelatedItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "CreateRelatedItem", {})    .n("ConnectCasesClient", "CreateRelatedItemCommand")    .sc(schemas_0.CreateRelatedItem$)    .build() {} class CreateTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "CreateTemplate", {})    .n("ConnectCasesClient", "CreateTemplateCommand")    .sc(schemas_0.CreateTemplate$)    .build() {} class DeleteCaseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "DeleteCase", {})    .n("ConnectCasesClient", "DeleteCaseCommand")    .sc(schemas_0.DeleteCase$)    .build() {} class DeleteCaseRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "DeleteCaseRule", {})    .n("ConnectCasesClient", "DeleteCaseRuleCommand")    .sc(schemas_0.DeleteCaseRule$)    .build() {} class DeleteDomainCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "DeleteDomain", {})    .n("ConnectCasesClient", "DeleteDomainCommand")    .sc(schemas_0.DeleteDomain$)    .build() {} class DeleteFieldCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "DeleteField", {})    .n("ConnectCasesClient", "DeleteFieldCommand")    .sc(schemas_0.DeleteField$)    .build() {} class DeleteLayoutCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "DeleteLayout", {})    .n("ConnectCasesClient", "DeleteLayoutCommand")    .sc(schemas_0.DeleteLayout$)    .build() {} class DeleteRelatedItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "DeleteRelatedItem", {})    .n("ConnectCasesClient", "DeleteRelatedItemCommand")    .sc(schemas_0.DeleteRelatedItem$)    .build() {} class DeleteTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "DeleteTemplate", {})    .n("ConnectCasesClient", "DeleteTemplateCommand")    .sc(schemas_0.DeleteTemplate$)    .build() {} class GetCaseAuditEventsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "GetCaseAuditEvents", {})    .n("ConnectCasesClient", "GetCaseAuditEventsCommand")    .sc(schemas_0.GetCaseAuditEvents$)    .build() {} class GetCaseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "GetCase", {})    .n("ConnectCasesClient", "GetCaseCommand")    .sc(schemas_0.GetCase$)    .build() {} class GetCaseEventConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "GetCaseEventConfiguration", {})    .n("ConnectCasesClient", "GetCaseEventConfigurationCommand")    .sc(schemas_0.GetCaseEventConfiguration$)    .build() {} class GetDomainCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "GetDomain", {})    .n("ConnectCasesClient", "GetDomainCommand")    .sc(schemas_0.GetDomain$)    .build() {} class GetLayoutCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "GetLayout", {})    .n("ConnectCasesClient", "GetLayoutCommand")    .sc(schemas_0.GetLayout$)    .build() {} class GetTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "GetTemplate", {})    .n("ConnectCasesClient", "GetTemplateCommand")    .sc(schemas_0.GetTemplate$)    .build() {} class ListCaseRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "ListCaseRules", {})    .n("ConnectCasesClient", "ListCaseRulesCommand")    .sc(schemas_0.ListCaseRules$)    .build() {} class ListCasesForContactCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "ListCasesForContact", {})    .n("ConnectCasesClient", "ListCasesForContactCommand")    .sc(schemas_0.ListCasesForContact$)    .build() {} class ListDomainsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "ListDomains", {})    .n("ConnectCasesClient", "ListDomainsCommand")    .sc(schemas_0.ListDomains$)    .build() {} class ListFieldOptionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "ListFieldOptions", {})    .n("ConnectCasesClient", "ListFieldOptionsCommand")    .sc(schemas_0.ListFieldOptions$)    .build() {} class ListFieldsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "ListFields", {})    .n("ConnectCasesClient", "ListFieldsCommand")    .sc(schemas_0.ListFields$)    .build() {} class ListLayoutsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "ListLayouts", {})    .n("ConnectCasesClient", "ListLayoutsCommand")    .sc(schemas_0.ListLayouts$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "ListTagsForResource", {})    .n("ConnectCasesClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ListTemplatesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "ListTemplates", {})    .n("ConnectCasesClient", "ListTemplatesCommand")    .sc(schemas_0.ListTemplates$)    .build() {} class PutCaseEventConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "PutCaseEventConfiguration", {})    .n("ConnectCasesClient", "PutCaseEventConfigurationCommand")    .sc(schemas_0.PutCaseEventConfiguration$)    .build() {} class SearchAllRelatedItemsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "SearchAllRelatedItems", {})    .n("ConnectCasesClient", "SearchAllRelatedItemsCommand")    .sc(schemas_0.SearchAllRelatedItems$)    .build() {} class SearchCasesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "SearchCases", {})    .n("ConnectCasesClient", "SearchCasesCommand")    .sc(schemas_0.SearchCases$)    .build() {} class SearchRelatedItemsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "SearchRelatedItems", {})    .n("ConnectCasesClient", "SearchRelatedItemsCommand")    .sc(schemas_0.SearchRelatedItems$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "TagResource", {})    .n("ConnectCasesClient", "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("AmazonConnectCases", "UntagResource", {})    .n("ConnectCasesClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateCaseCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "UpdateCase", {})    .n("ConnectCasesClient", "UpdateCaseCommand")    .sc(schemas_0.UpdateCase$)    .build() {} class UpdateCaseRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "UpdateCaseRule", {})    .n("ConnectCasesClient", "UpdateCaseRuleCommand")    .sc(schemas_0.UpdateCaseRule$)    .build() {} class UpdateFieldCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "UpdateField", {})    .n("ConnectCasesClient", "UpdateFieldCommand")    .sc(schemas_0.UpdateField$)    .build() {} class UpdateLayoutCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "UpdateLayout", {})    .n("ConnectCasesClient", "UpdateLayoutCommand")    .sc(schemas_0.UpdateLayout$)    .build() {} class UpdateRelatedItemCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "UpdateRelatedItem", {})    .n("ConnectCasesClient", "UpdateRelatedItemCommand")    .sc(schemas_0.UpdateRelatedItem$)    .build() {} class UpdateTemplateCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AmazonConnectCases", "UpdateTemplate", {})    .n("ConnectCasesClient", "UpdateTemplateCommand")    .sc(schemas_0.UpdateTemplate$)    .build() {} const paginateGetCaseAuditEvents = core.createPaginator(ConnectCasesClient, GetCaseAuditEventsCommand, "nextToken", "nextToken", "maxResults"); const paginateGetCase = core.createPaginator(ConnectCasesClient, GetCaseCommand, "nextToken", "nextToken", ""); const paginateListCaseRules = core.createPaginator(ConnectCasesClient, ListCaseRulesCommand, "nextToken", "nextToken", "maxResults"); const paginateListCasesForContact = core.createPaginator(ConnectCasesClient, ListCasesForContactCommand, "nextToken", "nextToken", "maxResults"); const paginateListDomains = core.createPaginator(ConnectCasesClient, ListDomainsCommand, "nextToken", "nextToken", "maxResults"); const paginateListFieldOptions = core.createPaginator(ConnectCasesClient, ListFieldOptionsCommand, "nextToken", "nextToken", "maxResults"); const paginateListFields = core.createPaginator(ConnectCasesClient, ListFieldsCommand, "nextToken", "nextToken", "maxResults"); const paginateListLayouts = core.createPaginator(ConnectCasesClient, ListLayoutsCommand, "nextToken", "nextToken", "maxResults"); const paginateListTemplates = core.createPaginator(ConnectCasesClient, ListTemplatesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchAllRelatedItems = core.createPaginator(ConnectCasesClient, SearchAllRelatedItemsCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchCases = core.createPaginator(ConnectCasesClient, SearchCasesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchRelatedItems = core.createPaginator(ConnectCasesClient, SearchRelatedItemsCommand, "nextToken", "nextToken", "maxResults"); const commands = {    BatchGetCaseRuleCommand,    BatchGetFieldCommand,    BatchPutFieldOptionsCommand,    CreateCaseCommand,    CreateCaseRuleCommand,    CreateDomainCommand,    CreateFieldCommand,    CreateLayoutCommand,    CreateRelatedItemCommand,    CreateTemplateCommand,    DeleteCaseCommand,    DeleteCaseRuleCommand,    DeleteDomainCommand,    DeleteFieldCommand,    DeleteLayoutCommand,    DeleteRelatedItemCommand,    DeleteTemplateCommand,    GetCaseCommand,    GetCaseAuditEventsCommand,    GetCaseEventConfigurationCommand,    GetDomainCommand,    GetLayoutCommand,    GetTemplateCommand,    ListCaseRulesCommand,    ListCasesForContactCommand,    ListDomainsCommand,    ListFieldOptionsCommand,    ListFieldsCommand,    ListLayoutsCommand,    ListTagsForResourceCommand,    ListTemplatesCommand,    PutCaseEventConfigurationCommand,    SearchAllRelatedItemsCommand,    SearchCasesCommand,    SearchRelatedItemsCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateCaseCommand,    UpdateCaseRuleCommand,    UpdateFieldCommand,    UpdateLayoutCommand,    UpdateRelatedItemCommand,    UpdateTemplateCommand,};const paginators = {    paginateGetCase,    paginateGetCaseAuditEvents,    paginateListCaseRules,    paginateListCasesForContact,    paginateListDomains,    paginateListFieldOptions,    paginateListFields,    paginateListLayouts,    paginateListTemplates,    paginateSearchAllRelatedItems,    paginateSearchCases,    paginateSearchRelatedItems,};class ConnectCases extends ConnectCasesClient {}client.createAggregatedClient(commands, ConnectCases, { paginators }); const RelatedItemType = {    COMMENT: "Comment",    CONNECT_CASE: "ConnectCase",    CONTACT: "Contact",    CUSTOM: "Custom",    FILE: "File",    SLA: "Sla",};const AuditEventType = {    CASE_CREATED: "Case.Created",    CASE_UPDATED: "Case.Updated",    RELATED_ITEM_CREATED: "RelatedItem.Created",    RELATED_ITEM_DELETED: "RelatedItem.Deleted",    RELATED_ITEM_UPDATED: "RelatedItem.Updated",};const CommentBodyTextType = {    PLAINTEXT: "Text/Plain",};const SlaType = {    CASE_FIELD: "CaseField",};const SlaStatus = {    ACTIVE: "Active",    MET: "Met",    NOT_MET: "NotMet",    OVERDUE: "Overdue",};const Order = {    ASCENDING: "Asc",    DESCENDING: "Desc",};const RuleType = {    FIELD_OPTIONS: "FieldOptions",    HIDDEN: "Hidden",    REQUIRED: "Required",};const DomainStatus = {    ACTIVE: "Active",    CREATION_FAILED: "CreationFailed",    CREATION_IN_PROGRESS: "CreationInProgress",};const SearchAllRelatedItemsSortProperty = {    ASSOCIATION_TIME: "AssociationTime",    CASE_ID: "CaseId",};const FieldNamespace = {    CUSTOM: "Custom",    SYSTEM: "System",};const FieldType = {    BOOLEAN: "Boolean",    DATE_TIME: "DateTime",    NUMBER: "Number",    SINGLE_SELECT: "SingleSelect",    TEXT: "Text",    URL: "Url",    USER: "User",};const TemplateStatus = {    ACTIVE: "Active",    INACTIVE: "Inactive",};const TagPropagationResourceType = {    CASES: "Cases",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.ConnectCasesServiceException = ConnectCasesServiceException.ConnectCasesServiceException;exports.AuditEventType = AuditEventType;exports.BatchGetCaseRuleCommand = BatchGetCaseRuleCommand;exports.BatchGetFieldCommand = BatchGetFieldCommand;exports.BatchPutFieldOptionsCommand = BatchPutFieldOptionsCommand;exports.CommentBodyTextType = CommentBodyTextType;exports.ConnectCases = ConnectCases;exports.ConnectCasesClient = ConnectCasesClient;exports.CreateCaseCommand = CreateCaseCommand;exports.CreateCaseRuleCommand = CreateCaseRuleCommand;exports.CreateDomainCommand = CreateDomainCommand;exports.CreateFieldCommand = CreateFieldCommand;exports.CreateLayoutCommand = CreateLayoutCommand;exports.CreateRelatedItemCommand = CreateRelatedItemCommand;exports.CreateTemplateCommand = CreateTemplateCommand;exports.DeleteCaseCommand = DeleteCaseCommand;exports.DeleteCaseRuleCommand = DeleteCaseRuleCommand;exports.DeleteDomainCommand = DeleteDomainCommand;exports.DeleteFieldCommand = DeleteFieldCommand;exports.DeleteLayoutCommand = DeleteLayoutCommand;exports.DeleteRelatedItemCommand = DeleteRelatedItemCommand;exports.DeleteTemplateCommand = DeleteTemplateCommand;exports.DomainStatus = DomainStatus;exports.FieldNamespace = FieldNamespace;exports.FieldType = FieldType;exports.GetCaseAuditEventsCommand = GetCaseAuditEventsCommand;exports.GetCaseCommand = GetCaseCommand;exports.GetCaseEventConfigurationCommand = GetCaseEventConfigurationCommand;exports.GetDomainCommand = GetDomainCommand;exports.GetLayoutCommand = GetLayoutCommand;exports.GetTemplateCommand = GetTemplateCommand;exports.ListCaseRulesCommand = ListCaseRulesCommand;exports.ListCasesForContactCommand = ListCasesForContactCommand;exports.ListDomainsCommand = ListDomainsCommand;exports.ListFieldOptionsCommand = ListFieldOptionsCommand;exports.ListFieldsCommand = ListFieldsCommand;exports.ListLayoutsCommand = ListLayoutsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTemplatesCommand = ListTemplatesCommand;exports.Order = Order;exports.PutCaseEventConfigurationCommand = PutCaseEventConfigurationCommand;exports.RelatedItemType = RelatedItemType;exports.RuleType = RuleType;exports.SearchAllRelatedItemsCommand = SearchAllRelatedItemsCommand;exports.SearchAllRelatedItemsSortProperty = SearchAllRelatedItemsSortProperty;exports.SearchCasesCommand = SearchCasesCommand;exports.SearchRelatedItemsCommand = SearchRelatedItemsCommand;exports.SlaStatus = SlaStatus;exports.SlaType = SlaType;exports.TagPropagationResourceType = TagPropagationResourceType;exports.TagResourceCommand = TagResourceCommand;exports.TemplateStatus = TemplateStatus;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateCaseCommand = UpdateCaseCommand;exports.UpdateCaseRuleCommand = UpdateCaseRuleCommand;exports.UpdateFieldCommand = UpdateFieldCommand;exports.UpdateLayoutCommand = UpdateLayoutCommand;exports.UpdateRelatedItemCommand = UpdateRelatedItemCommand;exports.UpdateTemplateCommand = UpdateTemplateCommand;exports.paginateGetCase = paginateGetCase;exports.paginateGetCaseAuditEvents = paginateGetCaseAuditEvents;exports.paginateListCaseRules = paginateListCaseRules;exports.paginateListCasesForContact = paginateListCasesForContact;exports.paginateListDomains = paginateListDomains;exports.paginateListFieldOptions = paginateListFieldOptions;exports.paginateListFields = paginateListFields;exports.paginateListLayouts = paginateListLayouts;exports.paginateListTemplates = paginateListTemplates;exports.paginateSearchAllRelatedItems = paginateSearchAllRelatedItems;exports.paginateSearchCases = paginateSearchCases;exports.paginateSearchRelatedItems = paginateSearchRelatedItems;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];});