ChatBotKit Node SDK
    Preparing search index...

    Space storage client.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Copies a file in space storage.

      Parameters

      • spaceId: string
      • path: string
      • request: {}

      Returns Promise<{}>

    • Deletes a file or directory from space storage.

      Parameters

      • spaceId: string
      • path: string
      • Optionalrequest: {}

      Returns Promise<{}>

    • Gets a presigned download URL for a file.

      Parameters

      • spaceId: string
      • path: string
      • Optionalrequest: never

      Returns ResponsePromise<{}, never>

    • Creates a new instance of the same client type with extended options.

      This is useful when you need to create a client with modified configuration (e.g., different endpoint, token, or headers) without affecting the original.

      Note: This method creates a completely new instance rather than cloning, which is necessary because private class fields cannot be copied.

      Parameters

      Returns SpaceStorageClient

      A new instance of the same client class with extended options

    • Moves (renames) a file in space storage.

      Parameters

      • spaceId: string
      • path: string
      • request: {}

      Returns Promise<{}>

    • Uploads a file to space storage.

      Parameters

      • spaceId: string
      • path: string
      • request: {} | {}

      Returns Promise<{}>