mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix spellings
This commit is contained in:
parent
a6e40aaebe
commit
37ff6a8f13
|
@ -46,7 +46,6 @@ export async function zoomApiRequest(this: IExecuteFunctions | IExecuteSingleFun
|
||||||
return await this.helpers.request(options);
|
return await this.helpers.request(options);
|
||||||
} else {
|
} else {
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
|
|
||||||
return await this.helpers.requestOAuth2.call(this, 'zoomOAuth2Api', options);
|
return await this.helpers.requestOAuth2.call(this, 'zoomOAuth2Api', options);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
@ -98,7 +98,7 @@ export const meetingFields = [
|
||||||
name: 'alternative_hosts',
|
name: 'alternative_hosts',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Alternative hosts email ids.',
|
description: 'Alternative hosts email IDs.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Auto recording',
|
displayName: 'Auto recording',
|
||||||
|
@ -242,11 +242,11 @@ export const meetingFields = [
|
||||||
value: 1,
|
value: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Attendees need to register for every occurence',
|
name: 'Attendees need to register for every occurrence',
|
||||||
value: 2,
|
value: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Attendees register once and can choose one or more occurences to attend',
|
name: 'Attendees register once and can choose one or more occurrences to attend',
|
||||||
value: 3,
|
value: 3,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -326,18 +326,18 @@ export const meetingFields = [
|
||||||
},
|
},
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
displayName: 'Occurence Id',
|
displayName: 'Occurrence ID',
|
||||||
name: 'occurenceId',
|
name: 'occurrenceId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'To view meeting details of a particular occurence of the recurring meeting.',
|
description: 'To view meeting details of a particular occurrence of the recurring meeting.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Show Previous Occurences',
|
displayName: 'Show Previous Occurrences',
|
||||||
name: 'showPreviousOccurences',
|
name: 'showPreviousOccurrences',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'To view meeting details of all previous occurences of the recurring meeting.',
|
description: 'To view meeting details of all previous occurrences of the recurring meeting.',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -360,7 +360,7 @@ export const meetingFields = [
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
description: 'User ID or email-id.',
|
description: 'User ID or email-ID.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Return All',
|
displayName: 'Return All',
|
||||||
|
@ -483,11 +483,11 @@ export const meetingFields = [
|
||||||
},
|
},
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
displayName: 'Occurence Id',
|
displayName: 'Occurence ID',
|
||||||
name: 'occurenceId',
|
name: 'occurrenceId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Meeting occurence Id.',
|
description: 'Meeting occurrence ID.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Schedule a reminder',
|
displayName: 'Schedule a reminder',
|
||||||
|
@ -503,7 +503,7 @@ export const meetingFields = [
|
||||||
/* meeting:update */
|
/* meeting:update */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'Meeting Id',
|
displayName: 'Meeting ID',
|
||||||
name: 'meetingId',
|
name: 'meetingId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
|
@ -630,11 +630,11 @@ export const meetingFields = [
|
||||||
description: 'Start video when host joins the meeting.',
|
description: 'Start video when host joins the meeting.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Occurence Id',
|
displayName: 'Occurrence Id',
|
||||||
name: 'occurenceId',
|
name: 'occurrenceId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Occurence ID.',
|
description: 'Occurrence ID.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Meeting topic',
|
displayName: 'Meeting topic',
|
||||||
|
@ -696,15 +696,15 @@ export const meetingFields = [
|
||||||
type: 'options',
|
type: 'options',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Attendees register once and can attend any of the occurences',
|
name: 'Attendees register once and can attend any of the occurrences',
|
||||||
value: 1,
|
value: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Attendees need to register for every occurence',
|
name: 'Attendees need to register for every occurrence',
|
||||||
value: 2,
|
value: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Attendees register once and can choose one or more occurences to attend',
|
name: 'Attendees register once and can choose one or more occurrences to attend',
|
||||||
value: 3,
|
value: 3,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -155,11 +155,11 @@ export const meetingRegistrantFields = [
|
||||||
description: 'Last Name.',
|
description: 'Last Name.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Occurence Ids',
|
displayName: 'Occurrence Ids',
|
||||||
name: 'occurenceId',
|
name: 'occurrenceId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Occurence IDs separated by comma.',
|
description: 'Occurrence IDs separated by comma.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Organization',
|
displayName: 'Organization',
|
||||||
|
@ -328,11 +328,11 @@ export const meetingRegistrantFields = [
|
||||||
},
|
},
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
displayName: 'Occurence Id',
|
displayName: 'Occurrence Id',
|
||||||
name: 'occurence_id',
|
name: 'occurrence_id',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: `Occurence Id.`,
|
description: `Occurrence Id.`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Status',
|
displayName: 'Status',
|
||||||
|
@ -429,11 +429,11 @@ export const meetingRegistrantFields = [
|
||||||
},
|
},
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
displayName: 'Occurence Id',
|
displayName: 'Occurrence Id',
|
||||||
name: 'occurenceId',
|
name: 'occurrenceId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Occurence ID.',
|
description: 'Occurrence ID.',
|
||||||
},
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
|
@ -209,11 +209,11 @@ export const webinarFields = [
|
||||||
value: 1,
|
value: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Attendees need to register for every occurence',
|
name: 'Attendees need to register for every occurrence',
|
||||||
value: 2,
|
value: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Attendees register once and can choose one or more occurences to attend',
|
name: 'Attendees register once and can choose one or more occurrences to attend',
|
||||||
value: 3,
|
value: 3,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -312,14 +312,14 @@ export const webinarFields = [
|
||||||
name: 'occurenceId',
|
name: 'occurenceId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'To view webinar details of a particular occurence of the recurring webinar.',
|
description: 'To view webinar details of a particular occurrence of the recurring webinar.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Show Previous Occurences',
|
displayName: 'Show Previous Occurrences',
|
||||||
name: 'showPreviousOccurences',
|
name: 'showPreviousOccurrences',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'To view webinar details of all previous occurences of the recurring webinar.',
|
description: 'To view webinar details of all previous occurrences of the recurring webinar.',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -386,7 +386,7 @@ export const webinarFields = [
|
||||||
description: 'How many results to return.',
|
description: 'How many results to return.',
|
||||||
},
|
},
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* webina:delete */
|
/* webinar:delete */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'Webinar Id',
|
displayName: 'Webinar Id',
|
||||||
|
@ -424,11 +424,11 @@ export const webinarFields = [
|
||||||
},
|
},
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
displayName: 'Occurence Id',
|
displayName: 'Occurrence Id',
|
||||||
name: 'occurenceId',
|
name: 'occurrenceId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Webinar occurence Id.',
|
description: 'Webinar occurrence Id.',
|
||||||
},
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -566,11 +566,11 @@ export const webinarFields = [
|
||||||
description: 'Start video when host joins the webinar.',
|
description: 'Start video when host joins the webinar.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Occurence Id',
|
displayName: 'Occurrence Id',
|
||||||
name: 'occurence_id',
|
name: 'occurrence_id',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: `Webinar occurence Id.`,
|
description: `Webinar occurrence Id.`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Password',
|
displayName: 'Password',
|
||||||
|
@ -599,27 +599,27 @@ export const webinarFields = [
|
||||||
type: 'options',
|
type: 'options',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Attendees register once and can attend any of the occurences',
|
name: 'Attendees register once and can attend any of the occurrences',
|
||||||
value: 1,
|
value: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Attendees need to register for every occurence',
|
name: 'Attendees need to register for every occurrence',
|
||||||
value: 2,
|
value: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Attendees register once and can choose one or more occurences to attend',
|
name: 'Attendees register once and can choose one or more occurrences to attend',
|
||||||
value: 3,
|
value: 3,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
default: 1,
|
default: 1,
|
||||||
description: 'Registration type. Used for recurring webinars with fixed time only',
|
description: 'Registration type. Used for recurring webinars with fixed time only.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Start time',
|
displayName: 'Start time',
|
||||||
name: 'startTime',
|
name: 'startTime',
|
||||||
type: 'dateTime',
|
type: 'dateTime',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Start time should be used only for scheduled or recurring webinar with fixed time',
|
description: 'Start time should be used only for scheduled or recurring webinar with fixed time.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Timezone',
|
displayName: 'Timezone',
|
||||||
|
|
|
@ -177,18 +177,17 @@ export class Zoom implements INodeType {
|
||||||
if (operation === 'get') {
|
if (operation === 'get') {
|
||||||
//https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting
|
//https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting
|
||||||
const meetingId = this.getNodeParameter('meetingId', i) as string;
|
const meetingId = this.getNodeParameter('meetingId', i) as string;
|
||||||
|
|
||||||
const additionalFields = this.getNodeParameter(
|
const additionalFields = this.getNodeParameter(
|
||||||
'additionalFields',
|
'additionalFields',
|
||||||
i
|
i
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
if (additionalFields.showPreviousOccurences) {
|
if (additionalFields.showPreviousOccurrences) {
|
||||||
qs.show_previous_occurences = additionalFields.showPreviousOccurences as boolean;
|
qs.show_previous_occurrences = additionalFields.showPreviousOccurrences as boolean;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (additionalFields.occurenceId) {
|
if (additionalFields.occurrenceId) {
|
||||||
qs.occurence_id = additionalFields.occurenceId as string;
|
qs.occurrence_id = additionalFields.occurrenceId as string;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -226,8 +225,8 @@ export class Zoom implements INodeType {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (additionalFields.occurenceId) {
|
if (additionalFields.occurrenceId) {
|
||||||
qs.occurence_id = additionalFields.occurenceId;
|
qs.occurrence_id = additionalFields.occurrenceId;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -363,8 +362,8 @@ export class Zoom implements INodeType {
|
||||||
i
|
i
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
|
|
||||||
if (additionalFields.occurenceId) {
|
if (additionalFields.occurrenceId) {
|
||||||
qs.occurence_id = additionalFields.occurenceId as string;
|
qs.occurrence_id = additionalFields.occurrenceId as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (additionalFields.cn_meeting) {
|
if (additionalFields.cn_meeting) {
|
||||||
|
@ -488,8 +487,8 @@ export class Zoom implements INodeType {
|
||||||
'additionalFields',
|
'additionalFields',
|
||||||
i
|
i
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
if (additionalFields.occurenceId) {
|
if (additionalFields.occurrenceId) {
|
||||||
qs.occurence_ids = additionalFields.occurenceId as string;
|
qs.occurrence_ids = additionalFields.occurrenceId as string;
|
||||||
}
|
}
|
||||||
if (additionalFields.lastName) {
|
if (additionalFields.lastName) {
|
||||||
body.last_name = additionalFields.lastName as string;
|
body.last_name = additionalFields.lastName as string;
|
||||||
|
@ -542,8 +541,8 @@ export class Zoom implements INodeType {
|
||||||
'additionalFields',
|
'additionalFields',
|
||||||
i
|
i
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
if (additionalFields.occurenceId) {
|
if (additionalFields.occurrenceId) {
|
||||||
qs.occurence_id = additionalFields.occurenceId as string;
|
qs.occurrence_id = additionalFields.occurrenceId as string;
|
||||||
}
|
}
|
||||||
if (additionalFields.status) {
|
if (additionalFields.status) {
|
||||||
qs.status = additionalFields.status as string;
|
qs.status = additionalFields.status as string;
|
||||||
|
@ -567,7 +566,7 @@ export class Zoom implements INodeType {
|
||||||
i
|
i
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
if (additionalFields.occurenceId) {
|
if (additionalFields.occurenceId) {
|
||||||
qs.occurence_id = additionalFields.occurenceId as string;
|
qs.occurrence_id = additionalFields.occurrenceId as string;
|
||||||
}
|
}
|
||||||
responseData = await zoomApiRequest.call(
|
responseData = await zoomApiRequest.call(
|
||||||
this,
|
this,
|
||||||
|
@ -676,13 +675,13 @@ export class Zoom implements INodeType {
|
||||||
'additionalFields',
|
'additionalFields',
|
||||||
i
|
i
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
if (additionalFields.showPreviousOccurences) {
|
if (additionalFields.showPreviousOccurrences) {
|
||||||
qs.show_previous_occurences = additionalFields.showPreviousOccurences as boolean;
|
qs.show_previous_occurrences = additionalFields.showPreviousOccurrences as boolean;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (additionalFields.occurenceId) {
|
if (additionalFields.occurrenceId) {
|
||||||
qs.occurence_id = additionalFields.occurenceId as string;
|
qs.occurrence_id = additionalFields.occurrenceId as string;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -716,8 +715,8 @@ export class Zoom implements INodeType {
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
|
|
||||||
|
|
||||||
if (additionalFields.occurenceId) {
|
if (additionalFields.occurrenceId) {
|
||||||
qs.occurence_id = additionalFields.occurenceId;
|
qs.occurrence_id = additionalFields.occurrenceId;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -737,8 +736,8 @@ export class Zoom implements INodeType {
|
||||||
'additionalFields',
|
'additionalFields',
|
||||||
i
|
i
|
||||||
) as IDataObject;
|
) as IDataObject;
|
||||||
if (additionalFields.occurence_id) {
|
if (additionalFields.occurrence_id) {
|
||||||
qs.occurence_id = additionalFields.occurence_id as string;
|
qs.occurrence_id = additionalFields.occurrence_id as string;
|
||||||
|
|
||||||
}
|
}
|
||||||
const settings: Settings = {};
|
const settings: Settings = {};
|
||||||
|
|
Loading…
Reference in a new issue