mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
26 lines
415 B
TypeScript
26 lines
415 B
TypeScript
import type { IDataObject } from 'n8n-workflow';
|
|
|
|
export interface IAttachment {
|
|
url: string;
|
|
filename: string;
|
|
type: string;
|
|
}
|
|
|
|
export interface IRecord {
|
|
fields: {
|
|
[key: string]: string | IAttachment[];
|
|
};
|
|
}
|
|
|
|
export type UpdateRecord = {
|
|
fields: IDataObject;
|
|
id?: string;
|
|
};
|
|
export type UpdateBody = {
|
|
records: UpdateRecord[];
|
|
performUpsert?: {
|
|
fieldsToMergeOn: string[];
|
|
};
|
|
typecast?: boolean;
|
|
};
|