mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix webinar naming conventions
This commit is contained in:
parent
7fea380af5
commit
f9fe9de235
|
@ -482,14 +482,14 @@ export const webinarFields = [
|
|||
},
|
||||
{
|
||||
displayName: 'Alternative Hosts',
|
||||
name: 'alternative_hosts',
|
||||
name: 'alternativeHosts',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Alternative hosts email IDs.',
|
||||
},
|
||||
{
|
||||
displayName: 'Approval Type',
|
||||
name: 'approval_type',
|
||||
name: 'approvalType',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
|
@ -510,7 +510,7 @@ export const webinarFields = [
|
|||
},
|
||||
{
|
||||
displayName: 'Auto Recording',
|
||||
name: 'auto_recording',
|
||||
name: 'autoRecording',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
|
@ -560,14 +560,14 @@ export const webinarFields = [
|
|||
},
|
||||
{
|
||||
displayName: 'Host Video',
|
||||
name: 'host_video',
|
||||
name: 'hostVideo',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Start video when host joins the webinar.',
|
||||
},
|
||||
{
|
||||
displayName: 'Occurrence ID',
|
||||
name: 'occurrence_id',
|
||||
name: 'occurrenceId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Webinar occurrence ID.`,
|
||||
|
@ -581,21 +581,21 @@ export const webinarFields = [
|
|||
},
|
||||
{
|
||||
displayName: 'Panelists Video',
|
||||
name: 'panelists_video',
|
||||
name: 'panelistsVideo',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Start video when panelists joins the webinar.',
|
||||
},
|
||||
{
|
||||
displayName: 'Practice Session',
|
||||
name: 'practice_session',
|
||||
name: 'practiceSession',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Enable Practice session.',
|
||||
},
|
||||
{
|
||||
displayName: 'Registration Type',
|
||||
name: 'registration_type',
|
||||
name: 'registrationType',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
|
|
|
@ -749,8 +749,8 @@ export class Zoom implements INodeType {
|
|||
'additionalFields',
|
||||
i
|
||||
) as IDataObject;
|
||||
if (additionalFields.occurrence_id) {
|
||||
qs.occurrence_id = additionalFields.occurrence_id as string;
|
||||
if (additionalFields.occurrenceId) {
|
||||
qs.occurrence_id = additionalFields.occurrenceId as string;
|
||||
|
||||
}
|
||||
const settings: Settings = {};
|
||||
|
@ -758,30 +758,34 @@ export class Zoom implements INodeType {
|
|||
settings.audio = additionalFields.audio as string;
|
||||
|
||||
}
|
||||
if (additionalFields.alternative_hosts) {
|
||||
settings.alternative_hosts = additionalFields.alternative_hosts as string;
|
||||
if (additionalFields.alternativeHosts) {
|
||||
settings.alternative_hosts = additionalFields.alternativeHosts as string;
|
||||
|
||||
}
|
||||
|
||||
if (additionalFields.panelists_video) {
|
||||
settings.panelists_video = additionalFields.panelists_video as boolean;
|
||||
if (additionalFields.panelistsVideo) {
|
||||
settings.panelists_video = additionalFields.panelistsVideo as boolean;
|
||||
|
||||
}
|
||||
if (additionalFields.practice_session) {
|
||||
settings.practice_session = additionalFields.practice_session as boolean;
|
||||
if (additionalFields.hostVideo) {
|
||||
settings.host_video = additionalFields.hostVideo as boolean;
|
||||
|
||||
}
|
||||
if (additionalFields.auto_recording) {
|
||||
settings.auto_recording = additionalFields.auto_recording as string;
|
||||
if (additionalFields.practiceSession) {
|
||||
settings.practice_session = additionalFields.practiceSession as boolean;
|
||||
|
||||
}
|
||||
if (additionalFields.autoRecording) {
|
||||
settings.auto_recording = additionalFields.autoRecording as string;
|
||||
|
||||
}
|
||||
|
||||
if (additionalFields.registration_type) {
|
||||
settings.registration_type = additionalFields.registration_type as number;
|
||||
if (additionalFields.registrationType) {
|
||||
settings.registration_type = additionalFields.registrationType as number;
|
||||
|
||||
}
|
||||
if (additionalFields.approval_type) {
|
||||
settings.approval_type = additionalFields.approval_type as number;
|
||||
if (additionalFields.approvalType) {
|
||||
settings.approval_type = additionalFields.approvalType as number;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue