Package-level declarations

Types

Link copied to clipboard
object KNotion

Entry point for creating and configuring a Notion API client. This object provides factory methods to create instances of KNotionClient with the necessary configuration.

Link copied to clipboard
interface KNotionBlocks

Interface for managing Notion blocks through the Notion API. This interface provides methods to create, retrieve, update, and manage blocks within pages and other blocks. Blocks are the fundamental content units in Notion, including paragraphs, lists, to-do items, and more.

Link copied to clipboard
interface KNotionClient

Main interface for interacting with the Notion API. This client provides access to all Notion API endpoints through specialized interfaces for different resource types (users, databases, pages, blocks, and search).

Link copied to clipboard

Interface for managing Notion databases through the Notion API. This interface provides methods to create, retrieve, update, and query databases in your Notion workspace. Databases can be created as children of pages and can contain various property types and content.

Link copied to clipboard
interface KNotionPages

Interface for managing Notion pages through the Notion API. This interface provides methods to create, retrieve, update, and archive pages in your Notion workspace. Pages can be created either as children of databases or other pages, with support for various content types and properties.

Link copied to clipboard
interface KNotionSearch

Interface for searching Notion content through the Notion API. This interface provides methods to search for pages and databases across your Notion workspace. Search results can be filtered, sorted, and paginated.

Link copied to clipboard
interface KNotionUsers

Interface for managing Notion users through the Notion API. This interface provides methods to retrieve information about users in your Notion workspace, including the current user, workspace members, and bots.