/**
 * Jotform Trigger Node - Version 1
 * Handle Jotform events via webhooks
 */


export interface JotFormTriggerV1Params {
/**
 * Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;
 */
    form?: string | Expression<string>;
/**
 * By default does the webhook-data use internal keys instead of the names. If this option gets activated, it will resolve the keys automatically to the actual names.
 * @default true
 */
    resolveData?: boolean | Expression<boolean>;
/**
 * Whether to return only the answers of the form and not any of the other data
 * @default true
 */
    onlyAnswers?: boolean | Expression<boolean>;
}

export interface JotFormTriggerV1Credentials {
  jotFormApi: CredentialReference;
}

interface JotFormTriggerV1NodeBase {
  type: 'n8n-nodes-base.jotFormTrigger';
  version: 1;
  credentials?: JotFormTriggerV1Credentials;
  isTrigger: true;
}

export type JotFormTriggerV1ParamsNode = JotFormTriggerV1NodeBase & {
  config: NodeConfig<JotFormTriggerV1Params>;
};

export type JotFormTriggerV1Node = JotFormTriggerV1ParamsNode;