n8n-nodes-base
Version:
Base nodes of n8n
33 lines (27 loc) • 1.15 kB
text/typescript
/**
* Acuity Scheduling Trigger Node - Version 1
* Handle Acuity Scheduling events via webhooks
*/
export interface AcuitySchedulingTriggerV1Params {
authentication?: 'apiKey' | 'oAuth2' | Expression<string>;
event?: 'appointment.canceled' | 'appointment.changed' | 'appointment.rescheduled' | 'appointment.scheduled' | 'order.completed' | Expression<string>;
/**
* By default does the webhook-data only contain the ID of the object. If this option gets activated, it will resolve the data automatically.
* @default true
*/
resolveData?: boolean | Expression<boolean>;
}
export interface AcuitySchedulingTriggerV1Credentials {
acuitySchedulingApi: CredentialReference;
acuitySchedulingOAuth2Api: CredentialReference;
}
interface AcuitySchedulingTriggerV1NodeBase {
type: 'n8n-nodes-base.acuitySchedulingTrigger';
version: 1;
credentials?: AcuitySchedulingTriggerV1Credentials;
isTrigger: true;
}
export type AcuitySchedulingTriggerV1ParamsNode = AcuitySchedulingTriggerV1NodeBase & {
config: NodeConfig<AcuitySchedulingTriggerV1Params>;
};
export type AcuitySchedulingTriggerV1Node = AcuitySchedulingTriggerV1ParamsNode;