/** * GoToWebinar Node - Version 1 * Discriminator: resource=registrant, operation=create */ interface Credentials { goToWebinarOAuth2Api: CredentialReference; } export type GoToWebinarV1RegistrantCreateParams = { resource: 'registrant'; operation: 'create'; /** * Key of the webinar of the registrant to create. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ webinarKey?: string | Expression; /** * First name of the registrant to create */ firstName?: string | Expression | PlaceholderValue; /** * Last name of the registrant to create */ lastName?: string | Expression | PlaceholderValue; /** * Email address of the registrant to create */ email?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Full address of the registrant to create * @default {} */ fullAddress?: { /** Details */ details?: { /** Address */ address?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Zip Code */ zipCode?: string | Expression | PlaceholderValue; /** Country */ country?: string | Expression | PlaceholderValue; }; }; /** The type of industry the registrant's organization belongs to */ industry?: string | Expression | PlaceholderValue; /** Job Title */ jobTitle?: string | Expression | PlaceholderValue; /** Set the answers to all questions * @default {} */ multiChoiceResponses?: { /** Details */ details?: Array<{ /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ questionKey?: string | Expression; /** Answer ID of the question */ AnswerKey?: string | Expression | PlaceholderValue; }>; }; /** The size in employees of the registrant's organization */ numberOfEmployees?: string | Expression | PlaceholderValue; /** Organization */ organization?: string | Expression | PlaceholderValue; /** Telephone */ phone?: string | Expression | PlaceholderValue; /** Registrant's role in purchasing the product */ purchasingRole?: string | Expression | PlaceholderValue; /** Time frame within which the product will be purchased */ purchasingTimeFrame?: string | Expression | PlaceholderValue; /** Questions or comments made by the registrant during registration */ questionsAndComments?: string | Expression | PlaceholderValue; /** Resend Confirmation * @default false */ resendConfirmation?: boolean | Expression; /** Set the answers to all questions * @default {} */ simpleResponses?: { /** Details */ details?: Array<{ /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ questionKey?: string | Expression; /** Text of the response to the question */ responseText?: string | Expression | PlaceholderValue; }>; }; /** The source that led to the registration */ source?: string | Expression | PlaceholderValue; }; }; export type GoToWebinarV1RegistrantCreateNode = { type: 'n8n-nodes-base.goToWebinar'; version: 1; credentials?: Credentials; config: NodeConfig; };