/** * Copper Node - Version 1 * Discriminator: resource=opportunity, operation=getAll */ interface Credentials { copperApi: CredentialReference; } export type CopperV1OpportunityGetAllParams = { resource: 'opportunity'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 5 */ limit?: number | Expression; /** * Filters * @default {} */ filterFields?: { /** Comma-separated IDs of the primary companies to filter by */ company_ids?: string | Expression | PlaceholderValue; /** Comma-separated IDs of the customer sources to filter by */ customer_source_ids?: string | Expression | PlaceholderValue; }; }; export type CopperV1OpportunityGetAllNode = { type: 'n8n-nodes-base.copper'; version: 1; credentials?: Credentials; config: NodeConfig; };