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