File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-chime/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.js41.4 KB · 1170 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 ChimeServiceException = require('./models/ChimeServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "chime",    });};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 ChimeClient 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.defaultChimeHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AssociatePhoneNumberWithUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "AssociatePhoneNumberWithUser", {})    .n("ChimeClient", "AssociatePhoneNumberWithUserCommand")    .sc(schemas_0.AssociatePhoneNumberWithUser$)    .build() {} class AssociateSigninDelegateGroupsWithAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "AssociateSigninDelegateGroupsWithAccount", {})    .n("ChimeClient", "AssociateSigninDelegateGroupsWithAccountCommand")    .sc(schemas_0.AssociateSigninDelegateGroupsWithAccount$)    .build() {} class BatchCreateRoomMembershipCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "BatchCreateRoomMembership", {})    .n("ChimeClient", "BatchCreateRoomMembershipCommand")    .sc(schemas_0.BatchCreateRoomMembership$)    .build() {} class BatchDeletePhoneNumberCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "BatchDeletePhoneNumber", {})    .n("ChimeClient", "BatchDeletePhoneNumberCommand")    .sc(schemas_0.BatchDeletePhoneNumber$)    .build() {} class BatchSuspendUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "BatchSuspendUser", {})    .n("ChimeClient", "BatchSuspendUserCommand")    .sc(schemas_0.BatchSuspendUser$)    .build() {} class BatchUnsuspendUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "BatchUnsuspendUser", {})    .n("ChimeClient", "BatchUnsuspendUserCommand")    .sc(schemas_0.BatchUnsuspendUser$)    .build() {} class BatchUpdatePhoneNumberCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "BatchUpdatePhoneNumber", {})    .n("ChimeClient", "BatchUpdatePhoneNumberCommand")    .sc(schemas_0.BatchUpdatePhoneNumber$)    .build() {} class BatchUpdateUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "BatchUpdateUser", {})    .n("ChimeClient", "BatchUpdateUserCommand")    .sc(schemas_0.BatchUpdateUser$)    .build() {} class CreateAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "CreateAccount", {})    .n("ChimeClient", "CreateAccountCommand")    .sc(schemas_0.CreateAccount$)    .build() {} class CreateBotCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "CreateBot", {})    .n("ChimeClient", "CreateBotCommand")    .sc(schemas_0.CreateBot$)    .build() {} class CreateMeetingDialOutCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "CreateMeetingDialOut", {})    .n("ChimeClient", "CreateMeetingDialOutCommand")    .sc(schemas_0.CreateMeetingDialOut$)    .build() {} class CreatePhoneNumberOrderCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "CreatePhoneNumberOrder", {})    .n("ChimeClient", "CreatePhoneNumberOrderCommand")    .sc(schemas_0.CreatePhoneNumberOrder$)    .build() {} class CreateRoomCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "CreateRoom", {})    .n("ChimeClient", "CreateRoomCommand")    .sc(schemas_0.CreateRoom$)    .build() {} class CreateRoomMembershipCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "CreateRoomMembership", {})    .n("ChimeClient", "CreateRoomMembershipCommand")    .sc(schemas_0.CreateRoomMembership$)    .build() {} class CreateUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "CreateUser", {})    .n("ChimeClient", "CreateUserCommand")    .sc(schemas_0.CreateUser$)    .build() {} class DeleteAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "DeleteAccount", {})    .n("ChimeClient", "DeleteAccountCommand")    .sc(schemas_0.DeleteAccount$)    .build() {} class DeleteEventsConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "DeleteEventsConfiguration", {})    .n("ChimeClient", "DeleteEventsConfigurationCommand")    .sc(schemas_0.DeleteEventsConfiguration$)    .build() {} class DeletePhoneNumberCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "DeletePhoneNumber", {})    .n("ChimeClient", "DeletePhoneNumberCommand")    .sc(schemas_0.DeletePhoneNumber$)    .build() {} class DeleteRoomCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "DeleteRoom", {})    .n("ChimeClient", "DeleteRoomCommand")    .sc(schemas_0.DeleteRoom$)    .build() {} class DeleteRoomMembershipCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "DeleteRoomMembership", {})    .n("ChimeClient", "DeleteRoomMembershipCommand")    .sc(schemas_0.DeleteRoomMembership$)    .build() {} class DisassociatePhoneNumberFromUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "DisassociatePhoneNumberFromUser", {})    .n("ChimeClient", "DisassociatePhoneNumberFromUserCommand")    .sc(schemas_0.DisassociatePhoneNumberFromUser$)    .build() {} class DisassociateSigninDelegateGroupsFromAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "DisassociateSigninDelegateGroupsFromAccount", {})    .n("ChimeClient", "DisassociateSigninDelegateGroupsFromAccountCommand")    .sc(schemas_0.DisassociateSigninDelegateGroupsFromAccount$)    .build() {} class GetAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetAccount", {})    .n("ChimeClient", "GetAccountCommand")    .sc(schemas_0.GetAccount$)    .build() {} class GetAccountSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetAccountSettings", {})    .n("ChimeClient", "GetAccountSettingsCommand")    .sc(schemas_0.GetAccountSettings$)    .build() {} class GetBotCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetBot", {})    .n("ChimeClient", "GetBotCommand")    .sc(schemas_0.GetBot$)    .build() {} class GetEventsConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetEventsConfiguration", {})    .n("ChimeClient", "GetEventsConfigurationCommand")    .sc(schemas_0.GetEventsConfiguration$)    .build() {} class GetGlobalSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetGlobalSettings", {})    .n("ChimeClient", "GetGlobalSettingsCommand")    .sc(schemas_0.GetGlobalSettings$)    .build() {} class GetPhoneNumberCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetPhoneNumber", {})    .n("ChimeClient", "GetPhoneNumberCommand")    .sc(schemas_0.GetPhoneNumber$)    .build() {} class GetPhoneNumberOrderCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetPhoneNumberOrder", {})    .n("ChimeClient", "GetPhoneNumberOrderCommand")    .sc(schemas_0.GetPhoneNumberOrder$)    .build() {} class GetPhoneNumberSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetPhoneNumberSettings", {})    .n("ChimeClient", "GetPhoneNumberSettingsCommand")    .sc(schemas_0.GetPhoneNumberSettings$)    .build() {} class GetRetentionSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetRetentionSettings", {})    .n("ChimeClient", "GetRetentionSettingsCommand")    .sc(schemas_0.GetRetentionSettings$)    .build() {} class GetRoomCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetRoom", {})    .n("ChimeClient", "GetRoomCommand")    .sc(schemas_0.GetRoom$)    .build() {} class GetUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetUser", {})    .n("ChimeClient", "GetUserCommand")    .sc(schemas_0.GetUser$)    .build() {} class GetUserSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "GetUserSettings", {})    .n("ChimeClient", "GetUserSettingsCommand")    .sc(schemas_0.GetUserSettings$)    .build() {} class InviteUsersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "InviteUsers", {})    .n("ChimeClient", "InviteUsersCommand")    .sc(schemas_0.InviteUsers$)    .build() {} class ListAccountsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ListAccounts", {})    .n("ChimeClient", "ListAccountsCommand")    .sc(schemas_0.ListAccounts$)    .build() {} class ListBotsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ListBots", {})    .n("ChimeClient", "ListBotsCommand")    .sc(schemas_0.ListBots$)    .build() {} class ListPhoneNumberOrdersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ListPhoneNumberOrders", {})    .n("ChimeClient", "ListPhoneNumberOrdersCommand")    .sc(schemas_0.ListPhoneNumberOrders$)    .build() {} class ListPhoneNumbersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ListPhoneNumbers", {})    .n("ChimeClient", "ListPhoneNumbersCommand")    .sc(schemas_0.ListPhoneNumbers$)    .build() {} class ListRoomMembershipsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ListRoomMemberships", {})    .n("ChimeClient", "ListRoomMembershipsCommand")    .sc(schemas_0.ListRoomMemberships$)    .build() {} class ListRoomsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ListRooms", {})    .n("ChimeClient", "ListRoomsCommand")    .sc(schemas_0.ListRooms$)    .build() {} class ListSupportedPhoneNumberCountriesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ListSupportedPhoneNumberCountries", {})    .n("ChimeClient", "ListSupportedPhoneNumberCountriesCommand")    .sc(schemas_0.ListSupportedPhoneNumberCountries$)    .build() {} class ListUsersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ListUsers", {})    .n("ChimeClient", "ListUsersCommand")    .sc(schemas_0.ListUsers$)    .build() {} class LogoutUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "LogoutUser", {})    .n("ChimeClient", "LogoutUserCommand")    .sc(schemas_0.LogoutUser$)    .build() {} class PutEventsConfigurationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "PutEventsConfiguration", {})    .n("ChimeClient", "PutEventsConfigurationCommand")    .sc(schemas_0.PutEventsConfiguration$)    .build() {} class PutRetentionSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "PutRetentionSettings", {})    .n("ChimeClient", "PutRetentionSettingsCommand")    .sc(schemas_0.PutRetentionSettings$)    .build() {} class RedactConversationMessageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "RedactConversationMessage", {})    .n("ChimeClient", "RedactConversationMessageCommand")    .sc(schemas_0.RedactConversationMessage$)    .build() {} class RedactRoomMessageCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "RedactRoomMessage", {})    .n("ChimeClient", "RedactRoomMessageCommand")    .sc(schemas_0.RedactRoomMessage$)    .build() {} class RegenerateSecurityTokenCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "RegenerateSecurityToken", {})    .n("ChimeClient", "RegenerateSecurityTokenCommand")    .sc(schemas_0.RegenerateSecurityToken$)    .build() {} class ResetPersonalPINCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "ResetPersonalPIN", {})    .n("ChimeClient", "ResetPersonalPINCommand")    .sc(schemas_0.ResetPersonalPIN$)    .build() {} class RestorePhoneNumberCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "RestorePhoneNumber", {})    .n("ChimeClient", "RestorePhoneNumberCommand")    .sc(schemas_0.RestorePhoneNumber$)    .build() {} class SearchAvailablePhoneNumbersCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "SearchAvailablePhoneNumbers", {})    .n("ChimeClient", "SearchAvailablePhoneNumbersCommand")    .sc(schemas_0.SearchAvailablePhoneNumbers$)    .build() {} class UpdateAccountCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdateAccount", {})    .n("ChimeClient", "UpdateAccountCommand")    .sc(schemas_0.UpdateAccount$)    .build() {} class UpdateAccountSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdateAccountSettings", {})    .n("ChimeClient", "UpdateAccountSettingsCommand")    .sc(schemas_0.UpdateAccountSettings$)    .build() {} class UpdateBotCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdateBot", {})    .n("ChimeClient", "UpdateBotCommand")    .sc(schemas_0.UpdateBot$)    .build() {} class UpdateGlobalSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdateGlobalSettings", {})    .n("ChimeClient", "UpdateGlobalSettingsCommand")    .sc(schemas_0.UpdateGlobalSettings$)    .build() {} class UpdatePhoneNumberCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdatePhoneNumber", {})    .n("ChimeClient", "UpdatePhoneNumberCommand")    .sc(schemas_0.UpdatePhoneNumber$)    .build() {} class UpdatePhoneNumberSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdatePhoneNumberSettings", {})    .n("ChimeClient", "UpdatePhoneNumberSettingsCommand")    .sc(schemas_0.UpdatePhoneNumberSettings$)    .build() {} class UpdateRoomCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdateRoom", {})    .n("ChimeClient", "UpdateRoomCommand")    .sc(schemas_0.UpdateRoom$)    .build() {} class UpdateRoomMembershipCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdateRoomMembership", {})    .n("ChimeClient", "UpdateRoomMembershipCommand")    .sc(schemas_0.UpdateRoomMembership$)    .build() {} class UpdateUserCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdateUser", {})    .n("ChimeClient", "UpdateUserCommand")    .sc(schemas_0.UpdateUser$)    .build() {} class UpdateUserSettingsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("UCBuzzConsoleService", "UpdateUserSettings", {})    .n("ChimeClient", "UpdateUserSettingsCommand")    .sc(schemas_0.UpdateUserSettings$)    .build() {} const paginateListAccounts = core.createPaginator(ChimeClient, ListAccountsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListBots = core.createPaginator(ChimeClient, ListBotsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPhoneNumberOrders = core.createPaginator(ChimeClient, ListPhoneNumberOrdersCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPhoneNumbers = core.createPaginator(ChimeClient, ListPhoneNumbersCommand, "NextToken", "NextToken", "MaxResults"); const paginateListRoomMemberships = core.createPaginator(ChimeClient, ListRoomMembershipsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListRooms = core.createPaginator(ChimeClient, ListRoomsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListUsers = core.createPaginator(ChimeClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults"); const paginateSearchAvailablePhoneNumbers = core.createPaginator(ChimeClient, SearchAvailablePhoneNumbersCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    AssociatePhoneNumberWithUserCommand,    AssociateSigninDelegateGroupsWithAccountCommand,    BatchCreateRoomMembershipCommand,    BatchDeletePhoneNumberCommand,    BatchSuspendUserCommand,    BatchUnsuspendUserCommand,    BatchUpdatePhoneNumberCommand,    BatchUpdateUserCommand,    CreateAccountCommand,    CreateBotCommand,    CreateMeetingDialOutCommand,    CreatePhoneNumberOrderCommand,    CreateRoomCommand,    CreateRoomMembershipCommand,    CreateUserCommand,    DeleteAccountCommand,    DeleteEventsConfigurationCommand,    DeletePhoneNumberCommand,    DeleteRoomCommand,    DeleteRoomMembershipCommand,    DisassociatePhoneNumberFromUserCommand,    DisassociateSigninDelegateGroupsFromAccountCommand,    GetAccountCommand,    GetAccountSettingsCommand,    GetBotCommand,    GetEventsConfigurationCommand,    GetGlobalSettingsCommand,    GetPhoneNumberCommand,    GetPhoneNumberOrderCommand,    GetPhoneNumberSettingsCommand,    GetRetentionSettingsCommand,    GetRoomCommand,    GetUserCommand,    GetUserSettingsCommand,    InviteUsersCommand,    ListAccountsCommand,    ListBotsCommand,    ListPhoneNumberOrdersCommand,    ListPhoneNumbersCommand,    ListRoomMembershipsCommand,    ListRoomsCommand,    ListSupportedPhoneNumberCountriesCommand,    ListUsersCommand,    LogoutUserCommand,    PutEventsConfigurationCommand,    PutRetentionSettingsCommand,    RedactConversationMessageCommand,    RedactRoomMessageCommand,    RegenerateSecurityTokenCommand,    ResetPersonalPINCommand,    RestorePhoneNumberCommand,    SearchAvailablePhoneNumbersCommand,    UpdateAccountCommand,    UpdateAccountSettingsCommand,    UpdateBotCommand,    UpdateGlobalSettingsCommand,    UpdatePhoneNumberCommand,    UpdatePhoneNumberSettingsCommand,    UpdateRoomCommand,    UpdateRoomMembershipCommand,    UpdateUserCommand,    UpdateUserSettingsCommand,};const paginators = {    paginateListAccounts,    paginateListBots,    paginateListPhoneNumberOrders,    paginateListPhoneNumbers,    paginateListRoomMemberships,    paginateListRooms,    paginateListUsers,    paginateSearchAvailablePhoneNumbers,};class Chime extends ChimeClient {}client.createAggregatedClient(commands, Chime, { paginators }); const ErrorCode = {    AccessDenied: "AccessDenied",    BadRequest: "BadRequest",    Conflict: "Conflict",    Forbidden: "Forbidden",    NotFound: "NotFound",    PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",    PreconditionFailed: "PreconditionFailed",    ResourceLimitExceeded: "ResourceLimitExceeded",    ServiceFailure: "ServiceFailure",    ServiceUnavailable: "ServiceUnavailable",    Throttled: "Throttled",    Throttling: "Throttling",    Unauthorized: "Unauthorized",    Unprocessable: "Unprocessable",    VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",};const AccountStatus = {    Active: "Active",    Suspended: "Suspended",};const AccountType = {    EnterpriseDirectory: "EnterpriseDirectory",    EnterpriseLWA: "EnterpriseLWA",    EnterpriseOIDC: "EnterpriseOIDC",    Team: "Team",};const License = {    Basic: "Basic",    Plus: "Plus",    Pro: "Pro",    ProTrial: "ProTrial",};const RoomMembershipRole = {    Administrator: "Administrator",    Member: "Member",};const PhoneNumberProductType = {    BusinessCalling: "BusinessCalling",    SipMediaApplicationDialIn: "SipMediaApplicationDialIn",    VoiceConnector: "VoiceConnector",};const UserType = {    PrivateUser: "PrivateUser",    SharedDevice: "SharedDevice",};const BotType = {    ChatBot: "ChatBot",};const CallingNameStatus = {    Unassigned: "Unassigned",    UpdateFailed: "UpdateFailed",    UpdateInProgress: "UpdateInProgress",    UpdateSucceeded: "UpdateSucceeded",};const OrderedPhoneNumberStatus = {    Acquired: "Acquired",    Failed: "Failed",    Processing: "Processing",};const PhoneNumberOrderStatus = {    Failed: "Failed",    Partial: "Partial",    Processing: "Processing",    Successful: "Successful",};const MemberType = {    Bot: "Bot",    User: "User",    Webhook: "Webhook",};const InviteStatus = {    Accepted: "Accepted",    Failed: "Failed",    Pending: "Pending",};const RegistrationStatus = {    Registered: "Registered",    Suspended: "Suspended",    Unregistered: "Unregistered",};const EmailStatus = {    Failed: "Failed",    NotSent: "NotSent",    Sent: "Sent",};const PhoneNumberAssociationName = {    AccountId: "AccountId",    SipRuleId: "SipRuleId",    UserId: "UserId",    VoiceConnectorGroupId: "VoiceConnectorGroupId",    VoiceConnectorId: "VoiceConnectorId",};const PhoneNumberStatus = {    AcquireFailed: "AcquireFailed",    AcquireInProgress: "AcquireInProgress",    Assigned: "Assigned",    DeleteFailed: "DeleteFailed",    DeleteInProgress: "DeleteInProgress",    ReleaseFailed: "ReleaseFailed",    ReleaseInProgress: "ReleaseInProgress",    Unassigned: "Unassigned",};const PhoneNumberType = {    Local: "Local",    TollFree: "TollFree",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.ChimeServiceException = ChimeServiceException.ChimeServiceException;exports.AccountStatus = AccountStatus;exports.AccountType = AccountType;exports.AssociatePhoneNumberWithUserCommand = AssociatePhoneNumberWithUserCommand;exports.AssociateSigninDelegateGroupsWithAccountCommand = AssociateSigninDelegateGroupsWithAccountCommand;exports.BatchCreateRoomMembershipCommand = BatchCreateRoomMembershipCommand;exports.BatchDeletePhoneNumberCommand = BatchDeletePhoneNumberCommand;exports.BatchSuspendUserCommand = BatchSuspendUserCommand;exports.BatchUnsuspendUserCommand = BatchUnsuspendUserCommand;exports.BatchUpdatePhoneNumberCommand = BatchUpdatePhoneNumberCommand;exports.BatchUpdateUserCommand = BatchUpdateUserCommand;exports.BotType = BotType;exports.CallingNameStatus = CallingNameStatus;exports.Chime = Chime;exports.ChimeClient = ChimeClient;exports.CreateAccountCommand = CreateAccountCommand;exports.CreateBotCommand = CreateBotCommand;exports.CreateMeetingDialOutCommand = CreateMeetingDialOutCommand;exports.CreatePhoneNumberOrderCommand = CreatePhoneNumberOrderCommand;exports.CreateRoomCommand = CreateRoomCommand;exports.CreateRoomMembershipCommand = CreateRoomMembershipCommand;exports.CreateUserCommand = CreateUserCommand;exports.DeleteAccountCommand = DeleteAccountCommand;exports.DeleteEventsConfigurationCommand = DeleteEventsConfigurationCommand;exports.DeletePhoneNumberCommand = DeletePhoneNumberCommand;exports.DeleteRoomCommand = DeleteRoomCommand;exports.DeleteRoomMembershipCommand = DeleteRoomMembershipCommand;exports.DisassociatePhoneNumberFromUserCommand = DisassociatePhoneNumberFromUserCommand;exports.DisassociateSigninDelegateGroupsFromAccountCommand = DisassociateSigninDelegateGroupsFromAccountCommand;exports.EmailStatus = EmailStatus;exports.ErrorCode = ErrorCode;exports.GetAccountCommand = GetAccountCommand;exports.GetAccountSettingsCommand = GetAccountSettingsCommand;exports.GetBotCommand = GetBotCommand;exports.GetEventsConfigurationCommand = GetEventsConfigurationCommand;exports.GetGlobalSettingsCommand = GetGlobalSettingsCommand;exports.GetPhoneNumberCommand = GetPhoneNumberCommand;exports.GetPhoneNumberOrderCommand = GetPhoneNumberOrderCommand;exports.GetPhoneNumberSettingsCommand = GetPhoneNumberSettingsCommand;exports.GetRetentionSettingsCommand = GetRetentionSettingsCommand;exports.GetRoomCommand = GetRoomCommand;exports.GetUserCommand = GetUserCommand;exports.GetUserSettingsCommand = GetUserSettingsCommand;exports.InviteStatus = InviteStatus;exports.InviteUsersCommand = InviteUsersCommand;exports.License = License;exports.ListAccountsCommand = ListAccountsCommand;exports.ListBotsCommand = ListBotsCommand;exports.ListPhoneNumberOrdersCommand = ListPhoneNumberOrdersCommand;exports.ListPhoneNumbersCommand = ListPhoneNumbersCommand;exports.ListRoomMembershipsCommand = ListRoomMembershipsCommand;exports.ListRoomsCommand = ListRoomsCommand;exports.ListSupportedPhoneNumberCountriesCommand = ListSupportedPhoneNumberCountriesCommand;exports.ListUsersCommand = ListUsersCommand;exports.LogoutUserCommand = LogoutUserCommand;exports.MemberType = MemberType;exports.OrderedPhoneNumberStatus = OrderedPhoneNumberStatus;exports.PhoneNumberAssociationName = PhoneNumberAssociationName;exports.PhoneNumberOrderStatus = PhoneNumberOrderStatus;exports.PhoneNumberProductType = PhoneNumberProductType;exports.PhoneNumberStatus = PhoneNumberStatus;exports.PhoneNumberType = PhoneNumberType;exports.PutEventsConfigurationCommand = PutEventsConfigurationCommand;exports.PutRetentionSettingsCommand = PutRetentionSettingsCommand;exports.RedactConversationMessageCommand = RedactConversationMessageCommand;exports.RedactRoomMessageCommand = RedactRoomMessageCommand;exports.RegenerateSecurityTokenCommand = RegenerateSecurityTokenCommand;exports.RegistrationStatus = RegistrationStatus;exports.ResetPersonalPINCommand = ResetPersonalPINCommand;exports.RestorePhoneNumberCommand = RestorePhoneNumberCommand;exports.RoomMembershipRole = RoomMembershipRole;exports.SearchAvailablePhoneNumbersCommand = SearchAvailablePhoneNumbersCommand;exports.UpdateAccountCommand = UpdateAccountCommand;exports.UpdateAccountSettingsCommand = UpdateAccountSettingsCommand;exports.UpdateBotCommand = UpdateBotCommand;exports.UpdateGlobalSettingsCommand = UpdateGlobalSettingsCommand;exports.UpdatePhoneNumberCommand = UpdatePhoneNumberCommand;exports.UpdatePhoneNumberSettingsCommand = UpdatePhoneNumberSettingsCommand;exports.UpdateRoomCommand = UpdateRoomCommand;exports.UpdateRoomMembershipCommand = UpdateRoomMembershipCommand;exports.UpdateUserCommand = UpdateUserCommand;exports.UpdateUserSettingsCommand = UpdateUserSettingsCommand;exports.UserType = UserType;exports.paginateListAccounts = paginateListAccounts;exports.paginateListBots = paginateListBots;exports.paginateListPhoneNumberOrders = paginateListPhoneNumberOrders;exports.paginateListPhoneNumbers = paginateListPhoneNumbers;exports.paginateListRoomMemberships = paginateListRoomMemberships;exports.paginateListRooms = paginateListRooms;exports.paginateListUsers = paginateListUsers;exports.paginateSearchAvailablePhoneNumbers = paginateSearchAvailablePhoneNumbers;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];});