fix spellings

This commit is contained in:
shraddha shaligram 2020-06-23 13:40:43 -07:00
parent a6e40aaebe
commit 37ff6a8f13
5 changed files with 68 additions and 70 deletions

View file

@ -46,7 +46,6 @@ export async function zoomApiRequest(this: IExecuteFunctions | IExecuteSingleFun
return await this.helpers.request(options);
} else {
//@ts-ignore
return await this.helpers.requestOAuth2.call(this, 'zoomOAuth2Api', options);
}
} catch (error) {

View file

@ -98,7 +98,7 @@ export const meetingFields = [
name: 'alternative_hosts',
type: 'string',
default: '',
description: 'Alternative hosts email ids.',
description: 'Alternative hosts email IDs.',
},
{
displayName: 'Auto recording',
@ -242,11 +242,11 @@ export const meetingFields = [
value: 1,
},
{
name: 'Attendees need to register for every occurence',
name: 'Attendees need to register for every occurrence',
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,
},
],
@ -326,18 +326,18 @@ export const meetingFields = [
},
options: [
{
displayName: 'Occurence Id',
name: 'occurenceId',
displayName: 'Occurrence ID',
name: 'occurrenceId',
type: 'string',
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',
name: 'showPreviousOccurences',
displayName: 'Show Previous Occurrences',
name: 'showPreviousOccurrences',
type: 'boolean',
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',
@ -483,11 +483,11 @@ export const meetingFields = [
},
options: [
{
displayName: 'Occurence Id',
name: 'occurenceId',
displayName: 'Occurence ID',
name: 'occurrenceId',
type: 'string',
default: '',
description: 'Meeting occurence Id.',
description: 'Meeting occurrence ID.',
},
{
displayName: 'Schedule a reminder',
@ -503,7 +503,7 @@ export const meetingFields = [
/* meeting:update */
/* -------------------------------------------------------------------------- */
{
displayName: 'Meeting Id',
displayName: 'Meeting ID',
name: 'meetingId',
type: 'string',
default: '',
@ -630,11 +630,11 @@ export const meetingFields = [
description: 'Start video when host joins the meeting.',
},
{
displayName: 'Occurence Id',
name: 'occurenceId',
displayName: 'Occurrence Id',
name: 'occurrenceId',
type: 'string',
default: '',
description: 'Occurence ID.',
description: 'Occurrence ID.',
},
{
displayName: 'Meeting topic',
@ -696,15 +696,15 @@ export const meetingFields = [
type: '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,
},
{
name: 'Attendees need to register for every occurence',
name: 'Attendees need to register for every occurrence',
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,
},
],

View file

@ -155,11 +155,11 @@ export const meetingRegistrantFields = [
description: 'Last Name.',
},
{
displayName: 'Occurence Ids',
name: 'occurenceId',
displayName: 'Occurrence Ids',
name: 'occurrenceId',
type: 'string',
default: '',
description: 'Occurence IDs separated by comma.',
description: 'Occurrence IDs separated by comma.',
},
{
displayName: 'Organization',
@ -328,11 +328,11 @@ export const meetingRegistrantFields = [
},
options: [
{
displayName: 'Occurence Id',
name: 'occurence_id',
displayName: 'Occurrence Id',
name: 'occurrence_id',
type: 'string',
default: '',
description: `Occurence Id.`,
description: `Occurrence Id.`,
},
{
displayName: 'Status',
@ -429,11 +429,11 @@ export const meetingRegistrantFields = [
},
options: [
{
displayName: 'Occurence Id',
name: 'occurenceId',
displayName: 'Occurrence Id',
name: 'occurrenceId',
type: 'string',
default: '',
description: 'Occurence ID.',
description: 'Occurrence ID.',
},
],

View file

@ -209,11 +209,11 @@ export const webinarFields = [
value: 1,
},
{
name: 'Attendees need to register for every occurence',
name: 'Attendees need to register for every occurrence',
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,
},
],
@ -312,14 +312,14 @@ export const webinarFields = [
name: 'occurenceId',
type: 'string',
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',
name: 'showPreviousOccurences',
displayName: 'Show Previous Occurrences',
name: 'showPreviousOccurrences',
type: 'boolean',
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.',
},
/* -------------------------------------------------------------------------- */
/* webina:delete */
/* webinar:delete */
/* -------------------------------------------------------------------------- */
{
displayName: 'Webinar Id',
@ -424,11 +424,11 @@ export const webinarFields = [
},
options: [
{
displayName: 'Occurence Id',
name: 'occurenceId',
displayName: 'Occurrence Id',
name: 'occurrenceId',
type: 'string',
default: '',
description: 'Webinar occurence Id.',
description: 'Webinar occurrence Id.',
},
],
@ -566,11 +566,11 @@ export const webinarFields = [
description: 'Start video when host joins the webinar.',
},
{
displayName: 'Occurence Id',
name: 'occurence_id',
displayName: 'Occurrence Id',
name: 'occurrence_id',
type: 'string',
default: '',
description: `Webinar occurence Id.`,
description: `Webinar occurrence Id.`,
},
{
displayName: 'Password',
@ -599,27 +599,27 @@ export const webinarFields = [
type: '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,
},
{
name: 'Attendees need to register for every occurence',
name: 'Attendees need to register for every occurrence',
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,
},
],
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',
name: 'startTime',
type: 'dateTime',
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',

View file

@ -177,18 +177,17 @@ export class Zoom implements INodeType {
if (operation === 'get') {
//https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting
const meetingId = this.getNodeParameter('meetingId', i) as string;
const additionalFields = this.getNodeParameter(
'additionalFields',
i
) as IDataObject;
if (additionalFields.showPreviousOccurences) {
qs.show_previous_occurences = additionalFields.showPreviousOccurences as boolean;
if (additionalFields.showPreviousOccurrences) {
qs.show_previous_occurrences = additionalFields.showPreviousOccurrences as boolean;
}
if (additionalFields.occurenceId) {
qs.occurence_id = additionalFields.occurenceId as string;
if (additionalFields.occurrenceId) {
qs.occurrence_id = additionalFields.occurrenceId as string;
}
@ -226,8 +225,8 @@ export class Zoom implements INodeType {
}
if (additionalFields.occurenceId) {
qs.occurence_id = additionalFields.occurenceId;
if (additionalFields.occurrenceId) {
qs.occurrence_id = additionalFields.occurrenceId;
}
@ -363,8 +362,8 @@ export class Zoom implements INodeType {
i
) as IDataObject;
if (additionalFields.occurenceId) {
qs.occurence_id = additionalFields.occurenceId as string;
if (additionalFields.occurrenceId) {
qs.occurrence_id = additionalFields.occurrenceId as string;
}
if (additionalFields.cn_meeting) {
@ -488,8 +487,8 @@ export class Zoom implements INodeType {
'additionalFields',
i
) as IDataObject;
if (additionalFields.occurenceId) {
qs.occurence_ids = additionalFields.occurenceId as string;
if (additionalFields.occurrenceId) {
qs.occurrence_ids = additionalFields.occurrenceId as string;
}
if (additionalFields.lastName) {
body.last_name = additionalFields.lastName as string;
@ -542,8 +541,8 @@ export class Zoom implements INodeType {
'additionalFields',
i
) as IDataObject;
if (additionalFields.occurenceId) {
qs.occurence_id = additionalFields.occurenceId as string;
if (additionalFields.occurrenceId) {
qs.occurrence_id = additionalFields.occurrenceId as string;
}
if (additionalFields.status) {
qs.status = additionalFields.status as string;
@ -567,7 +566,7 @@ export class Zoom implements INodeType {
i
) as IDataObject;
if (additionalFields.occurenceId) {
qs.occurence_id = additionalFields.occurenceId as string;
qs.occurrence_id = additionalFields.occurrenceId as string;
}
responseData = await zoomApiRequest.call(
this,
@ -676,13 +675,13 @@ export class Zoom implements INodeType {
'additionalFields',
i
) as IDataObject;
if (additionalFields.showPreviousOccurences) {
qs.show_previous_occurences = additionalFields.showPreviousOccurences as boolean;
if (additionalFields.showPreviousOccurrences) {
qs.show_previous_occurrences = additionalFields.showPreviousOccurrences as boolean;
}
if (additionalFields.occurenceId) {
qs.occurence_id = additionalFields.occurenceId as string;
if (additionalFields.occurrenceId) {
qs.occurrence_id = additionalFields.occurrenceId as string;
}
@ -716,8 +715,8 @@ export class Zoom implements INodeType {
) as IDataObject;
if (additionalFields.occurenceId) {
qs.occurence_id = additionalFields.occurenceId;
if (additionalFields.occurrenceId) {
qs.occurrence_id = additionalFields.occurrenceId;
}
@ -737,8 +736,8 @@ export class Zoom implements INodeType {
'additionalFields',
i
) as IDataObject;
if (additionalFields.occurence_id) {
qs.occurence_id = additionalFields.occurence_id as string;
if (additionalFields.occurrence_id) {
qs.occurrence_id = additionalFields.occurrence_id as string;
}
const settings: Settings = {};