chittycan
Version:
Your completely autonomous network that grows with you - DNA ownership platform with encrypted vaults, PDX portability, and ChittyFoundation governance
16 lines • 579 B
TypeScript
import type { NotionAction } from "../types/index.js";
export declare class NotionClient {
private client;
constructor(token: string);
queryDatabase(databaseId: string): Promise<NotionAction[]>;
updatePage(pageId: string, updates: Partial<NotionAction>): Promise<void>;
createPage(databaseId: string, action: NotionAction): Promise<string>;
private pageToAction;
private extractTitle;
private extractText;
private extractSelect;
private extractDate;
private extractUrl;
private extractNumber;
}
//# sourceMappingURL=notion.d.ts.map