UNPKG

n8n-nodes-smartsuite

Version:
22 lines (21 loc) 974 B
import type { IExecuteFunctions } from 'n8n-workflow'; /** * Flattens an n8n “resourceLocator” value into its raw ID string. */ export declare function asIdString(input: unknown): string; /** * Debug logger (gated by SMARTSUITE_DEBUG / SMARTSUITE_DEBUG_LEVEL). */ export declare function debugLog(msg: string, data?: unknown, level?: number): void; /** * Validate a resourceLocator (list/id): throw NodeOperationError if missing or invalid. */ export declare function requireParam(this: IExecuteFunctions, paramName: string, label: string, itemIndex?: number, pattern?: RegExp, patternMessage?: string): string; /** * Fields that SmartSuite manages internally (cannot be set via API). */ export declare const RESERVED_FIELDS: readonly ["autonumber", "count", "first_created", "formula", "last_updated", "record_id", "rollup", "vote"]; /** * Test whether a field-slug is one of those reserved. */ export declare function isReservedField(slug: string): boolean;