/**
 * OpenAI Node - Version 1.2
 * Discriminator: resource=assistant, operation=list
 */


interface Credentials {
  openAiApi: CredentialReference;
}

/** List assistants in the organization */
export type LcOpenAiV12AssistantListParams = {
  resource: 'assistant';
  operation: 'list';
/**
 * Whether to return a simplified version of the response instead of the raw data
 * @default true
 */
    simplify?: boolean | Expression<boolean>;
};

export interface LcOpenAiV12AssistantListSubnodeConfig {
  tools?: ToolInstance[];
  memory?: MemoryInstance;
}

export type LcOpenAiV12AssistantListNode = {
  type: '@n8n/n8n-nodes-langchain.openAi';
  version: 1.2;
  credentials?: Credentials;
  isTrigger: true;
  config: NodeConfig<LcOpenAiV12AssistantListParams> & { subnodes?: LcOpenAiV12AssistantListSubnodeConfig };
};