fix naming conventions

This commit is contained in:
shraddha shaligram 2020-06-24 10:47:35 -07:00
parent 5d98f5673f
commit e3cf858ebc
4 changed files with 64 additions and 64 deletions

View file

@ -69,7 +69,7 @@ export const meetingFields = [
description: 'User ID or email address of user.', description: 'User ID or email address of user.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -101,7 +101,7 @@ export const meetingFields = [
description: 'Alternative hosts email IDs.', description: 'Alternative hosts email IDs.',
}, },
{ {
displayName: 'Auto recording', displayName: 'Auto Recording',
name: 'auto_recording', name: 'auto_recording',
type: 'options', type: 'options',
options: [ options: [
@ -179,14 +179,14 @@ export const meetingFields = [
description: 'Allow participants to join the meeting before host starts it.', description: 'Allow participants to join the meeting before host starts it.',
}, },
{ {
displayName: 'Meeting topic', displayName: 'Meeting Topic',
name: 'topic', name: 'topic',
type: 'string', type: 'string',
default: '', default: '',
description: `Meeting topic.`, description: `Meeting topic.`,
}, },
{ {
displayName: 'Meeting type', displayName: 'Meeting Type',
name: 'type', name: 'type',
type: 'options', type: 'options',
options: [ options: [
@ -199,11 +199,11 @@ export const meetingFields = [
value: 2, value: 2,
}, },
{ {
name: 'Recurring meeting with no fixed time', name: 'Recurring Meeting with no fixed time',
value: 3, value: 3,
}, },
{ {
name: 'Recurring meeting with no fixed time', name: 'Recurring Meeting with fixed time',
value: 8, value: 8,
}, },
@ -219,7 +219,7 @@ export const meetingFields = [
description: 'Mute participants upon entry.', description: 'Mute participants upon entry.',
}, },
{ {
displayName: 'Participant video', displayName: 'Participant Video',
name: 'participant_video', name: 'participant_video',
type: 'boolean', type: 'boolean',
default: false, default: false,
@ -233,7 +233,7 @@ export const meetingFields = [
description: 'Password to join the meeting with maximum 10 characters.', description: 'Password to join the meeting with maximum 10 characters.',
}, },
{ {
displayName: 'Registration type', displayName: 'Registration Type',
name: 'registration_type', name: 'registration_type',
type: 'options', type: 'options',
options: [ options: [
@ -254,14 +254,14 @@ export const meetingFields = [
description: 'Registration type. Used for recurring meetings with fixed time only', description: 'Registration type. Used for recurring meetings with fixed time only',
}, },
{ {
displayName: 'Schedule for', displayName: 'Schedule For',
name: 'scheduleFor', name: 'scheduleFor',
type: 'string', type: 'string',
default: '', default: '',
description: 'Schedule meeting for someone else from your account, provide their email ID.', description: 'Schedule meeting for someone else from your account, provide their email ID.',
}, },
{ {
displayName: 'Start time', displayName: 'Start Time',
name: 'startTime', name: 'startTime',
type: 'dateTime', type: 'dateTime',
default: '', default: '',
@ -308,7 +308,7 @@ export const meetingFields = [
description: 'Meeting ID.', description: 'Meeting ID.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -404,7 +404,7 @@ export const meetingFields = [
description: 'How many results to return.', description: 'How many results to return.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -490,7 +490,7 @@ export const meetingFields = [
description: 'Meeting occurrence ID.', description: 'Meeting occurrence ID.',
}, },
{ {
displayName: 'Schedule a reminder', displayName: 'Schedule Reminder',
name: 'scheduleForReminder', name: 'scheduleForReminder',
type: 'boolean', type: 'boolean',
default: false, default: false,
@ -521,7 +521,7 @@ export const meetingFields = [
description: 'Meeting ID.', description: 'Meeting ID.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -573,16 +573,16 @@ export const meetingFields = [
description: 'Determine how participants can join audio portion of the meeting.', description: 'Determine how participants can join audio portion of the meeting.',
}, },
{ {
displayName: 'Auto recording', displayName: 'Auto Recording',
name: 'auto_recording', name: 'auto_recording',
type: 'options', type: 'options',
options: [ options: [
{ {
name: 'Record on local', name: 'Record on Local',
value: 'local', value: 'local',
}, },
{ {
name: 'Record on cloud', name: 'Record on Cloud',
value: 'cloud', value: 'cloud',
}, },
{ {
@ -602,7 +602,7 @@ export const meetingFields = [
description: 'Duration.', description: 'Duration.',
}, },
{ {
displayName: 'Join before Host', displayName: 'Join Before Host',
name: 'join_before_host', name: 'join_before_host',
type: 'boolean', type: 'boolean',
default: false, default: false,
@ -637,14 +637,14 @@ export const meetingFields = [
description: 'Occurrence ID.', description: 'Occurrence ID.',
}, },
{ {
displayName: 'Meeting topic', displayName: 'Meeting Topic',
name: 'topic', name: 'topic',
type: 'string', type: 'string',
default: '', default: '',
description: `Meeting topic.`, description: `Meeting topic.`,
}, },
{ {
displayName: 'Meeting type', displayName: 'Meeting Type',
name: 'type', name: 'type',
type: 'options', type: 'options',
options: [ options: [
@ -657,11 +657,11 @@ export const meetingFields = [
value: 2, value: 2,
}, },
{ {
name: 'Recurring meeting with no fixed time', name: 'Recurring Meeting with no fixed time',
value: 3, value: 3,
}, },
{ {
name: 'Recurring meeting with no fixed time', name: 'Recurring Meeting with fixed time',
value: 8, value: 8,
}, },
@ -670,7 +670,7 @@ export const meetingFields = [
description: 'Meeting type.', description: 'Meeting type.',
}, },
{ {
displayName: 'Muting before entry', displayName: 'Muting Before Entry',
name: 'mute_upon_entry', name: 'mute_upon_entry',
type: 'boolean', type: 'boolean',
default: false, default: false,
@ -691,7 +691,7 @@ export const meetingFields = [
description: 'Start video when participant joins the meeting.', description: 'Start video when participant joins the meeting.',
}, },
{ {
displayName: 'Registration type', displayName: 'Registration Type',
name: 'registration_type', name: 'registration_type',
type: 'options', type: 'options',
options: [ options: [
@ -712,14 +712,14 @@ export const meetingFields = [
description: 'Registration type. Used for recurring meetings with fixed time only', description: 'Registration type. Used for recurring meetings with fixed time only',
}, },
{ {
displayName: 'Schedule for', displayName: 'Schedule For',
name: 'scheduleFor', name: 'scheduleFor',
type: 'string', type: 'string',
default: '', default: '',
description: 'Schedule meeting for someone else from your account, provide their email ID.', description: 'Schedule meeting for someone else from your account, provide their email ID.',
}, },
{ {
displayName: 'Start time', displayName: 'Start Time',
name: 'startTime', name: 'startTime',
type: 'dateTime', type: 'dateTime',
default: '', default: '',

View file

@ -22,12 +22,12 @@ export const meetingRegistrantOperations = [
{ {
name: 'Update', name: 'Update',
value: 'update', value: 'update',
description: 'Update Meeting Registrant status', description: 'Update Meeting Registrant Status',
}, },
{ {
name: 'Get All', name: 'Get All',
value: 'getAll', value: 'getAll',
description: 'Retrieve all meeting registrants', description: 'Retrieve all Meeting Registrants',
}, },
], ],
@ -77,7 +77,7 @@ export const meetingRegistrantFields = [
description: 'Valid email-id of registrant.', description: 'Valid email-id of registrant.',
}, },
{ {
displayName: 'First name', displayName: 'First Name',
name: 'firstName', name: 'firstName',
required: true, required: true,
type: 'string', type: 'string',
@ -95,7 +95,7 @@ export const meetingRegistrantFields = [
description: 'First Name.', description: 'First Name.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -141,7 +141,7 @@ export const meetingRegistrantFields = [
description: 'Valid country of registrant.', description: 'Valid country of registrant.',
}, },
{ {
displayName: 'Job title', displayName: 'Job Title',
name: 'job_title', name: 'job_title',
type: 'string', type: 'string',
default: '', default: '',
@ -176,7 +176,7 @@ export const meetingRegistrantFields = [
description: 'Valid phone number of registrant.', description: 'Valid phone number of registrant.',
}, },
{ {
displayName: 'Purchasing time frame', displayName: 'Purchasing Time Frame',
name: 'purchasing_time_frame', name: 'purchasing_time_frame',
type: 'options', type: 'options',
options: [ options: [
@ -205,7 +205,7 @@ export const meetingRegistrantFields = [
description: 'Meeting type.', description: 'Meeting type.',
}, },
{ {
displayName: 'Role in purchase process', displayName: 'Role in Purchase Process',
name: 'role_in_purchase_process', name: 'role_in_purchase_process',
type: 'options', type: 'options',
options: [ options: [
@ -238,7 +238,7 @@ export const meetingRegistrantFields = [
description: 'Valid state of registrant.', description: 'Valid state of registrant.',
}, },
{ {
displayName: 'Zip code', displayName: 'Zip Code',
name: 'zip', name: 'zip',
type: 'string', type: 'string',
default: '', default: '',
@ -310,7 +310,7 @@ export const meetingRegistrantFields = [
description: 'How many results to return.', description: 'How many results to return.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -412,7 +412,7 @@ export const meetingRegistrantFields = [
description: `Registrant Status.`, description: `Registrant Status.`,
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',

View file

@ -69,7 +69,7 @@ export const webinarFields = [
description: 'User ID or email address of user.', description: 'User ID or email address of user.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -101,20 +101,20 @@ export const webinarFields = [
description: 'Alternative hosts email IDs.', description: 'Alternative hosts email IDs.',
}, },
{ {
displayName: 'Approval type', displayName: 'Approval Type',
name: 'approval_type', name: 'approval_type',
type: 'options', type: 'options',
options: [ options: [
{ {
name: 'Automatically approve', name: 'Automatically Approve',
value: 0, value: 0,
}, },
{ {
name: 'Manually approve', name: 'Manually Approve',
value: 1, value: 1,
}, },
{ {
name: 'No registration required', name: 'No Registration Required',
value: 2, value: 2,
}, },
], ],
@ -144,16 +144,16 @@ export const webinarFields = [
description: 'Determine how participants can join audio portion of the webinar.', description: 'Determine how participants can join audio portion of the webinar.',
}, },
{ {
displayName: 'Auto recording', displayName: 'Auto Recording',
name: 'auto_recording', name: 'auto_recording',
type: 'options', type: 'options',
options: [ options: [
{ {
name: 'Record on local', name: 'Record on Local',
value: 'local', value: 'local',
}, },
{ {
name: 'Record on cloud', name: 'Record on Cloud',
value: 'cloud', value: 'cloud',
}, },
{ {
@ -200,7 +200,7 @@ export const webinarFields = [
description: 'Enable Practice session.', description: 'Enable Practice session.',
}, },
{ {
displayName: 'Registration type', displayName: 'Registration Type',
name: 'registration_type', name: 'registration_type',
type: 'options', type: 'options',
options: [ options: [
@ -221,7 +221,7 @@ export const webinarFields = [
description: 'Registration type. Used for recurring webinar with fixed time only', description: 'Registration type. Used for recurring webinar with fixed time only',
}, },
{ {
displayName: 'Start time', displayName: 'Start Time',
name: 'startTime', name: 'startTime',
type: 'dateTime', type: 'dateTime',
default: '', default: '',
@ -238,14 +238,14 @@ export const webinarFields = [
description: `Time zone used in the response. The default is the time zone of the calendar.`, description: `Time zone used in the response. The default is the time zone of the calendar.`,
}, },
{ {
displayName: 'Webinar topic', displayName: 'Webinar Topic',
name: 'topic', name: 'topic',
type: 'string', type: 'string',
default: '', default: '',
description: `Webinar topic.`, description: `Webinar topic.`,
}, },
{ {
displayName: 'Webinar type', displayName: 'Webinar Type',
name: 'type', name: 'type',
type: 'options', type: 'options',
options: [ options: [
@ -258,7 +258,7 @@ export const webinarFields = [
value: 6, value: 6,
}, },
{ {
name: 'Recurring webinar with fixed time', name: 'Recurring webinar with fixed time',
value: 9, value: 9,
}, },
], ],
@ -290,7 +290,7 @@ export const webinarFields = [
description: 'Webinar ID.', description: 'Webinar ID.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -456,7 +456,7 @@ export const webinarFields = [
description: 'User ID or email address of user.', description: 'User ID or email address of user.',
}, },
{ {
displayName: 'Additional fields', displayName: 'Additional Fields',
name: 'additionalFields', name: 'additionalFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',
@ -488,20 +488,20 @@ export const webinarFields = [
description: 'Alternative hosts email IDs.', description: 'Alternative hosts email IDs.',
}, },
{ {
displayName: 'Approval type', displayName: 'Approval Type',
name: 'approval_type', name: 'approval_type',
type: 'options', type: 'options',
options: [ options: [
{ {
name: 'Automatically approve', name: 'Automatically Approve',
value: 0, value: 0,
}, },
{ {
name: 'Manually approve', name: 'Manually Approve',
value: 1, value: 1,
}, },
{ {
name: 'No registration required', name: 'No Registration Required',
value: 2, value: 2,
}, },
], ],
@ -509,16 +509,16 @@ export const webinarFields = [
description: 'Approval type.', description: 'Approval type.',
}, },
{ {
displayName: 'Auto recording', displayName: 'Auto Recording',
name: 'auto_recording', name: 'auto_recording',
type: 'options', type: 'options',
options: [ options: [
{ {
name: 'Record on local', name: 'Record on Local',
value: 'local', value: 'local',
}, },
{ {
name: 'Record on cloud', name: 'Record on Cloud',
value: 'cloud', value: 'cloud',
}, },
{ {
@ -594,7 +594,7 @@ export const webinarFields = [
description: 'Enable Practice session.', description: 'Enable Practice session.',
}, },
{ {
displayName: 'Registration type', displayName: 'Registration Type',
name: 'registration_type', name: 'registration_type',
type: 'options', type: 'options',
options: [ options: [
@ -615,7 +615,7 @@ export const webinarFields = [
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: '',
@ -632,14 +632,14 @@ export const webinarFields = [
description: `Time zone used in the response. The default is the time zone of the calendar.`, description: `Time zone used in the response. The default is the time zone of the calendar.`,
}, },
{ {
displayName: 'Webinar topic', displayName: 'Webinar Topic',
name: 'topic', name: 'topic',
type: 'string', type: 'string',
default: '', default: '',
description: `Webinar topic.`, description: `Webinar topic.`,
}, },
{ {
displayName: 'Webinar type', displayName: 'Webinar Type',
name: 'type', name: 'type',
type: 'options', type: 'options',
options: [ options: [
@ -652,7 +652,7 @@ export const webinarFields = [
value: 6, value: 6,
}, },
{ {
name: 'Recurring webinar with fixed time', name: 'Recurring webinar with fixed time',
value: 9, value: 9,
}, },
], ],

View file

@ -483,7 +483,7 @@ export class Zoom implements INodeType {
} }
} }
if (resource === 'meetingRegistrant') { if (resource === 'meetingRegistrants') {
if (operation === 'create') { if (operation === 'create') {
//https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate //https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate
const meetingId = this.getNodeParameter('meetingId', i) as string; const meetingId = this.getNodeParameter('meetingId', i) as string;