/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-workdocs/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 /.
'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 WorkDocsServiceException = require('./models/WorkDocsServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "workdocs", });};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 WorkDocsClient 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.defaultWorkDocsHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class AbortDocumentVersionUploadCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "AbortDocumentVersionUpload", {}) .n("WorkDocsClient", "AbortDocumentVersionUploadCommand") .sc(schemas_0.AbortDocumentVersionUpload$) .build() {} class ActivateUserCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "ActivateUser", {}) .n("WorkDocsClient", "ActivateUserCommand") .sc(schemas_0.ActivateUser$) .build() {} class AddResourcePermissionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "AddResourcePermissions", {}) .n("WorkDocsClient", "AddResourcePermissionsCommand") .sc(schemas_0.AddResourcePermissions$) .build() {} class CreateCommentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "CreateComment", {}) .n("WorkDocsClient", "CreateCommentCommand") .sc(schemas_0.CreateComment$) .build() {} class CreateCustomMetadataCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "CreateCustomMetadata", {}) .n("WorkDocsClient", "CreateCustomMetadataCommand") .sc(schemas_0.CreateCustomMetadata$) .build() {} class CreateFolderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "CreateFolder", {}) .n("WorkDocsClient", "CreateFolderCommand") .sc(schemas_0.CreateFolder$) .build() {} class CreateLabelsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "CreateLabels", {}) .n("WorkDocsClient", "CreateLabelsCommand") .sc(schemas_0.CreateLabels$) .build() {} class CreateNotificationSubscriptionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "CreateNotificationSubscription", {}) .n("WorkDocsClient", "CreateNotificationSubscriptionCommand") .sc(schemas_0.CreateNotificationSubscription$) .build() {} class CreateUserCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "CreateUser", {}) .n("WorkDocsClient", "CreateUserCommand") .sc(schemas_0.CreateUser$) .build() {} class DeactivateUserCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeactivateUser", {}) .n("WorkDocsClient", "DeactivateUserCommand") .sc(schemas_0.DeactivateUser$) .build() {} class DeleteCommentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteComment", {}) .n("WorkDocsClient", "DeleteCommentCommand") .sc(schemas_0.DeleteComment$) .build() {} class DeleteCustomMetadataCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteCustomMetadata", {}) .n("WorkDocsClient", "DeleteCustomMetadataCommand") .sc(schemas_0.DeleteCustomMetadata$) .build() {} class DeleteDocumentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteDocument", {}) .n("WorkDocsClient", "DeleteDocumentCommand") .sc(schemas_0.DeleteDocument$) .build() {} class DeleteDocumentVersionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteDocumentVersion", {}) .n("WorkDocsClient", "DeleteDocumentVersionCommand") .sc(schemas_0.DeleteDocumentVersion$) .build() {} class DeleteFolderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteFolder", {}) .n("WorkDocsClient", "DeleteFolderCommand") .sc(schemas_0.DeleteFolder$) .build() {} class DeleteFolderContentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteFolderContents", {}) .n("WorkDocsClient", "DeleteFolderContentsCommand") .sc(schemas_0.DeleteFolderContents$) .build() {} class DeleteLabelsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteLabels", {}) .n("WorkDocsClient", "DeleteLabelsCommand") .sc(schemas_0.DeleteLabels$) .build() {} class DeleteNotificationSubscriptionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteNotificationSubscription", {}) .n("WorkDocsClient", "DeleteNotificationSubscriptionCommand") .sc(schemas_0.DeleteNotificationSubscription$) .build() {} class DeleteUserCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DeleteUser", {}) .n("WorkDocsClient", "DeleteUserCommand") .sc(schemas_0.DeleteUser$) .build() {} class DescribeActivitiesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeActivities", {}) .n("WorkDocsClient", "DescribeActivitiesCommand") .sc(schemas_0.DescribeActivities$) .build() {} class DescribeCommentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeComments", {}) .n("WorkDocsClient", "DescribeCommentsCommand") .sc(schemas_0.DescribeComments$) .build() {} class DescribeDocumentVersionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeDocumentVersions", {}) .n("WorkDocsClient", "DescribeDocumentVersionsCommand") .sc(schemas_0.DescribeDocumentVersions$) .build() {} class DescribeFolderContentsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeFolderContents", {}) .n("WorkDocsClient", "DescribeFolderContentsCommand") .sc(schemas_0.DescribeFolderContents$) .build() {} class DescribeGroupsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeGroups", {}) .n("WorkDocsClient", "DescribeGroupsCommand") .sc(schemas_0.DescribeGroups$) .build() {} class DescribeNotificationSubscriptionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeNotificationSubscriptions", {}) .n("WorkDocsClient", "DescribeNotificationSubscriptionsCommand") .sc(schemas_0.DescribeNotificationSubscriptions$) .build() {} class DescribeResourcePermissionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeResourcePermissions", {}) .n("WorkDocsClient", "DescribeResourcePermissionsCommand") .sc(schemas_0.DescribeResourcePermissions$) .build() {} class DescribeRootFoldersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeRootFolders", {}) .n("WorkDocsClient", "DescribeRootFoldersCommand") .sc(schemas_0.DescribeRootFolders$) .build() {} class DescribeUsersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "DescribeUsers", {}) .n("WorkDocsClient", "DescribeUsersCommand") .sc(schemas_0.DescribeUsers$) .build() {} class GetCurrentUserCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "GetCurrentUser", {}) .n("WorkDocsClient", "GetCurrentUserCommand") .sc(schemas_0.GetCurrentUser$) .build() {} class GetDocumentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "GetDocument", {}) .n("WorkDocsClient", "GetDocumentCommand") .sc(schemas_0.GetDocument$) .build() {} class GetDocumentPathCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "GetDocumentPath", {}) .n("WorkDocsClient", "GetDocumentPathCommand") .sc(schemas_0.GetDocumentPath$) .build() {} class GetDocumentVersionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "GetDocumentVersion", {}) .n("WorkDocsClient", "GetDocumentVersionCommand") .sc(schemas_0.GetDocumentVersion$) .build() {} class GetFolderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "GetFolder", {}) .n("WorkDocsClient", "GetFolderCommand") .sc(schemas_0.GetFolder$) .build() {} class GetFolderPathCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "GetFolderPath", {}) .n("WorkDocsClient", "GetFolderPathCommand") .sc(schemas_0.GetFolderPath$) .build() {} class GetResourcesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "GetResources", {}) .n("WorkDocsClient", "GetResourcesCommand") .sc(schemas_0.GetResources$) .build() {} class InitiateDocumentVersionUploadCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "InitiateDocumentVersionUpload", {}) .n("WorkDocsClient", "InitiateDocumentVersionUploadCommand") .sc(schemas_0.InitiateDocumentVersionUpload$) .build() {} class RemoveAllResourcePermissionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "RemoveAllResourcePermissions", {}) .n("WorkDocsClient", "RemoveAllResourcePermissionsCommand") .sc(schemas_0.RemoveAllResourcePermissions$) .build() {} class RemoveResourcePermissionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "RemoveResourcePermission", {}) .n("WorkDocsClient", "RemoveResourcePermissionCommand") .sc(schemas_0.RemoveResourcePermission$) .build() {} class RestoreDocumentVersionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "RestoreDocumentVersions", {}) .n("WorkDocsClient", "RestoreDocumentVersionsCommand") .sc(schemas_0.RestoreDocumentVersions$) .build() {} class SearchResourcesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "SearchResources", {}) .n("WorkDocsClient", "SearchResourcesCommand") .sc(schemas_0.SearchResources$) .build() {} class UpdateDocumentCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "UpdateDocument", {}) .n("WorkDocsClient", "UpdateDocumentCommand") .sc(schemas_0.UpdateDocument$) .build() {} class UpdateDocumentVersionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "UpdateDocumentVersion", {}) .n("WorkDocsClient", "UpdateDocumentVersionCommand") .sc(schemas_0.UpdateDocumentVersion$) .build() {} class UpdateFolderCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "UpdateFolder", {}) .n("WorkDocsClient", "UpdateFolderCommand") .sc(schemas_0.UpdateFolder$) .build() {} class UpdateUserCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("AWSGorillaBoyService", "UpdateUser", {}) .n("WorkDocsClient", "UpdateUserCommand") .sc(schemas_0.UpdateUser$) .build() {} const paginateDescribeActivities = core.createPaginator(WorkDocsClient, DescribeActivitiesCommand, "Marker", "Marker", "Limit"); const paginateDescribeComments = core.createPaginator(WorkDocsClient, DescribeCommentsCommand, "Marker", "Marker", "Limit"); const paginateDescribeDocumentVersions = core.createPaginator(WorkDocsClient, DescribeDocumentVersionsCommand, "Marker", "Marker", "Limit"); const paginateDescribeFolderContents = core.createPaginator(WorkDocsClient, DescribeFolderContentsCommand, "Marker", "Marker", "Limit"); const paginateDescribeGroups = core.createPaginator(WorkDocsClient, DescribeGroupsCommand, "Marker", "Marker", "Limit"); const paginateDescribeNotificationSubscriptions = core.createPaginator(WorkDocsClient, DescribeNotificationSubscriptionsCommand, "Marker", "Marker", "Limit"); const paginateDescribeResourcePermissions = core.createPaginator(WorkDocsClient, DescribeResourcePermissionsCommand, "Marker", "Marker", "Limit"); const paginateDescribeRootFolders = core.createPaginator(WorkDocsClient, DescribeRootFoldersCommand, "Marker", "Marker", "Limit"); const paginateDescribeUsers = core.createPaginator(WorkDocsClient, DescribeUsersCommand, "Marker", "Marker", "Limit"); const paginateSearchResources = core.createPaginator(WorkDocsClient, SearchResourcesCommand, "Marker", "Marker", "Limit"); const commands = { AbortDocumentVersionUploadCommand, ActivateUserCommand, AddResourcePermissionsCommand, CreateCommentCommand, CreateCustomMetadataCommand, CreateFolderCommand, CreateLabelsCommand, CreateNotificationSubscriptionCommand, CreateUserCommand, DeactivateUserCommand, DeleteCommentCommand, DeleteCustomMetadataCommand, DeleteDocumentCommand, DeleteDocumentVersionCommand, DeleteFolderCommand, DeleteFolderContentsCommand, DeleteLabelsCommand, DeleteNotificationSubscriptionCommand, DeleteUserCommand, DescribeActivitiesCommand, DescribeCommentsCommand, DescribeDocumentVersionsCommand, DescribeFolderContentsCommand, DescribeGroupsCommand, DescribeNotificationSubscriptionsCommand, DescribeResourcePermissionsCommand, DescribeRootFoldersCommand, DescribeUsersCommand, GetCurrentUserCommand, GetDocumentCommand, GetDocumentPathCommand, GetDocumentVersionCommand, GetFolderCommand, GetFolderPathCommand, GetResourcesCommand, InitiateDocumentVersionUploadCommand, RemoveAllResourcePermissionsCommand, RemoveResourcePermissionCommand, RestoreDocumentVersionsCommand, SearchResourcesCommand, UpdateDocumentCommand, UpdateDocumentVersionCommand, UpdateFolderCommand, UpdateUserCommand,};const paginators = { paginateDescribeActivities, paginateDescribeComments, paginateDescribeDocumentVersions, paginateDescribeFolderContents, paginateDescribeGroups, paginateDescribeNotificationSubscriptions, paginateDescribeResourcePermissions, paginateDescribeRootFolders, paginateDescribeUsers, paginateSearchResources,};class WorkDocs extends WorkDocsClient {}client.createAggregatedClient(commands, WorkDocs, { paginators }); const LocaleType = { DE: "de", DEFAULT: "default", EN: "en", ES: "es", FR: "fr", JA: "ja", KO: "ko", PT_BR: "pt_BR", RU: "ru", ZH_CN: "zh_CN", ZH_TW: "zh_TW",};const UserStatusType = { ACTIVE: "ACTIVE", INACTIVE: "INACTIVE", PENDING: "PENDING",};const StorageType = { QUOTA: "QUOTA", UNLIMITED: "UNLIMITED",};const UserType = { ADMIN: "ADMIN", MINIMALUSER: "MINIMALUSER", POWERUSER: "POWERUSER", USER: "USER", WORKSPACESUSER: "WORKSPACESUSER",};const CommentStatusType = { DELETED: "DELETED", DRAFT: "DRAFT", PUBLISHED: "PUBLISHED",};const ResourceType = { DOCUMENT: "DOCUMENT", FOLDER: "FOLDER",};const ActivityType = { DOCUMENT_ANNOTATION_ADDED: "DOCUMENT_ANNOTATION_ADDED", DOCUMENT_ANNOTATION_DELETED: "DOCUMENT_ANNOTATION_DELETED", DOCUMENT_CHECKED_IN: "DOCUMENT_CHECKED_IN", DOCUMENT_CHECKED_OUT: "DOCUMENT_CHECKED_OUT", DOCUMENT_COMMENT_ADDED: "DOCUMENT_COMMENT_ADDED", DOCUMENT_COMMENT_DELETED: "DOCUMENT_COMMENT_DELETED", DOCUMENT_MOVED: "DOCUMENT_MOVED", DOCUMENT_RECYCLED: "DOCUMENT_RECYCLED", DOCUMENT_RENAMED: "DOCUMENT_RENAMED", DOCUMENT_RESTORED: "DOCUMENT_RESTORED", DOCUMENT_REVERTED: "DOCUMENT_REVERTED", DOCUMENT_SHAREABLE_LINK_CREATED: "DOCUMENT_SHAREABLE_LINK_CREATED", DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED: "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED", DOCUMENT_SHAREABLE_LINK_REMOVED: "DOCUMENT_SHAREABLE_LINK_REMOVED", DOCUMENT_SHARED: "DOCUMENT_SHARED", DOCUMENT_SHARE_PERMISSION_CHANGED: "DOCUMENT_SHARE_PERMISSION_CHANGED", DOCUMENT_UNSHARED: "DOCUMENT_UNSHARED", DOCUMENT_VERSION_DELETED: "DOCUMENT_VERSION_DELETED", DOCUMENT_VERSION_DOWNLOADED: "DOCUMENT_VERSION_DOWNLOADED", DOCUMENT_VERSION_UPLOADED: "DOCUMENT_VERSION_UPLOADED", DOCUMENT_VERSION_VIEWED: "DOCUMENT_VERSION_VIEWED", FOLDER_CREATED: "FOLDER_CREATED", FOLDER_DELETED: "FOLDER_DELETED", FOLDER_MOVED: "FOLDER_MOVED", FOLDER_RECYCLED: "FOLDER_RECYCLED", FOLDER_RENAMED: "FOLDER_RENAMED", FOLDER_RESTORED: "FOLDER_RESTORED", FOLDER_SHAREABLE_LINK_CREATED: "FOLDER_SHAREABLE_LINK_CREATED", FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED: "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED", FOLDER_SHAREABLE_LINK_REMOVED: "FOLDER_SHAREABLE_LINK_REMOVED", FOLDER_SHARED: "FOLDER_SHARED", FOLDER_SHARE_PERMISSION_CHANGED: "FOLDER_SHARE_PERMISSION_CHANGED", FOLDER_UNSHARED: "FOLDER_UNSHARED",};const AdditionalResponseFieldType = { WEBURL: "WEBURL",};const RoleType = { CONTRIBUTOR: "CONTRIBUTOR", COOWNER: "COOWNER", OWNER: "OWNER", VIEWER: "VIEWER",};const PrincipalType = { ANONYMOUS: "ANONYMOUS", GROUP: "GROUP", INVITE: "INVITE", ORGANIZATION: "ORGANIZATION", USER: "USER",};const ShareStatusType = { FAILURE: "FAILURE", SUCCESS: "SUCCESS",};const CommentVisibilityType = { PRIVATE: "PRIVATE", PUBLIC: "PUBLIC",};const ResourceStateType = { ACTIVE: "ACTIVE", RECYCLED: "RECYCLED", RECYCLING: "RECYCLING", RESTORING: "RESTORING",};const SubscriptionProtocolType = { HTTPS: "HTTPS", SQS: "SQS",};const SubscriptionType = { ALL: "ALL",};const DocumentSourceType = { ORIGINAL: "ORIGINAL", WITH_COMMENTS: "WITH_COMMENTS",};const DocumentStatusType = { ACTIVE: "ACTIVE", INITIALIZED: "INITIALIZED",};const DocumentThumbnailType = { LARGE: "LARGE", SMALL: "SMALL", SMALL_HQ: "SMALL_HQ",};const OrderType = { ASCENDING: "ASCENDING", DESCENDING: "DESCENDING",};const ResourceSortType = { DATE: "DATE", NAME: "NAME",};const FolderContentType = { ALL: "ALL", DOCUMENT: "DOCUMENT", FOLDER: "FOLDER",};const RolePermissionType = { DIRECT: "DIRECT", INHERITED: "INHERITED",};const UserFilterType = { ACTIVE_PENDING: "ACTIVE_PENDING", ALL: "ALL",};const UserSortType = { FULL_NAME: "FULL_NAME", STORAGE_LIMIT: "STORAGE_LIMIT", STORAGE_USED: "STORAGE_USED", USER_NAME: "USER_NAME", USER_STATUS: "USER_STATUS",};const ResourceCollectionType = { SHARED_WITH_ME: "SHARED_WITH_ME",};const ContentCategoryType = { AUDIO: "AUDIO", DOCUMENT: "DOCUMENT", IMAGE: "IMAGE", OTHER: "OTHER", PDF: "PDF", PRESENTATION: "PRESENTATION", SOURCE_CODE: "SOURCE_CODE", SPREADSHEET: "SPREADSHEET", VIDEO: "VIDEO",};const PrincipalRoleType = { CONTRIBUTOR: "CONTRIBUTOR", COOWNER: "COOWNER", OWNER: "OWNER", VIEWER: "VIEWER",};const SearchResourceType = { COMMENT: "COMMENT", DOCUMENT: "DOCUMENT", DOCUMENT_VERSION: "DOCUMENT_VERSION", FOLDER: "FOLDER",};const SearchCollectionType = { OWNED: "OWNED", SHARED_WITH_ME: "SHARED_WITH_ME",};const LanguageCodeType = { AR: "AR", BG: "BG", BN: "BN", CS: "CS", DA: "DA", DE: "DE", DEFAULT: "DEFAULT", EL: "EL", EN: "EN", ES: "ES", FA: "FA", FI: "FI", FR: "FR", HI: "HI", HU: "HU", ID: "ID", IT: "IT", JA: "JA", KO: "KO", LT: "LT", LV: "LV", NL: "NL", NO: "NO", PT: "PT", RO: "RO", RU: "RU", SV: "SV", SW: "SW", TH: "TH", TR: "TR", ZH: "ZH",};const OrderByFieldType = { CREATED_TIMESTAMP: "CREATED_TIMESTAMP", MODIFIED_TIMESTAMP: "MODIFIED_TIMESTAMP", NAME: "NAME", RELEVANCE: "RELEVANCE", SIZE: "SIZE",};const SortOrder = { ASC: "ASC", DESC: "DESC",};const SearchQueryScopeType = { CONTENT: "CONTENT", NAME: "NAME",};const ResponseItemType = { COMMENT: "COMMENT", DOCUMENT: "DOCUMENT", DOCUMENT_VERSION: "DOCUMENT_VERSION", FOLDER: "FOLDER",};const DocumentVersionStatus = { ACTIVE: "ACTIVE",};const BooleanEnumType = { FALSE: "FALSE", TRUE: "TRUE",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.WorkDocsServiceException = WorkDocsServiceException.WorkDocsServiceException;exports.AbortDocumentVersionUploadCommand = AbortDocumentVersionUploadCommand;exports.ActivateUserCommand = ActivateUserCommand;exports.ActivityType = ActivityType;exports.AddResourcePermissionsCommand = AddResourcePermissionsCommand;exports.AdditionalResponseFieldType = AdditionalResponseFieldType;exports.BooleanEnumType = BooleanEnumType;exports.CommentStatusType = CommentStatusType;exports.CommentVisibilityType = CommentVisibilityType;exports.ContentCategoryType = ContentCategoryType;exports.CreateCommentCommand = CreateCommentCommand;exports.CreateCustomMetadataCommand = CreateCustomMetadataCommand;exports.CreateFolderCommand = CreateFolderCommand;exports.CreateLabelsCommand = CreateLabelsCommand;exports.CreateNotificationSubscriptionCommand = CreateNotificationSubscriptionCommand;exports.CreateUserCommand = CreateUserCommand;exports.DeactivateUserCommand = DeactivateUserCommand;exports.DeleteCommentCommand = DeleteCommentCommand;exports.DeleteCustomMetadataCommand = DeleteCustomMetadataCommand;exports.DeleteDocumentCommand = DeleteDocumentCommand;exports.DeleteDocumentVersionCommand = DeleteDocumentVersionCommand;exports.DeleteFolderCommand = DeleteFolderCommand;exports.DeleteFolderContentsCommand = DeleteFolderContentsCommand;exports.DeleteLabelsCommand = DeleteLabelsCommand;exports.DeleteNotificationSubscriptionCommand = DeleteNotificationSubscriptionCommand;exports.DeleteUserCommand = DeleteUserCommand;exports.DescribeActivitiesCommand = DescribeActivitiesCommand;exports.DescribeCommentsCommand = DescribeCommentsCommand;exports.DescribeDocumentVersionsCommand = DescribeDocumentVersionsCommand;exports.DescribeFolderContentsCommand = DescribeFolderContentsCommand;exports.DescribeGroupsCommand = DescribeGroupsCommand;exports.DescribeNotificationSubscriptionsCommand = DescribeNotificationSubscriptionsCommand;exports.DescribeResourcePermissionsCommand = DescribeResourcePermissionsCommand;exports.DescribeRootFoldersCommand = DescribeRootFoldersCommand;exports.DescribeUsersCommand = DescribeUsersCommand;exports.DocumentSourceType = DocumentSourceType;exports.DocumentStatusType = DocumentStatusType;exports.DocumentThumbnailType = DocumentThumbnailType;exports.DocumentVersionStatus = DocumentVersionStatus;exports.FolderContentType = FolderContentType;exports.GetCurrentUserCommand = GetCurrentUserCommand;exports.GetDocumentCommand = GetDocumentCommand;exports.GetDocumentPathCommand = GetDocumentPathCommand;exports.GetDocumentVersionCommand = GetDocumentVersionCommand;exports.GetFolderCommand = GetFolderCommand;exports.GetFolderPathCommand = GetFolderPathCommand;exports.GetResourcesCommand = GetResourcesCommand;exports.InitiateDocumentVersionUploadCommand = InitiateDocumentVersionUploadCommand;exports.LanguageCodeType = LanguageCodeType;exports.LocaleType = LocaleType;exports.OrderByFieldType = OrderByFieldType;exports.OrderType = OrderType;exports.PrincipalRoleType = PrincipalRoleType;exports.PrincipalType = PrincipalType;exports.RemoveAllResourcePermissionsCommand = RemoveAllResourcePermissionsCommand;exports.RemoveResourcePermissionCommand = RemoveResourcePermissionCommand;exports.ResourceCollectionType = ResourceCollectionType;exports.ResourceSortType = ResourceSortType;exports.ResourceStateType = ResourceStateType;exports.ResourceType = ResourceType;exports.ResponseItemType = ResponseItemType;exports.RestoreDocumentVersionsCommand = RestoreDocumentVersionsCommand;exports.RolePermissionType = RolePermissionType;exports.RoleType = RoleType;exports.SearchCollectionType = SearchCollectionType;exports.SearchQueryScopeType = SearchQueryScopeType;exports.SearchResourceType = SearchResourceType;exports.SearchResourcesCommand = SearchResourcesCommand;exports.ShareStatusType = ShareStatusType;exports.SortOrder = SortOrder;exports.StorageType = StorageType;exports.SubscriptionProtocolType = SubscriptionProtocolType;exports.SubscriptionType = SubscriptionType;exports.UpdateDocumentCommand = UpdateDocumentCommand;exports.UpdateDocumentVersionCommand = UpdateDocumentVersionCommand;exports.UpdateFolderCommand = UpdateFolderCommand;exports.UpdateUserCommand = UpdateUserCommand;exports.UserFilterType = UserFilterType;exports.UserSortType = UserSortType;exports.UserStatusType = UserStatusType;exports.UserType = UserType;exports.WorkDocs = WorkDocs;exports.WorkDocsClient = WorkDocsClient;exports.paginateDescribeActivities = paginateDescribeActivities;exports.paginateDescribeComments = paginateDescribeComments;exports.paginateDescribeDocumentVersions = paginateDescribeDocumentVersions;exports.paginateDescribeFolderContents = paginateDescribeFolderContents;exports.paginateDescribeGroups = paginateDescribeGroups;exports.paginateDescribeNotificationSubscriptions = paginateDescribeNotificationSubscriptions;exports.paginateDescribeResourcePermissions = paginateDescribeResourcePermissions;exports.paginateDescribeRootFolders = paginateDescribeRootFolders;exports.paginateDescribeUsers = paginateDescribeUsers;exports.paginateSearchResources = paginateSearchResources;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];});