n8n-nodes-smartsuite
Version:
n8n community node for SmartSuite
24 lines (23 loc) • 1.3 kB
TypeScript
import { INodeType, INodeTypeDescription } from 'n8n-workflow';
import type { IPollFunctions, ICredentialTestFunctions, INodeCredentialTestResult, INodeExecutionData } from 'n8n-workflow';
import { getOperations, getTableFields, getMutableTableFields, getFilterOptionsForFieldType } from './methods/loadOptions';
export declare class SmartSuiteTrigger implements INodeType {
description: INodeTypeDescription;
methods: {
credentialTest: {
smartSuiteApiTest(this: ICredentialTestFunctions): Promise<INodeCredentialTestResult>;
};
loadOptions: {
getOperations: typeof getOperations;
getTableFields: typeof getTableFields;
getMutableTableFields: typeof getMutableTableFields;
getFilterOptionsForFieldType: typeof getFilterOptionsForFieldType;
};
listSearch: {
solutionSearch: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
tableSearch: (this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string) => Promise<import("n8n-workflow").INodeListSearchResult>;
};
};
poll(this: IPollFunctions): Promise<INodeExecutionData[][] | null>;
}
export default SmartSuiteTrigger;