File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-controltower/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.js23.4 KB · 633 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 ControlTowerServiceException = require('./models/ControlTowerServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "controltower",    });};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 ControlTowerClient 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.defaultControlTowerHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class CreateLandingZoneCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "CreateLandingZone", {})    .n("ControlTowerClient", "CreateLandingZoneCommand")    .sc(schemas_0.CreateLandingZone$)    .build() {} class DeleteLandingZoneCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "DeleteLandingZone", {})    .n("ControlTowerClient", "DeleteLandingZoneCommand")    .sc(schemas_0.DeleteLandingZone$)    .build() {} class DisableBaselineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "DisableBaseline", {})    .n("ControlTowerClient", "DisableBaselineCommand")    .sc(schemas_0.DisableBaseline$)    .build() {} class DisableControlCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "DisableControl", {})    .n("ControlTowerClient", "DisableControlCommand")    .sc(schemas_0.DisableControl$)    .build() {} class EnableBaselineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "EnableBaseline", {})    .n("ControlTowerClient", "EnableBaselineCommand")    .sc(schemas_0.EnableBaseline$)    .build() {} class EnableControlCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "EnableControl", {})    .n("ControlTowerClient", "EnableControlCommand")    .sc(schemas_0.EnableControl$)    .build() {} class GetBaselineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "GetBaseline", {})    .n("ControlTowerClient", "GetBaselineCommand")    .sc(schemas_0.GetBaseline$)    .build() {} class GetBaselineOperationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "GetBaselineOperation", {})    .n("ControlTowerClient", "GetBaselineOperationCommand")    .sc(schemas_0.GetBaselineOperation$)    .build() {} class GetControlOperationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "GetControlOperation", {})    .n("ControlTowerClient", "GetControlOperationCommand")    .sc(schemas_0.GetControlOperation$)    .build() {} class GetEnabledBaselineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "GetEnabledBaseline", {})    .n("ControlTowerClient", "GetEnabledBaselineCommand")    .sc(schemas_0.GetEnabledBaseline$)    .build() {} class GetEnabledControlCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "GetEnabledControl", {})    .n("ControlTowerClient", "GetEnabledControlCommand")    .sc(schemas_0.GetEnabledControl$)    .build() {} class GetLandingZoneCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "GetLandingZone", {})    .n("ControlTowerClient", "GetLandingZoneCommand")    .sc(schemas_0.GetLandingZone$)    .build() {} class GetLandingZoneOperationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "GetLandingZoneOperation", {})    .n("ControlTowerClient", "GetLandingZoneOperationCommand")    .sc(schemas_0.GetLandingZoneOperation$)    .build() {} class ListBaselinesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ListBaselines", {})    .n("ControlTowerClient", "ListBaselinesCommand")    .sc(schemas_0.ListBaselines$)    .build() {} class ListControlOperationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ListControlOperations", {})    .n("ControlTowerClient", "ListControlOperationsCommand")    .sc(schemas_0.ListControlOperations$)    .build() {} class ListEnabledBaselinesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ListEnabledBaselines", {})    .n("ControlTowerClient", "ListEnabledBaselinesCommand")    .sc(schemas_0.ListEnabledBaselines$)    .build() {} class ListEnabledControlsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ListEnabledControls", {})    .n("ControlTowerClient", "ListEnabledControlsCommand")    .sc(schemas_0.ListEnabledControls$)    .build() {} class ListLandingZoneOperationsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ListLandingZoneOperations", {})    .n("ControlTowerClient", "ListLandingZoneOperationsCommand")    .sc(schemas_0.ListLandingZoneOperations$)    .build() {} class ListLandingZonesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ListLandingZones", {})    .n("ControlTowerClient", "ListLandingZonesCommand")    .sc(schemas_0.ListLandingZones$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ListTagsForResource", {})    .n("ControlTowerClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class ResetEnabledBaselineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ResetEnabledBaseline", {})    .n("ControlTowerClient", "ResetEnabledBaselineCommand")    .sc(schemas_0.ResetEnabledBaseline$)    .build() {} class ResetEnabledControlCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ResetEnabledControl", {})    .n("ControlTowerClient", "ResetEnabledControlCommand")    .sc(schemas_0.ResetEnabledControl$)    .build() {} class ResetLandingZoneCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "ResetLandingZone", {})    .n("ControlTowerClient", "ResetLandingZoneCommand")    .sc(schemas_0.ResetLandingZone$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "TagResource", {})    .n("ControlTowerClient", "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("AWSControlTowerApis", "UntagResource", {})    .n("ControlTowerClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateEnabledBaselineCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "UpdateEnabledBaseline", {})    .n("ControlTowerClient", "UpdateEnabledBaselineCommand")    .sc(schemas_0.UpdateEnabledBaseline$)    .build() {} class UpdateEnabledControlCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "UpdateEnabledControl", {})    .n("ControlTowerClient", "UpdateEnabledControlCommand")    .sc(schemas_0.UpdateEnabledControl$)    .build() {} class UpdateLandingZoneCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSControlTowerApis", "UpdateLandingZone", {})    .n("ControlTowerClient", "UpdateLandingZoneCommand")    .sc(schemas_0.UpdateLandingZone$)    .build() {} const paginateListBaselines = core.createPaginator(ControlTowerClient, ListBaselinesCommand, "nextToken", "nextToken", "maxResults"); const paginateListControlOperations = core.createPaginator(ControlTowerClient, ListControlOperationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListEnabledBaselines = core.createPaginator(ControlTowerClient, ListEnabledBaselinesCommand, "nextToken", "nextToken", "maxResults"); const paginateListEnabledControls = core.createPaginator(ControlTowerClient, ListEnabledControlsCommand, "nextToken", "nextToken", "maxResults"); const paginateListLandingZoneOperations = core.createPaginator(ControlTowerClient, ListLandingZoneOperationsCommand, "nextToken", "nextToken", "maxResults"); const paginateListLandingZones = core.createPaginator(ControlTowerClient, ListLandingZonesCommand, "nextToken", "nextToken", "maxResults"); const commands = {    CreateLandingZoneCommand,    DeleteLandingZoneCommand,    DisableBaselineCommand,    DisableControlCommand,    EnableBaselineCommand,    EnableControlCommand,    GetBaselineCommand,    GetBaselineOperationCommand,    GetControlOperationCommand,    GetEnabledBaselineCommand,    GetEnabledControlCommand,    GetLandingZoneCommand,    GetLandingZoneOperationCommand,    ListBaselinesCommand,    ListControlOperationsCommand,    ListEnabledBaselinesCommand,    ListEnabledControlsCommand,    ListLandingZoneOperationsCommand,    ListLandingZonesCommand,    ListTagsForResourceCommand,    ResetEnabledBaselineCommand,    ResetEnabledControlCommand,    ResetLandingZoneCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateEnabledBaselineCommand,    UpdateEnabledControlCommand,    UpdateLandingZoneCommand,};const paginators = {    paginateListBaselines,    paginateListControlOperations,    paginateListEnabledBaselines,    paginateListEnabledControls,    paginateListLandingZoneOperations,    paginateListLandingZones,};class ControlTower extends ControlTowerClient {}client.createAggregatedClient(commands, ControlTower, { paginators }); const BaselineOperationType = {    DISABLE_BASELINE: "DISABLE_BASELINE",    ENABLE_BASELINE: "ENABLE_BASELINE",    RESET_ENABLED_BASELINE: "RESET_ENABLED_BASELINE",    UPDATE_ENABLED_BASELINE: "UPDATE_ENABLED_BASELINE",};const BaselineOperationStatus = {    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    SUCCEEDED: "SUCCEEDED",};const ControlOperationType = {    DISABLE_CONTROL: "DISABLE_CONTROL",    ENABLE_CONTROL: "ENABLE_CONTROL",    RESET_ENABLED_CONTROL: "RESET_ENABLED_CONTROL",    UPDATE_ENABLED_CONTROL: "UPDATE_ENABLED_CONTROL",};const ControlOperationStatus = {    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    SUCCEEDED: "SUCCEEDED",};const EnabledBaselineDriftStatus = {    DRIFTED: "DRIFTED",    IN_SYNC: "IN_SYNC",};const EnablementStatus = {    FAILED: "FAILED",    SUCCEEDED: "SUCCEEDED",    UNDER_CHANGE: "UNDER_CHANGE",};const DriftStatus = {    DRIFTED: "DRIFTED",    IN_SYNC: "IN_SYNC",    NOT_CHECKING: "NOT_CHECKING",    UNKNOWN: "UNKNOWN",};const LandingZoneOperationType = {    CREATE: "CREATE",    DELETE: "DELETE",    RESET: "RESET",    UPDATE: "UPDATE",};const LandingZoneOperationStatus = {    FAILED: "FAILED",    IN_PROGRESS: "IN_PROGRESS",    SUCCEEDED: "SUCCEEDED",};const RemediationType = {    INHERITANCE_DRIFT: "INHERITANCE_DRIFT",};const LandingZoneDriftStatus = {    DRIFTED: "DRIFTED",    IN_SYNC: "IN_SYNC",};const LandingZoneStatus = {    ACTIVE: "ACTIVE",    FAILED: "FAILED",    PROCESSING: "PROCESSING",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.ControlTowerServiceException = ControlTowerServiceException.ControlTowerServiceException;exports.BaselineOperationStatus = BaselineOperationStatus;exports.BaselineOperationType = BaselineOperationType;exports.ControlOperationStatus = ControlOperationStatus;exports.ControlOperationType = ControlOperationType;exports.ControlTower = ControlTower;exports.ControlTowerClient = ControlTowerClient;exports.CreateLandingZoneCommand = CreateLandingZoneCommand;exports.DeleteLandingZoneCommand = DeleteLandingZoneCommand;exports.DisableBaselineCommand = DisableBaselineCommand;exports.DisableControlCommand = DisableControlCommand;exports.DriftStatus = DriftStatus;exports.EnableBaselineCommand = EnableBaselineCommand;exports.EnableControlCommand = EnableControlCommand;exports.EnabledBaselineDriftStatus = EnabledBaselineDriftStatus;exports.EnablementStatus = EnablementStatus;exports.GetBaselineCommand = GetBaselineCommand;exports.GetBaselineOperationCommand = GetBaselineOperationCommand;exports.GetControlOperationCommand = GetControlOperationCommand;exports.GetEnabledBaselineCommand = GetEnabledBaselineCommand;exports.GetEnabledControlCommand = GetEnabledControlCommand;exports.GetLandingZoneCommand = GetLandingZoneCommand;exports.GetLandingZoneOperationCommand = GetLandingZoneOperationCommand;exports.LandingZoneDriftStatus = LandingZoneDriftStatus;exports.LandingZoneOperationStatus = LandingZoneOperationStatus;exports.LandingZoneOperationType = LandingZoneOperationType;exports.LandingZoneStatus = LandingZoneStatus;exports.ListBaselinesCommand = ListBaselinesCommand;exports.ListControlOperationsCommand = ListControlOperationsCommand;exports.ListEnabledBaselinesCommand = ListEnabledBaselinesCommand;exports.ListEnabledControlsCommand = ListEnabledControlsCommand;exports.ListLandingZoneOperationsCommand = ListLandingZoneOperationsCommand;exports.ListLandingZonesCommand = ListLandingZonesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.RemediationType = RemediationType;exports.ResetEnabledBaselineCommand = ResetEnabledBaselineCommand;exports.ResetEnabledControlCommand = ResetEnabledControlCommand;exports.ResetLandingZoneCommand = ResetLandingZoneCommand;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateEnabledBaselineCommand = UpdateEnabledBaselineCommand;exports.UpdateEnabledControlCommand = UpdateEnabledControlCommand;exports.UpdateLandingZoneCommand = UpdateLandingZoneCommand;exports.paginateListBaselines = paginateListBaselines;exports.paginateListControlOperations = paginateListControlOperations;exports.paginateListEnabledBaselines = paginateListEnabledBaselines;exports.paginateListEnabledControls = paginateListEnabledControls;exports.paginateListLandingZoneOperations = paginateListLandingZoneOperations;exports.paginateListLandingZones = paginateListLandingZones;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];});