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


interface Credentials {
  openAiApi: CredentialReference;
}

/** List assistants in the organization */
export type LcOpenAiV16AssistantListParams = {
  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 LcOpenAiV16AssistantListSubnodeConfig {
  tools?: ToolInstance[];
  memory?: MemoryInstance;
}

export type LcOpenAiV16AssistantListNode = {
  type: '@n8n/n8n-nodes-langchain.openAi';
  version: 1.6;
  credentials?: Credentials;
  isTrigger: true;
  config: NodeConfig<LcOpenAiV16AssistantListParams> & { subnodes?: LcOpenAiV16AssistantListSubnodeConfig };
};