n8n-nodes-smartsuite
Version:
n8n community node for SmartSuite
28 lines (27 loc) • 1.6 kB
TypeScript
import { INodeType, INodeTypeDescription } from 'n8n-workflow';
import type { IExecuteFunctions, ICredentialTestFunctions, INodeCredentialTestResult, INodeExecutionData } from 'n8n-workflow';
import { getOperations, getTableFields, getMutableTableFields, getFilterOptionsForFieldType, searchTableFields, searchTableFieldsMutable } from './methods/loadOptions';
import { getAllFilterConditions } from './helpers/getValidFilters';
export declare class SmartSuite implements INodeType {
description: INodeTypeDescription;
methods: {
credentialTest: {
smartSuiteApiTest(this: ICredentialTestFunctions): Promise<INodeCredentialTestResult>;
};
loadOptions: {
getOperations: typeof getOperations;
getTableFields: typeof getTableFields;
getMutableTableFields: typeof getMutableTableFields;
getFilterOptionsForFieldType: typeof getFilterOptionsForFieldType;
getAllFilterConditions: typeof getAllFilterConditions;
searchTableFields: typeof searchTableFields;
searchTableFieldsMutable: typeof searchTableFieldsMutable;
};
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>;
};
};
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}
export default SmartSuite;