/**
 * Notion Node - Version 1
 * Discriminator: resource=database, operation=get
 */


interface Credentials {
  notionApi: CredentialReference;
}

/** Get a database */
export type NotionV1DatabaseGetParams = {
  resource: 'database';
  operation: 'get';
/**
 * The Notion Database to get
 * @default {"mode":"list","value":""}
 */
    databaseId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
};

export type NotionV1DatabaseGetNode = {
  type: 'n8n-nodes-base.notion';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<NotionV1DatabaseGetParams>;
};