/** * Action Network Node - Version 1 * Discriminator: resource=event, operation=create */ interface Credentials { actionNetworkApi: CredentialReference; } export type ActionNetworkV1EventCreateParams = { resource: 'event'; operation: 'create'; /** * Source where the event originated */ originSystem?: string | Expression | PlaceholderValue; /** * Title of the event to create */ title?: string | Expression | PlaceholderValue; /** * Whether to return a simplified version of the response instead of the raw data * @default true */ simple?: boolean | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** URL to this event’s page on the Action Network or a third party */ browser_url?: string | Expression | PlaceholderValue; /** Description of the event. HTML supported. */ description?: string | Expression | PlaceholderValue; /** End date and time of the event */ end_date?: string | Expression; /** URL to this event’s featured image on the Action Network */ featured_image_url?: string | Expression | PlaceholderValue; /** Event's instructions for activists, visible after they RSVP. HTML supported. */ instructions?: string | Expression | PlaceholderValue; /** Location * @default {} */ location?: { /** Postal Addresses Fields */ postal_addresses_fields?: { /** Whether this is the person's primary address * @default false */ primary?: boolean | Expression; /** Line for a person's address */ address_lines?: string | Expression | PlaceholderValue; /** City or other local administrative area. If blank, this will be filled in based on Action Network's geocoding. */ locality?: string | Expression | PlaceholderValue; /** State or subdivision code per ISO 3166-2 */ region?: string | Expression | PlaceholderValue; /** Region specific postal code, such as ZIP code */ postal_code?: string | Expression | PlaceholderValue; /** Country code according to ISO 3166-1 Alpha-2. Defaults to US. */ country?: string | Expression | PlaceholderValue; /** Language in which the address is recorded, per ISO 639 */ language?: string | Expression | PlaceholderValue; /** Location * @default {} */ location?: { /** Location Fields */ location_fields?: { /** Latitude of the location of the address */ latitude?: string | Expression | PlaceholderValue; /** Longitude of the location of the address */ longitude?: string | Expression | PlaceholderValue; }; }; }; }; /** Internal (not public) title of the event */ name?: string | Expression | PlaceholderValue; /** Start date and time of the event */ start_date?: string | Expression; }; }; export type ActionNetworkV1EventCreateNode = { type: 'n8n-nodes-base.actionNetwork'; version: 1; credentials?: Credentials; config: NodeConfig; };