25 lines
375 B
TypeScript
Executable File
25 lines
375 B
TypeScript
Executable File
import type { IDataObject } from 'n8n-workflow';
|
|
|
|
export type SplunkCredentials = {
|
|
authToken: string;
|
|
baseUrl: string;
|
|
allowUnauthorizedCerts: boolean;
|
|
};
|
|
|
|
export type SplunkFeedResponse = {
|
|
feed: {
|
|
entry: IDataObject[] | IDataObject;
|
|
};
|
|
};
|
|
|
|
export type SplunkError = {
|
|
response?: {
|
|
messages?: {
|
|
msg: {
|
|
$: { type: string };
|
|
_: string;
|
|
};
|
|
};
|
|
};
|
|
};
|