n8n-nodes-smartsuite
Version:
n8n community node for SmartSuite
49 lines (48 loc) • 2.62 kB
TypeScript
import type { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
import * as recordCreate from '../actions/record/createRecord.operation';
import * as recordList from '../actions/record/listRecord.operation';
import * as recordSearch from '../actions/record/searchRecord.operation';
import * as recordGet from '../actions/record/getRecord.operation';
import * as recordUpdate from '../actions/record/updateRecord.operation';
import * as recordUpsert from '../actions/record/upsertRecord.operation';
import * as recordDelete from '../actions/record/deleteRecord.operation';
import * as tableList from '../actions/table/listTable.operation';
import * as tableGet from '../actions/table/getTable.operation';
import * as tableCreateField from '../actions/table/createTableField.operation';
import * as tableCreate from '../actions/table/createTable.operation';
import * as solutionList from '../actions/solution/listSolution.operation';
import * as solutionGet from '../actions/solution/getSolution.operation';
import * as orgListMembers from '../actions/orgManagement/listMembers.operation';
import * as orgListTeams from '../actions/orgManagement/listTeams.operation';
import * as orgGetCurrent from '../actions/orgManagement/getCurrentUser.operation';
import makeApiRequest from '../actions/api/makeApiRequest.operation';
export declare const resourceMapping: {
readonly record: {
readonly createRecord: typeof recordCreate.execute;
readonly listRecord: typeof recordList.execute;
readonly searchRecord: typeof recordSearch.execute;
readonly getRecord: typeof recordGet.execute;
readonly updateRecord: typeof recordUpdate.execute;
readonly upsertRecord: typeof recordUpsert.execute;
readonly deleteRecord: typeof recordDelete.execute;
};
readonly table: {
readonly listTable: typeof tableList.execute;
readonly getTable: typeof tableGet.execute;
readonly createTableField: typeof tableCreateField.execute;
readonly createTable: typeof tableCreate.execute;
};
readonly solution: {
readonly listSolution: typeof solutionList.execute;
readonly getSolution: typeof solutionGet.execute;
};
readonly orgManagement: {
readonly listMembers: typeof orgListMembers.execute;
readonly listTeams: typeof orgListTeams.execute;
readonly getCurrentUser: typeof orgGetCurrent.execute;
};
readonly apiRequest: {
readonly make: typeof makeApiRequest;
};
};
export declare function callResource(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;